Shutdown/Restart windows using command-line through RDP

Jul 16th, 2014

For shutting down…

C:\Windows\System32\shutdown.exe -s -t 20 -c "Bye" -f -d p:0:0

For rebooting…

C:\Windows\System32\shutdown.exe -r -t 20 -c "Restarting" -f -d p:0:0

Tags:
No comments yet.

Time limit is exhausted. Please reload the CAPTCHA.