As a rule of thumb, every PC owner should turn off his or her computer for energy saving purposes. But there are times that you need to make sure they stay awake for the whole day like in a classroom, a kiosk, or if it’s set up as a server, preventing other people from shutting it down, logging it out, or restarting it can be a challenge. If you need to make sure the computer stays awake for important processes like data transfer and downloads, you may need to perform these steps.
Block Users Using Shutdownblocker
Shutdownblocker is a great tool that blocks the shutdown of a PC, the logging out of a user, and the restarting of a PC. You need to run the program as an administrator in order for it to take proper effect. The tool is optimized for Windows 10, although it will typically works just fine with other Windows versions.
STEP 1: Download the Shutdownblocker application.
NOTE: As of the moment, the latest version of the tool is 1.2.2.
STEP 2: Go to your downloads folder, right-click on it, and then unpack/extract the folder.
The tool’s user interface has only two options in regards to shutdowns — Block and Allow. The only concern is, if a standard user account has the ability to uninstall a program even without the administrator’s approval, there is a chance that he/she can just uninstall Shutdownblocker and bypass the block.
Block Users by Adding a New Group Policy
STEP 1: On the search bar, type “mmc” then press [Enter] to launch the Microsoft Management Console.
STEP 2: Click the File menu, then select Add/Remove Snap-in.
STEP 3: Look for Group Policy Object under the Available snap-ins list, then double-click it.
STEP 4: Make sure “local computer” is typed into the box-on screen, then click Browse.
STEP 5: Select the grouping of users in which you want to apply the changes; in most cases this will be “non-administrators.”
STEP 6: Now, under Console Root, select Computer Configuration.
STEP 7: Select the file labeled Administrative Templates.
STEP 8: Open the folder labeled Start Menu and Taskbar.
STEP 9: In the rightmost menu, look for an option for Remove and prevent access to the shutdown, restart, sleep, and hibernate commands, then double-click it.
STEP 10: Click on Enable, then Apply, and then OK.
Cancelling a User-Initiated Shutdown
If you or a user initiated a shutdown, there is a quick way to reverse the process. Here’s how:
STEP 1: Press the Windows key + [R], then type “cmd” and then press [Enter] to launch the Command Prompt.
STEP 2: On the Command Prompt, type “shutdown /a” within the system’s timeout period, then press [Enter] to cancel the shutdown command.