Computers which are used by several people should have different user accounts or user group for privacy of work. It is also recommended that the admin should not allow the full access to all the other users. If you are the administrator of such computer with Windows operating system and want to prevent some specific user or group to shut down the computer, can follow this tutorial and block your users from shutting down your PC.
Recommended reading: Let your Windows PC to Be Shut Down Automatically at Night (If Idle).
The concern may be done through editing the Local Security Policy.
1. To open the Local Security Policy type secpol.msc at Windows 7 start menu search box. If you are in Windows XP then press Win + R and type “secpol.msc” and hit Enter.
2. At the left pane of the Local Security Policy editor, expand Local Policies and then select User Rights Assignments. All the policies will be listed at the right pane.
3. In that list, find out Shut down the system and double click on it. It will open the Shut down the system Properties window.
Preventing the user to shut down the computer
4. Head to Local Security Setting tab and select the user from the list whom you prevent to shut down the computer then select Remove.
5. Click on Apply and then OK.
Now the specified use won’t be able to shut down your computer.