Prevent users from shutting down or restarting Windows 7 computer

Speed Up My PC

There may be times that you would like to prevent other standard users from shutting down or restarting the Windows computer. This article will tell you how you can do so by creating a separate Group Policy object for non-administrators.

To do so, type mmc in start search and hit Enter to open the Microsoft Management Console. In the File tab, click on Add/Remove Snap-in.

mmc1 400x237 Prevent users from shutting down or restarting Windows 7 computer

In the left side, under the available Snap-in’s, select Group Policy Object and double-click on it.

mmc2 400x295 Prevent users from shutting down or restarting Windows 7 computer

This will open the Group Policy Wizard. Under the Local Computer Group Policy Object, click Browse.

mmc3 400x311 Prevent users from shutting down or restarting Windows 7 computer

Under the Users tab, select Non Administrators and click OK.

mmc4 400x272 Prevent users from shutting down or restarting Windows 7 computer

Next under the newly created Local Computer \ Non-Administrators policy object in the left pane, navigate to User Configuration > Administrative Templates > Start Menu and Taskbar.

mmc5 400x197 Prevent users from shutting down or restarting Windows 7 computer

In the right pane select Remove and prevent access to the shutdown, restart, sleep, and hibernate commands and double-click on it. Select Enable > Apply/OK.

This policy setting prevents users from performing the following commands from the Start menu or Windows Security screen: Shut Down, Restart, Sleep, and Hibernate. This policy setting does not prevent users from running Windows-based programs that perform these functions.

shutdown prevented 400x96 Prevent users from shutting down or restarting Windows 7 computer

If you enable this policy setting, the Power button and the Shut Down, Restart, Sleep, and Hibernate commands are removed from the Start menu. The Power button is also removed from the Windows Security screen, which appears when you press CTRL+ALT+DELETE.

You can also prevent specific users from being able to shut down the computer.

To do so, open gpedit.msc and navigate to the following:

gpedit password protect 400x229 Prevent users from shutting down or restarting Windows 7 computer

Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment > Shut Down the System.

pw protect gpedit Prevent users from shutting down or restarting Windows 7 computer

Double click on it > Select Users > Apply/OK.

This security setting determines which users who are logged on locally to the computer can or cannot shut down the operating system using the Shut Down command.

To disallow only specific users, you will have to add the  standard user account name you want to be unable to shutdown or restart the computer.

Posted by on , in Category Windows with Tags
Anand aka HappyAndyK is an end-user Windows enthusiast, a Microsoft MVP in Windows Desktop Experience since 2007, and the Admin of TheWindowsClub.com, TheGeeksClub.com & WinVistaClub.com. Creating a System Restore Point before trying out a new software or a tweak is always recommended.
  • Anonymous

    nice post ….

  • http://twitter.com/Bobby_Phoenix Bobby Phoenix

    One big step you need to take is make sure the tower is out of users reach also. We (company) had to have this option on some PCs. Well one IT person didn’t “hide” the tower, and the user not being able to find the “restart” simply pulled the power cord, and plugged it back in to “restart” it. Ugh.

  • [email protected]

    Mate I accidentally removed users from the list and now the shut down button has been removed from all accounts
    How do I undo that?

  • matrix

    i don’t have a “Group Policy Object”