If the time is greater than zero, then the /f option will be applied automatically. Quick tip: You can also use '0' for the time for shutdown immediately. In the command, replace TIME for the second to wait before the device begins the shutdown process.įor example, this command turns off the computer after five seconds: Type the following command to shut down the device after a specific time and press Enter: Type the following command to gracefully shut down the device after one minute and press Enter: Search for Command Prompt, right-click the top result, and select the Run as administrator option.To shut down the computer manually with Command Prompt, use these steps: How to turn off computer with shutdown command How to abort computer power off operation with shutdown command.How to access the Advanced boot options with shutdown command.How to boot in firmware mode with shutdown command.How to hibernate computer with shutdown command.How to sign out session with shutdown command.How to restart computer with shutdown command.How to turn off remote computer with shutdown command.How to turn off computer with shutdown command.In this Windows 10 guide, we will walk you through the different ways you can use the shutdown.exe command-line tool to shut down and restart local and remote computers.