Disable or Prevent Shutdown Option using Group Policy

Disable or Prevent Shutdown Option using Group Policy Few years ago when i was working as system admin, I was asked to apply a group policy to prevent the users from shutting down their computer. The company wanted to prevents users from performing the following commands from the Start menu or Windows Security screen such as Shut Down, Restart, Sleep, and Hibernate. So the only option that a user could do after the work is complete is to log off the computer. Luckily this policy setting is available in Windows Server and we will see the steps to implement that in this post. Note that this policy setting does not prevent users from running Windows-based programs that perform these functions.

Disable or Prevent Shutdown Option using Group Policy

Launch the Group Policy Management console, right click on Group Policy Objects and click New. Provide a name to the GPO and click OK.

Right the GPO that you created in the above step and click Edit. In the GPMC editor navigate to User Configuration > Administrative Templates > Start Menuand Taskbar > Remove and Prevent Access to the shutdown command.

Right click the policy setting and click on Edit. When you enable this policy setting, the Power button and the Shut Down, Restart, Sleep, and Hibernate commands are removed from the Start menu. Click on Enabled to enable this policy setting and click OK. Close the GPMC editor.

We have got a OU called Test which includes few users. We will be applying the GPO to this OU. Right click the Test OU and click Link an existing GPO. In the Select GPO box, select the GPO that you created in the above steps. Click OK and close the GPMC.

On one of the client machines, login with the user account that is a part of Test OU (or the OU at which the policy was applied). When you login and click on Start you see that options such as Shut Down, Restart, Sleep, and Hibernate are not available for the user. The user can only Log off / Switch / Lock the computer.

The policy also works fine on Windows 10 client computers. If you press Alt+F4, you will see a message that this operation has been cancelled due to restrictions in effect on this computer.