Posts

Showing posts from 2012

Context menu for jpg images to set them as Windows 7 logon screen background

Make sure the below file exits. "C:\Windows\System32\oobe\info\backgrounds\backgroundDefault.jpg" or create one with any image file (file size should be below 256 kb). Give full access rights to your user. save the below text as some .reg file and double click on it. Accept the confirmation. Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\jpegfile\shell\Set as logon background] [HKEY_CLASSES_ROOT\jpegfile\shell\Set as logon background\command] @="cmd /C copy /Y \"%1\" \"C:\\Windows\\System32\\oobe\\info\\backgrounds\\backgroundDefault.jpg\"" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI\Background] "OEMBackground"=dword:00000001 You are done. Make sure that default application for jpg file is "Windows Photo Viewer" and the files you choose should be below 256 kb size. The image will stretch in the logon screen to its dimensions.

Access office computer from anywhere without a VPN connection

Image
You can run any one-line command in your office PC from anywhere just by sending the command through mail. You can get to know the ipconfig with this. Requirements: Office computer should be running some windows version MS Outlook should be the mail client. Steps: Open Outlook and press Alt+F11. This will open VB script editor. Alternatively you can open this through menu Tools > Macro > Visual Basic Editor. Copy paste the below code in the window appears. ' Author : Stalin Gino S Sub RunCommand(Item As Outlook.mailItem)     'Open mail, adress, attach report     Dim strMsg     Const olMailItem = 0          Dim comm As String     Dim sFileName As String     Dim iFileNum As Integer     Dim sBuf As String     sFileName = "D:\RunCommandOut.txt"          Set objShell = CreateObject("WScript.Shell")     comm = Split(Item.Subject, ":")(1)     i = objShell.Run("cmd /c " & comm &