Shutdown windows XP using your keyboard

1. Right click on your desktop. Go to new, and then click on shortcut.
2. A window comes up. Type in “shutdown” (without quotes) add a space and enter one of the following commands:

Usage: shutdown [-i | -l | -s | -r | -a] [-f] [-m \\computername] [-t xx] [-c "comment"] [-d up:xx:yy]

-i Display GUI interface, must be the first option

-l Log off (cannot be used with -m option)

-s Shutdown the computer

-r Shutdown and restart the computer

-a Abort a system shutdown

-m \\computername Remote computer to shutdown/restart/abort

-t xx Set timeout for shutdown to xx seconds

-c "comment" Shutdown comment (maximum of 127 characters)

-f Forces running applications to close without warning

-d [u][p]:xx:yy The reason code for the shutdown
u is the user code
p is a planned shutdown code
xx is the major reason code (positive integer less than 256)
yy is the minor reason code (positive integer less than 65536)

2. (Continuation) a good example of a shutdown line would read as follows:

“shutdown -s -t 0” (of course, without the quotes)

This tells the computer to run the shutdown program, and to shutdown the computer
(marked by –s). The timer is set to zero, which will shut down the computer instantly
(marked by –t 0)

3. After you have created your customized shutdown command, click next. Enter a name for
it and hit finish

4. Right click on the shortcut you just created, and go to properties.

5. Note where it says “Shortcut Key”. Enter your combination here. I recommend “Ctrl, Alt,
END” as stated before, but the choice is purely up to you.

6. Click OK. Your shutdown string is now effective! Just hit that key combination and your
computer is off!

Share this post


Post a Comment