dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
3821
share rss forum feed


FastEddie
Premium,Ex-Mod 2001-13
join:2000-12-29
Channel Z
kudos:6

4 edits

2 recommendations

[XP] Move Shutdown/Reboot/Logoff Buttons







WindowsXP has an application called SHUTDOWN.EXE to which you can easily create a shortcut and icons to shutdown or restart your computer.

To make a shutdown shortcut on the desktop:

• Right click on an open area of the desktop
• Select New / Shortcut
• Enter in "shutdown -s -t 00" - no quotes
• Press the Next button
• For the name, enter in anything, but shutdown is good. Click on the Finish button.

Option:

For a reboot, enter "shutdown -r -t 00"
For a log off, enter "shutdown -l -t 00"

To move it to your Taskbar:

• Unlock your Taskbar if it is locked
• Right click and drag the shortcut
• Release mouse button
• Select Move Here

To change Icon:

• Right click the shortcut
• Select Properties
• Then click the "Change Icon" button
• Navigate to the icons you want to use

The "-r" switch tells XP to reboot. If you'd like the shortcut to shut off your PC instead, change it to "-s"; to simply log off, change it to "-l". The "-t 0" sets the timeout (in seconds), so up this value if you find the need for it.

Parameters

-l - Logs off the current user, this is also the defualt. -m ComputerName takes precedence.
-s - Shuts down the local computer.
-r - Reboots after shutdown.
-a - Aborts shutdown. Ignores other parameters, except -l and ComputerName. You can only use -a during the time-out period.
-f - Forces running applications to close. (be careful with this one)
-m [\\ComputerName] - Specifies the computer that you want to shut down.
-t xx - Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
-c "message" - Specifies a message to be displayed in the Message area of the System Shutdown window. You can use a maximum of 127 characters. You must enclose the message in quotation marks.


--
»»»Press«««