Disable or Prevent Shutdown Option using Group Policy

Prajwal Desai
Posted by Prajwal Desai

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.

Disable or Prevent Shutdown Option using Group Policy Snap1

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

Disable or Prevent Shutdown Option using Group Policy Snap5

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.

Disable or Prevent Shutdown Option using Group Policy Snap3

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.

Disable or Prevent Shutdown Option using Group Policy Snap4

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.

Disable or Prevent Shutdown Option using Group Policy Snap5

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.

Disable or Prevent Shutdown Option using Group Policy Snap6

Share This Article
Prajwal Desai
Posted by Prajwal Desai
Follow:
Prajwal Desai is a Microsoft MVP in Intune and SCCM. He writes articles on SCCM, Intune, Windows 365, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.
11 Comments