1

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)

1

1 Answer 1

3

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 .