There are situations where we need to restart remote servers or machines and we can’t do normal Ctrl+Alt+Del, let’s see how we can perform restart in different ways
Using key press
If you have opened your remote desktop/server from your local windows machine, then on remote server/machine desktop, key press
CTRL + ALT + DEL
to restart the remote machine.
Using command prompt
On your local machine, open command prompt [Administrator mode] and enter
C:\Users\MySys>shutdown /r /f /t 0 /m \\<serverName> /c "<anyComment>"
NOTE:
/r – Shutdown and restart the computer.”
/f – Force running applications to close without warning the users.
/t xxx – Set the time-out period before shutdown to xxx seconds.
The valid range is 0-600, [default is 30]
/m \\computerName – Specify the target computer.
/c “comment” – Comment on the reason for the restart or shutdown.
For more information you can enter command shutdown ?/