Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Put XP to sleep with keystroke / corner?

Put XP to sleep with keystroke / corner?

Put XP to sleep with keystroke / corner?

Does anybody know of any way to put XP Pro to sleep by using a keystroke or corner?  If it is a 3rd party app, that's totally fine.  I have found a LOT of apps that will turn on a screen saver for you, but I need to be able to actually put the computer to sleep (or 'standby' as it were).



RE: Put XP to sleep with keystroke / corner?

Create a blank *.txt file.
Copy this line without quotes into it - "%windir%\System32\rundll32.exe powrprof.dll,SetSuspendState"
Save the file as hibernate.cmd file and copy it to your \Windows\System32 directory.
Right click on the desktop and select create new shortcut.
Type hibernate then next, next, etc.
Thats it.
Make sure you have hibernation enabled in your power settings.

RE: Put XP to sleep with keystroke / corner?

You can create your own hotkey in the Properties of the shortcut if you like.

RE: Put XP to sleep with keystroke / corner?

Thanks for that.

Can I do about the same thing for 'sleep'?  Hibernation takes a bit long to enable and recover from...  

I need this for a presentation and I have an auto-sensing vga switcher that defaults to the cpu signal.  Once the cpu signal is absent, it will switch over to the secondary signal.  So, the presenter wants to go back and forth rather quickly.


RE: Put XP to sleep with keystroke / corner?


Thanks for your help!


RE: Put XP to sleep with keystroke / corner?

My keyboard has a "Sleep" button on it. Just about every new keyboard has this button. From the XP "Power" setup you can decide what to have this button do. It can be set to Standby - Hibernate - or Shut Down. My computer (AMD XP2200) shuts down in about ten seconds and wakes up in about three seconds. In fact, I don't even usually shut down at all, Sleep button at night and space bar in the morning!

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close