Possible Duplicate:
How can I put the computer to sleep from Command Prompt/Run menu in Windows Vista?

What is the command that exactly duplicates the action of selecting Sleep in the Start->Shut Down menu.

All the tips and tricks I can find (like rundll32 powrprof.dll, Set SuspendState Standby) puts the computer into hibernation and I have to push the power button for it to restart.

I want to be able to create a hotkey to duplicate what clicking on Sleep or pressing the Sleep key on the keyboard. (My new keyboard doesn't have a sleep button)

marked as duplicate by studiohack Feb 29 '12 at 20:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


One of Microsoft's Sysinternals tool is PsShutdown, it will do what you want by using the command psshutdown -d -t 0 it will correctly sleep, not hibernate, a computer

Not the answer you're looking for? Browse other questions tagged or ask your own question.