Powered by Blogger.

How to Prevent Shutdown of a Windows XP Computer


If you’re looking for a way to prevent people from shutting down or logging off your Windows XP machine, you’ve come to the right place. Whatever your reason may be, it’s pretty easy to remove all options for shutting down or logging off a Windows XP computer.

In Windows XP, there are several ways to shutdown a computer: click on Start and Turn Off Computer, press CTRL + ALT + DEL and choose Shut Down, open the command prompt and type in the shutdown command, or install a third party application that shuts down the computer for you.

In this article, I’ll cover each method and see how we can block the shutdown.

Remove Shutdown Options

First, you can remove the Turn Off Computer button from the Start Menu and from the CTRL + ALT + DEL screen by using the Group Policy Editor. Note that this is editor is not available in Windows XP Home or Starter editions.

Click on Start and then Run and type in gpedit.msc and press Enter.



In the left pane, expand User Configuration and then expand Administrative Templates. Finally, click on Start Menu and Taskbar.



Now on the right pane, double-click on Remove and prevent access to the Shut Down command and set it to Enabled. You’ll notice in the description that this will remove the shutdown option from the Start Menu and Task Manager.



However, a user could still simply log off of Windows XP and then click the Turn off computer button from there, which remains even after enabling the setting above.



To prevent this, you need to find the Remove Logoff on start menu setting in the same section and change it to Enabled also. Now the user won’t be able to log off and won’t be able to reach that screen. However, if the computer restarts for any particular reason, the login screen will appear and the computer can be shut down. To prevent this scenario, you can also configure Group Policy to only allow shutdown of the computer when someone is logged on.

Computer Configuration – Windows Settings – Security Settings – Local Policies – Security Options and scroll down to Shutdown: Allow the system to be shutdown without having to log on and set it to Disabled.



Finally, you need to prevent people from going to the command prompt and simply typing in shutdown! To do this, go to the following policy:

User Configuration – Administrative Templates – System and double-click on the Prevent access to the command prompt policy and set it to Enabled.




Note that everything in the User Configuration section will apply to all users, even the Administrator account, so be careful and make sure you leave an option for restoring access if needed. What I normally do is leave the option for the Run command in the Start Menu so that I can get access to Group Policy later on. If you remove that option also, then you’ve basically locked yourself out.

There is a way to apply local group policies to all users except the Administrator account, but it requires quite a few steps. Microsoft has written up a knowledgebase article on exactly how to do it.

Lastly, to prevent users from installing third-party programs to shutdown the computer, you can create a standard (non-administrative) user account in Windows XP. The standard account does not have permission to install software most of the time. If you really want to prevent any kind of software installation, go to the following policy:

Computer Configuration – Administrative Templates – Windows Components – Windows Installer and click on Disable Windows Installer.



Set it to Enabled and choose Always from the drop down box. Note that standard user accounts also cannot access the Group Policy editor, so that’s another good reason to use a non-administrative account.

Having the user logged in as a standard user will also ensure that someone cannot use the remote shutdown command in Windows to shutdown the computer. That is about all the different ways a Windows XP computer can be shut down, so hopefully this covers everything. If you have any questions, post a comment. Enjoy!

Content & Images Credits to: Aseem Kishore (online-tech-tips.com)

No comments