Thursday, 3 April 2014

Registry Key to Disable shutdown

Here is the registry key which prevents a machine from shutdown by disabling the option. In-order to make it work, follow the below steps,

1. Open regedit.
2. Navigate to the path:  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
3. Create a DWORD "NoClose" and modify the data to "1" to disable shutdown option.

The above registry path is for all the users and if it is to be implemented only for a particular user, use the location, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer and do the same.

No comments: