Remote Shutdown Main Topic

Remote Shutdown Syntax


one stepshutdown [\\computername] [/l] [/a] [/r] [/t:xx] ["msg"] [/y] [/c] [/?]

Where:

\\computername
Remote computer to shut down. If no name is given but the tool is started with any of the other options, the local computer name will be used.
/L
Specifies a local shutdown.
/A
Quits a system shutdown. This can only be done during the timeout period. If this switch is used, all others are ignored.
/R
Restart the computer specifed after shutdown.
/T:xx
Sets the timer for system shutdown in xx seconds. The default is 20 seconds.
"msg"
Specifies an additional message with a maximum of 127 characters, surrounded by quotation marks.
/y
Answers questions with "yes".
/C
Forces running applications to close.

 

note-icon

Caution

If you use the /c parameter, Windows 2000 ignores the application's option to save data that might have changed. You will see no File Save dialog box, because Windows 2000 will force the application to close. This will result in a loss of all data not previously saved.

/? (or shutdown without parameters)
Display help.

Examples