Windows Shutdown Command from DOS Terminal
- Forums
- Windows Hosting
- Windows Shutdown Command from DOS Terminal
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 [1646], Last Updated: Mon Jun 24, 2024
Webune Support
Sat Mar 06, 2010
1 Comments
1094 Visits
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?
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