Wouldn't it be nice if each morning your Windows XP machine restarted before you got to work so you had a fresh system to work on each day?
To help you automate this type of operation, Windows XP comes with a command-line utility called Shutdown.exe, which can restart your system. To make this happen automatically, you can configure it to run at a specified time with the Scheduled Tasks tool. Here's how:
- Go to Control Panel | Scheduled Tasks.
- Double-click Add Scheduled Task to launch the Scheduled Task Wizard.
- Click Next and then click the Browse button.
- Access the Windows\System32 folder, select Shutdown.exe, and click Open.
- Follow the wizard through the next two screens to give the task a name and choose a schedule.
- Enter your user account name and password and click Next.
- Select the Open Advanced Properties check box and click Finish.
- In the task's Properties dialog box, add the /r parameter to the end of the command line in the Run text box and click OK. (Be sure to include a space between the last character in the command name and the first character in the parameter list.)
- Enter your user account name and password and click OK.
When the Shutdown utility runs, you'll momentarily see a small dialog box on your screen before the system restarts.
Note: This tip applies to both Windows XP Home and Professional editions.
Miss a tip?
Check out the Windows XP archive, and catch up on our most recent 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!
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.