How to Shutdown, Restart, Schedule Windows with CMD

How to Shutdown, Restart, Schedule Windows with CMD

You can use the Command Prompt (CMD) to shutdown, restart, or schedule a shutdown or restart of your Windows device. Here are the steps for each action:

To shutdown:

  1. Open the Command Prompt by typing “CMD” into the search bar and pressing Enter.
  2. Type the following command and press Enter: shutdown /s /t 0

This will immediately shut down your device.

To restart:

  1. Open the Command Prompt by typing “CMD” into the search bar and pressing Enter.
  2. Type the following command and press Enter: shutdown /r /t 0

This will immediately restart your device.

To schedule a shutdown:

  1. Open the Command Prompt by typing “CMD” into the search bar and pressing Enter.
  2. Type the following command and press Enter: shutdown /s /t 3600

This will schedule a shutdown in one hour (3600 seconds). Replace “3600” with the number of seconds you want to wait before the shutdown occurs.

To schedule a restart:

  1. Open the Command Prompt by typing “CMD” into the search bar and pressing Enter.
  2. Type the following command and press Enter: shutdown /r /t 3600

This will schedule a restart in one hour (3600 seconds). Replace “3600” with the number of seconds you want to wait before the restart occurs.

Keep in mind that these commands will only work if you have the necessary permissions on your device. If you do not have permission to shut down or restart the device, the commands will not work.