Computer >> Computer tutorials >  >> System >> windows

Prevent users from shutting down or restarting Windows computer

There may be times that you would like to prevent other standard users from shutting down or restarting the Windows 11/10/8/7 computer. This article will tell you how you can do so by creating a separate Group Policy object for non-administrators. When you enable this setting, the shutdown, restart, sleep, and hibernate buttons will be removed.

Prevent users from shutting down or restarting Windows computer

Prevent access to shutdown, restart, sleep, hibernate commands

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.

Prevent users from shutting down or restarting Windows computer

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

Prevent users from shutting down or restarting Windows computer

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

Prevent users from shutting down or restarting Windows computer

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

Prevent users from shutting down or restarting Windows 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.

Prevent users from shutting down or restarting Windows 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.

Prevent users from shutting down or restarting Windows 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.

Prevent specific users from shutting down Windows

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:

Prevent users from shutting down or restarting Windows computer

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

Prevent users from shutting down or restarting Windows computer

Double click on it > Select Users > Press Remove > 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 shut down or restart the computer.

See how you can remove the Power or Shutdown button from Login Screen, Start Menu, WinX menu in Windows 11/10.

Prevent users from shutting down or restarting Windows computer