How To Use “shutdown r” Command In Windows To Reboot and Shutdown Computer? – POFTUT

How To Use “shutdown r” Command In Windows To Reboot and Shutdown Computer?

shutdown command is used to halt, shutdown, reboot, restart the given system. shutdown command can be used for both Linux and Windows. In this tutorial, we will examine the shutdown r command usage.

Reboot or Restart

r option is mainly used to restart or reboot the system. If we do not provide any extra option the system will reboot after 60 seconds or 1 minute. This time is used to provide the users to complete and save their works.

Reboot or Restart Immediately

If we now that there are no other users connected to the server or we do not want to wait for 1 minute to reboot we can use /t 0 option. This option means restart or reboot the system immediately with 0 second wait time.

Reboot At Specified Time

We may want to reboot after work or after time passed. If we want to reboot at specified time we can use /t option with a time value in seconds. In this example, we will restart the system after 1 hour which is equal to 3600 seconds.

Restart after 10 minutes

Restart after 1 day

Restart after 8 hours

Reboot Specified Server or Computer

Up to now we have restarted or rebooted given local system or server. We can also reboot or restart a remote server or computer by providing its hostname or IP address. We will use \\ with the server hostname or IP address. In this example, we will reboot the host named POFTUT1.

Cancel Reboot

After issuing a reboot or restart command we may need to cancel the reboot or restart operation. We can use /a option which will cancel or abort current issued shutdown operations like restart and reboot.

Leave a Reply

Your email address will not be published. Required fields are marked *

Enjoy this blog? Please spread the word :)