Subscribe to Windows IT Pro
September 22, 2009 12:00 AM

Q. How can I place a computer in sleep state from the command line?

Windows IT Pro
InstantDoc ID #102825
Rating: (0)

A. The command below will put your machine to sleep. It's useful in scripts and shortcuts.

rundll32 powrprof.dll,SetSuspendState

Note that, depending on your computer's configuration, the command may hibernate your computer instead.

Related Reading:

Check out hundreds more useful Q&As like this in John Savill's FAQ for Windows. Also, watch instructional videos made by John at ITTV.net.

Related Content:

ARTICLE TOOLS

Comments
    There are no comments to display. Be the first one!
You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.