Monday, January 12, 2009

Remove the New option from the explorer context menu

To remove the New option: In the registry editor navigate to: [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shellex\ContextMenuHandlers\New]

In the right column you'll find a REG_SZ value named (Default) whose data equals: {D969A300-E7FF-11d0-A93B-00A0C90F2719} Delete this (Default) value. That's it.

Now right click on the desktop and check if the menu has an entry named 'New'.

To restore the New option import the following in the registry: Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Directory\Background\shellex\ContextMenuHandlers\New] @="{D969A300-E7FF-11d0-A93B-00A0C90F2719}"

Remove access to Folder Options...

To remove access to the Folder Options in explorer import the following into the registry:

Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy Objects\{BE399983-1586-4348-BDDA-08DCCADB3A6B}User\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoFolderOptions"=dword:00000001

Log Off to apply the settings. To restore the folder options Change the dword value to 00000000

Disable the Command Prompt

To disable access to the command prompt import the following into the windows registry:

Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System] "DisableCMD"=dword:00000001

Now if the user tries to open the command prompt he will get a notification stating: "The command prompt has been disabled by your administrator".

To re-enable access to the command prompt use the following: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System] "DisableCMD"=dword:00000000