Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

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