How to shutdown or reboot Windows machine from command line in Windows 10 ?


This content was proof-read by Grammarly. You can Try Grammary for FREE

You can reboot a windows machine or shutdown it from the command line in Windows 10 using some of the built-in commands.

How to shutdown or reboot Windows machine from command line in Windows 10 ?

To shutdown the windows machine , we can use the following command.


Are you a .NET Developer planning to integrate GraphQL for .NET in your Application? Check out this book BUY & DOWNLOAD GRAPHQL.NET COOKBOOK
shutdown /s

Similarly , you can reboot or restart the windows machine using the following command

shutdown /r

When you restart your machine , there are times when you will be prompted with a warning message to close the open applications. You can force the reboot of windows machine by closing the applications from the command prompt without any warning message using the below command.

shutdown /r /f
%d bloggers like this: