Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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)

share|improve this question

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.

check this thread – Raystafarian Feb 29 '12 at 20:37

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

share|improve this answer

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