Shutting down a Windows PC is really simple. In fact, Windows provides a boatload of ways to do this, like the keyboard shortcut, options in the Start menu and lock screen, via the power user menu, etc. As easy and useful as it is, you may sometimes need to prevent other user accounts on your PC from shutting down your Windows PC. It could be that there are other user accounts running, and you don’t want the existing user to shut down the PC or that your PC is running in kiosk mode and no user should be allowed to shut down the PC. No matter what the reason is, here is how you can prevent other users from shutting down your PC.
Using Group Policy Editor
The easiest way to prevent users from shutting down your Windows system is to use the Group Policy Editor. To start, press “Win + R,” type
gpedit.msc and press the Enter button.
The above action will open the Group Policy Editor. Here, navigate to the following policy: “User Configuration -> Administrative Templates -> Start Menu and Taskbar.”
Once there, find and double-click on the “Remove and prevent access to the Shut down, Restart, Sleep, and Hibernate commands” policy appearing on the right panel.
This action will open the policy settings window. Here, select the “Enabled” radio button and click on the “OK” button to save the changes.
From this point onward, whenever a user tries to shut down the PC, the Windows system will display an error message something like the one below.
If you ever want to go back, simply select the “Disabled” radio button.
Using Windows Registry Editor
If you are using the Home version of Windows, then you will not have access to the Group Policy Editor. In that case you can use the Windows Registry Editor to achieve the same. To start, press “Win + R,” type
regedit and press the Enter button.
This action will open the Registry Editor. Here, navigate to the following key:
Right-click on the right panel and then select the “New” option and then “DWORD (32-bit) Value.”
The above action will create a new DWORD value. Name it “NoClose” and press the Enter button.
Now, double-click on the newly created DWORD value to open the Edit Value window. Here, change the value data from “0” to “1” and click on the “OK” button to save the changes.
Once you are done with everything, this is how it will look.
Just restart your system. Windows will now restrict users from shutting down the system.
Of course, after all is said and done, this tip doesn’t prevent users from forcefully shutting down your system using the physical power button on your PC.
Do comment below sharing your thoughts and experiences about using the above methods to prevent users from shutting down your Windows PC.