Friday, June 29, 2012

Using RUNAS Command

runas /user:bipin@syntel.com "C:\Windows\system32\notepad.exe"

- Type in the password of the user account.
- The program will now be running as that user.

Wednesday, June 27, 2012

Disable Autoplay CDROM

Using Regedit
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Cdrom]
"AutoRun"=dword:00000000

Using Group Policy Editor (gpedit.msc)
- select Administrative Templates \ System
- “Turn off Autoplay” to Enabled