Monday, September 26, 2011

Shutdown Commands

we use our system to shutdown using start—>Trun Off Computer (Or) start—>Run shutdown
Syntax for Shutdown commands.

Shutdown -i ————————-Display GUI interface, must be the first option
 
Shutdown -l ————————-Log off (cannot be used with -m option)
 
Shutdown -S ————————Shutdown the computer
 
Shutdown -m computername —-Remote computer to shutdown/restart/abort
 
Shutdown -t xx ———————Set timeout for shutdown to xx seconds
 
Shutdown -c “comment” ———-Shutdown comment (maximum of 127 characters)
 
Shutdown -f ————————-Forces running applications to close without warning
 
Shutdown -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 (+ve integer < 256)
 
———————————-yy is the minor reason code (+ve integer < 65536)

No comments:

Post a Comment