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

Thursday, May 3, 2012

SpeedGuide for WINXP

Windows Registry Editor Version 5.00
; TCP/IP Tweaks
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpWindowSize"=dword:0003ebc0
"GlobalMaxTcpWindowSize"=dword:0003ebc0
"TCP1323"=dword:00000001

; AFD Tweaks
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\AFD\Parameters]
"DefaultReceiveWindow"=dword:00002000
"DefaultSendWindow"=dword:00001000
"FastCopyReceiveThreshold"=dword:000005dc
"FastSendDatagramThreshold"=dword:000005dc

; DNS Tweaks
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache\Parameters]
"NetFailureCacheTime"=dword:00000000
"NegativeSOACacheTime"=dword:00000000
"MaxNegativeCacheTtl"=dword:00000000

; IE & Firefox Tweaks
[HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MaxConnectionsPerServer"=dword:00000008
"MaxConnectionsPer1_0Server"=dword:00000008

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"MaxConnectionsPerServer"=dword:00000008
"MaxConnectionsPer1_0Server"=dword:00000008

; Virtual Memory Management
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]

"DisablePagingExecutive"=dword:00000001
"LargeSystemCache"=dword:00000001

; File System
 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem]
"NtfsDisableLastAccessUpdate"=dword:00000001