Windows 8 shutdown command line options




















The xx and yy options specify major and minor reasons for the shut down or restart, respectively, a list of which you can view by executing the shutdown command without options. If neither p nor u are defined, the shut down or restart will be recorded as unplanned.

You must include quotes around the comment. The maximum length of the comment is characters. Executing shutdown without any options also displays the help for the command. Tip : Each time Windows is shut down or restarted manually, including via the shutdown command, the reason, type of shut down, and [when specified] comment are recorded in the System log in Event Viewer.

If there are any software open on your computer, this will force them to close down before your computer shuts down. If a reason must be included for the restart or shutdown of your computer, this flag will help you add that.

As you can see, there are numerous flags that can be used with the shutdown command to shut down your computer from Windows shutdown command line. However, that doesn't mean you should be using all of those flags each time you want to turn off your PC.

In the following section, we have put together the most common flags that are used with the shutdown command. You'll most likely be using these commands to turn off your PC in several ways. Remember that these commands run from the Command Prompt so make sure to open it before you jump onto the section below.

What the above command does is it shuts down your computer just like you would do with the shutdown option from the Start Menu. The above command lets you add a time interval delay for shutting down or restarting your computer. This command forces all the open software on your PC to close down and fully shutdown your Windows 10 PC.

Replace "computername" in the above command and it will remotely shut down the chosen computer. Report abuse. Details required :. Cancel Submit. Entegy Volunteer Moderator. In reply to Joshington's post on October 17, Windows 10 fixes this. Option four: Slide to Shutdown feature This feature is there since the Windows 8. It is sometimes claimed as a "hidden secret" feature by some incompetent writers but there's nothing secret about it really, it's there for PCs and tablets with Connected StandBy.

Connected Standby is a power management feature similar to what smartphones have. When you press and hold the power button, the Slide to Shutdown screen shows which you can drag to the bottom using the mouse or finger.

Many Desktop PCs do not support the Connected Standby sleep state, and mine is not an exception either: Well, that just means that you can't invoke the Slide to Shutdown feature by pressing and holding down the power button. But nothing stops you from directly running the file at least in Windows 8. It will produce the following interface: If you click on the thick panel at the top of the screen, your PC will shut down.

Option five: good old command prompt Windows 8. Option six: Starting with Windows 8. That's it. Share with us, which shutdown method is your favorite one.

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:. If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support! Sergey Tkachenko is a software developer from Russia who started Winaero back in



0コメント

  • 1000 / 1000