Wednesday, March 15, 2006

Removing Recycle Bin


To remove Recycle Bin from the desktop:
1. Run REGEDIT.
2. Find NAMESPACE key in left pane (HKEY_Local_Macine \ Software \ Microsoft \ Windows \ Current Version \ Explorer \ Desktop \ Namespace)
3. Expand NAMESPACE (click '+' box)
4. Delete the value RECYCLE BIN in right pane

Creating Shutdown, Restart and Logoff Icons


To create the icons, create a shortcut on the desktop.
For Shutdown, the command is C:\WINDOWS\RUNDLL.EXE user.exe,exitwindows
For Restart, the command is C:\WINDOWS\RUNDLL.EXE user.exe,exitwindowsexec
For Logoff, the command is C:\WINDOWS\RUNDLL.EXE shell32.dll,SHExitWindowsEx 0