Windows xp shutdown command reboot




















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? Greg Shultz tells you how to schedule a restart operation. To help you automate this type of restart operation, Microsoft Windows XP comes with a command-line utility called Shutdown. To make this happen automatically, you can configure it to run at a specified time with the Scheduled Tasks tool.

Here's how:. When the Shutdown utility runs, you'll momentarily see a small dialog box on your screen before the system restarts. This command starts a second countdown for a shutdown or restart, which permits you to abort it with a shutdown -a command. It you want the command to execute, use the -t flag, which lets you set the time lapse in seconds. The examples below use a 1-second delay. Unfortunately — especially on Windows XP — this option only shuts down Windows. It does not shut down your computer, at least on most hardware.

For more information, see: How do I create a Windows shortcut key? If you want to create a batch file, you can add any of the above shutdown commands into the batch file with any other commands. For more information, see: How to make a batch file. Microsoft Windows XP includes a new shutdown command that allows users to shut down the computer through the command line, shortcut, or batch files.

Below are the steps required for creating a shutdown and restart shortcut. After completing the above steps, double-click the shortcut icon to shut down or restart the computer. Create a batch file with the following lines, corresponding to the action you want to perform. When typing the above two lines, spacing is important. Remove From My Forums. Asked by:. Archived Forums. Sign in to vote. My computer wont shut down nor will it reboot completely.

I get to the screen "windows is now shutting down" but thats it. After nearly five minutes I reluctantly have to shut down pressing the power button! Only a couple of times it will reboot if I uninstall a program but majority of the time it just wont do it.

Even after installing windows updates. I've been also getting a lot of internet explorer errors.



0コメント

  • 1000 / 1000