How to Remove Shutdown and Restart Buttons in Windows 10/8/7

Windows 10 lets you take control of preventing a user not to shut down the machine by editing the group policy. For example, if your friend is using your computer and you went somewhere (and you have still some unsaved document left) and he shutdowns the pc without saving them. You will end up losing a considerable amount of data. (Trust me I have lost one whole blog post and project code at the same time ). Here is how you can remove Shutdown and Restart Buttons in Windows 10/8/7

How to Remove Shutdown and Restart Buttons in Windows 10/8/7

  • Type gpedit.msc in Run prompt [ Win+ R ]
  • It will open the Group Policy Editor. Now there are two things in it, Computer Configuration and User Configuration
  • Click on User Configuration > Administrative Templates > Start Menu and Task Bar
  • Now look for a policy with name Remove and prevent access to the Shut Down, Restart, Sleep, and Hibernate commands.
  • To enable this policy, double click to open it and choose to Enable it.
  • Exit the group policy editor.

How to Remove Shutdown and Restart Buttons in Windows 10/8/7

This particular setting removes the Shutdown and Restart option from the Start menu. It will also disable the Shut Down button on the Windows Security dialog box, which appears when you press CTRL+ALT+DEL. This setting prevents users from using the Windows user interface to shut down the system.

Shutdown Removed from Task Manager

Now if you try to shutdown by clicking on Start, the shutdown button will not be available anymore. If someone tries to shutdown using Task manager, if you open it, the option will not be available with it anymore. The only option in the Task Manager will be to switch users.

It is also useful if there is a Windows update pending, and a restart will initiate it. So nobody can accidentally or by trick make your computer busy for a long time.

How to remove Shutdown or Restart Button for specific users or non-administrators?

Since the above setting will remove shutdown option for everyone, including administrators, its best to choose specific users or groups.

  • Open Group Policy Editor (gpedit.msc)
  • Navigate to Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment > Shut Down the System.
  • Double click on it > Select Users or Groups you want to block > Press Remove
  • Click on Apply/OK button, and thats it.

When selecting, you can either chose USERS or Specific users. You can create a group of non-admin users, and use that group in the above policy.

I hope these tips to remove shutdown or restart button was easy to understand, and you were able to successfully get it done.


  1. Great article, and easy to follow.

    But may I ask if there’s a way to make it apply only for selected users/non-admin? I followed the steps (as an admin) and it seems to work, but I would like it to not apply for admin.

    Thank you.

Leave a Reply