I know that almost everything on windows [opening any sort of application] can be done from the command prompt or from the run menu.
How can I put my computer to sleep or shut it down? What is the command for that?
|
I know that almost everything on windows [opening any sort of application] can be done from the command prompt or from the run menu. How can I put my computer to sleep or shut it down? What is the command for that?
| ||||
|
feedback
|
|
You will find Other handy commands see this post: Shutdown Computer
Restart Computer
Lock Workstation
Hibernate Computer
Sleep Computer
| |||||||||||||||||
feedback
|
|
The command Here's how to do that: Go to the Start Menu and open an elevated Command Prompt by typing
| |||||
feedback
|
|
See the free utility of Wizmo, which can do very many things.
| |||
|
feedback
|
|
You can initiate the suspend or hibernate options from the command line as specified below and referenced in this article.
If your computer is set to allow hibernation then the above command will initiate hibernation. If the hibernation feature is disabled, then it will enter the standby state. As other users have answered previously, | ||||
|
feedback
|
|
Type shutdown on the command prompt and take a look at the output works on XP and above from what I can tell. | |||
|
feedback
|
|
For shutdown, type
at the command prompt for a gui, or /? for all the valid switches. I am not sure of a quick command for standby. | |||
|
feedback
|
|
The methods posted by other people do not work correctly if a computer has hibernation enabled, the computer will not wake on Keyboard or, more importantly, not wake on scheduled task. One of Microsoft's Sysinternals tool is PsShutdown using the command | |||
|
feedback
|