Windows Shutdown Command from DOS Terminal

RegisterLogin
Windows Shutdown Command from DOS Terminal
Post Description: when you remote desktop to your windows server how can you shut it down if there is not shutdown button well, you can shut it down very easy through the dos command prompt by sending this command
Tags: windows, shutdown, command, from, dos, terminal
This Post Was Posted On Mar 06, 2010 By Webune Support #3234
when you remote desktop to your windows server how can you shut it down if there is not shutdown button?

well, you can shut it down very easy through the DOS command prompt by sending this command:

shutdown -s -t 1

the -t is for how many seconds before it shuts downs, since i dont like waiting, i set it to 1 second, otherwise, you can leave it without -t and the default is 30 seconds

shutdown -s

does that help?
Leave Your Comments
Related Pages: [Add Your Website]
Post New Topic
chimocommnader
#3855 1
i tried shutdown -a
    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
Apr 21, 2010 Reply Report abuse
©2011 Webune Forums - Mon Dec 19, 2011 5:04 am
Powered by: Webune Forums V3