Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reboot winXP with command promt???

Status
Not open for further replies.

joepc

MIS
Jul 26, 2002
647
0
0
US
Does anyone know how to reboot win xp pro through the command prompt?
 
hope this help.
Syntax
tsshutdn [WaitTime] [/server:ServerName] [/reboot] [/powerdown] [/delay:LogOffDelay] [/v]

WaitTime
After notifying users, specifies an amount of time (in seconds) to wait before logging off all users from their sessions. The default is 60 seconds.
/server:ServerName
Specifies the terminal server to shut down. If unspecified, the current terminal server is shut down.
/reboot
Reboots the terminal server after user sessions are ended.
/powerdown
Turns off the terminal server if the computer supports software control of AC power.
/delay:LogOffDelay
After logging off users from their sessions, specifies the amount of time to wait before ending all processes and shutting down the terminal server. The default is 30 seconds.
/v
Displays information about the actions being performed.
/?
Displays help at the command prompt.
 
memorable - isn't that for a remote system running Terminal Services? Does that work locally?

joepc, if the above doesn't work, type shutdown /? for the syntax and options.
 
This will immediately shutdown all programs and services and restart the computer: %windir%\System32\SHUTDOWN.exe -r -t 00 -f

This will immediately shutdown all programs and services and SHUTDOWN the computer: %windir%\System32\SHUTDOWN.exe -s -t 00 -f

Cheers,
Jim
iamcan.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top