Thursday, January 22, 2009

Prevent changing file associations using the Folder Options

To prevent users from changing file associations using the File Types tab in Folder Options, merge the following in the registry:

Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoFileAssociate"=dword:00000001

Delete the key to allow changing the associations.

Remove options to Shutdown using the Start menu and the task manager

Merge the following into the registry to remove access to shutdown using the Start menu and the task manager.

Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer] "NoClose"=dword:00000001

You can shutdown using the command prompt or by first logging off. to get it back change the value of NoClose to 0 or delete the key.

Make Explore/Open the first option when you right-click a folder

To make Explore the first option in the right-click, merge the following to the registry:

Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Folder\shell] @="explore"

To make Open the first option in the right-click, merge the following to the registry:

Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Folder\shell] @="open"