9
May

Shutdown Command in Vista

   Posted by: Vlad   in Windows

Allows proper local or remote shutdown of machine.

SHUTDOWN [/i | /l | /s | /r | /g | /a | /p | /h | /e] [/f] [/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]

No args
Display help. This is the same as typing /?
/?
Display help. This is the same as not typing any options.
/i
Display the graphical user interface (GUI). (This must be the first option.)
/l
Log off. This cannot be used with /m or /d options.
/s
Shutdown the computer.
/r
Shutdown and restart the computer.
/g
Shutdown and restart the computer. After the system is rebooted, restart any registered applications.
/a
Abort a system shutdown. (This can only be used during the time-out period.)
/p
Turn off the local computer with no time-out or warning. (Can be used with /d and /f options.)
/h
Hibernate the local computer. (Can be used with the /f option.)
/e
Document the reason for an unexpected shutdown of a computer.
/m
\\computer Specify the target computer.
/t xxx
Set the time-out period before shutdown to xxx seconds. (The valid range is 0-600, with a default of 30. Using /t xxx implies the /f option.
/c

Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

This entry was posted on Friday, May 9th, 2008 at 12:55 pm and is filed under Windows. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

One comment

LTC
 1 

OK

May 10th, 2008 at 9:10 am

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment