lunes, 11 de mayo de 2015

hOW TO RESTART WINDOWS SERVER 20012 REMOTELY WAY

If you are on a remote machine, you may also want to add the -f option to force the reboot. Otherwise your session may close and a stubborn app can hang the system.
I use this whenever I want to force an immediate reboot:
shutdown -t 0 -r -f
For a more friendly "give them some time" option, you can use this:
shutdown -t 30 -r
As you can see in the comments, the -f is implied by the timeout.

No hay comentarios:

Publicar un comentario

Blogger Widgets