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

Published on August 13, 2016 by abundantcode

Filed under Windows

Last modified August 13, 2016

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 1808 times

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.

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
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Leave a Comment


x

You might be Interested in these Posts

C Program to find the G.C.D of a number using Recursive function

Problem Write a program in C to find the find the G.C.D of a number using recursion and display the ...

C Program to print a Half Pyramid using *

Problem Write a program in C to print Half pyramid using * as shown. * * * * * * * * * * ...

C Program to display Positive factors of a number

Problem Write a program in C to display all the positive factors of a number enter by the user. Ho...