Monday, January 31, 2011

Saturday, January 29, 2011

readonly all usb drives

   1. Launch    regedit

   2. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control

   3. You should see a key called StorageDevicePolicies. If it doesn't exist, create a new key with that name.

   4. In the StorageDevicePolicy key, create a REG_DWORD value called  WriteProtect.

   5. Set the data value of WriteProtect to 1.

   6. This value will make USB storage read only. To enable read/write over USB, set the value to 0.

   7. Exit the editor.

Thursday, January 27, 2011

hide unread email notification on welcome screen

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\UnreadMail]
"MessageExpiryDays"=dword:00000000

menushowdelay

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"MenuShowDelay"="150"


gives you a fast computer impression :)

hide user name on welcome screen

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList]
"michael"=dword:00000000

to disable default windows share

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters]
"AutoShareWks"=dword:00000000
"AutoShareServer"=dword:00000000

Tuesday, January 25, 2011

regedit for CD burning cache folder location, and others

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]
"AppData"="C:\\Documents and Settings\\username\\Application Data"
"Cookies"="C:\\Documents and Settings\\username\\Cookies"
"Desktop"="C:\\Documents and Settings\\username\\Desktop"
"Favorites"="C:\\Documents and Settings\\username\\Favorites"
"NetHood"="C:\\Documents and Settings\\username\\NetHood"
"Personal"="C:\\Documents and Settings\\username\\My Documents"
"PrintHood"="C:\\Documents and Settings\\username\\PrintHood"
"Recent"="C:\\Documents and Settings\\username\\Recent"
"SendTo"="C:\\Documents and Settings\\username\\SendTo"
"Start Menu"="C:\\Documents and Settings\\username\\Start Menu"
"Templates"="C:\\Documents and Settings\\username\\Templates"
"Programs"="C:\\Documents and Settings\\username\\Start Menu\\Programs"
"Startup"="C:\\Documents and Settings\\username\\Start Menu\\Programs\\Startup"
"Local Settings"="C:\\Documents and Settings\\username\\Local Settings"
"Local AppData"="C:\\Documents and Settings\\username\\Local Settings\\Application Data"
"Cache"="C:\\Documents and Settings\\username\\Local Settings\\Temporary Internet Files"
"History"="C:\\Documents and Settings\\username\\Local Settings\\History"
"My Pictures"="C:\\Documents and Settings\\username\\My Documents\\My Pictures"
"Fonts"="C:\\WINDOWS\\Fonts"
"My Music"="C:\\Documents and Settings\\username\\My Documents\\My Music"
"CD Burning"="J:\\CD burning cache"
"My Video"="C:\\Documents and Settings\\username\\My Documents\\My Videos"
"Administrative Tools"=""

Sunday, January 23, 2011

gpedit.msc to turn off autoplay

run gpedit.msc

computer configuration-administrative templates-system: turn off autoplay -> Enabled


computer configuration-windows settings-security settings-Local policies-User rights assignment:Deny access to this computer from the network: add administrators

taskmgr

runas /user:administrator /savecred "ntsd -c qd taskmgr"

may change a running program's priority runned by other user
runas is only available for pro version of windows...