Creating your own Sleep button in Windows XP

Is the Sleep button on your Windows XP machine in an inconvenient location for regular use? If so, here are five simple steps that show you how to create your own Sleep button.

Many computers or keyboards have a Sleep button, which when pressed puts the computer into either Stand By or Hibernate mode depending on how Windows XP's Power Options are configured. However, the Sleep button might not be in convenient location for regular use (e.g., if the Sleep button is on the front of a mid tower case that is under your desk).

You could activate Stand By or Hibernate mode from the Shut Down Windows dialog box. An alternative to this method is to create your own Sleep button by creating a shortcut on your desktop. Here's how:

  1. Right click on the desktop.
  2. Select New | Shortcut.
  3. Type rundll32.exe powrprof.dll,SetSuspendState in the text box.
  4. Click Next.
  5. Type Sleep in the text box and click Finish.

Now when you click the Sleep icon, Windows XP will put the computer into either Stand By or Hibernate mode depending on how the When I Press The Sleep Button On My Computer setting is configured on the Advanced tab of the Power Options Properties dialog box.

Miss a tip?

Check out the Windows XP archive, and catch up on our most recent Windows XP tips.

Stay on top of the latest XP tips and tricks with our free Windows XP newsletter, delivered each Thursday. Automatically sign up today!