Microsoft

Prevent a shutdown of a Windows XP system

Even if your Windows XP system is scheduled to update every night, you can't do it if the computer's not on. Greg Shultz explains how you can prevent users from shutting down their systems, intentionally or on purpose.

By default, at three o'clock every morning Windows XP's Automatic Updates tool contacts the Windows Update site and automatically downloads and installs updates for your system. However, that cannot happen if other people who use the computer shut it down at the end of the day. Fortunately, you can prevent anyone from shutting down Windows XP with a little registry tweak. Here's how:

  1. Launch the Registry Editor (Regedit.exe).
  2. Go to HKEY_CURRENT_USER\ SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer.
  3. Right-click the Explorer subkey and select New | DWORD Value.
  4. Name the key NoClose and press [Enter] twice.
  5. Type 1 in the Value Data text box and click OK.

To enable the setting, close the Registry Editor and restart your system. Once your system restarts, you will not be able to it shut down by clicking the Shutdown button on the Start menu. This will prevent most users from inadvertently shutting down the computer.

When you do want to shut down your system, just access Task Manager by pressing [Ctrl][Alt][Del], then pull down the Shut Down menu and select the Turn Off command.

Note: Since editing the registry is risky, be sure you have a verified backup before saving any changes. This tip applies to both Windows XP Home and Windows XP Professional.

Miss a Windows XP tip?

Check out the Windows XP archive, and get more hands-on Windows XP tips.

Stay on top of the latest XP tips and tricks with our free Windows XP newsletter, delivered each Thursday. Automatically sign up today!

About Greg Shultz

Greg Shultz is a freelance Technical Writer. Previously, he has worked as Documentation Specialist in the software industry, a Technical Support Specialist in educational industry, and a Technical Journalist in the computer publishing industry.

Editor's Picks

Free Newsletters, In your Inbox