1. You may have noticed things look a little different around here - we've switched to a new platform (XenForo) and have some new forum styles and features. This how-to guide will help you find your way around. If you find anything that looks strange, post it in this thread.

How to create a shortcut to put Windows into sleep mode

Discussion in 'Windows OS and Software' started by Bart Simpson, Apr 9, 2008.

Thread Status:
Not open for further replies.
  1. Bart Simpson

    Bart Simpson Notebook Consultant

    Reputations:
    213
    Joined:
    Apr 4, 2008
    Messages:
    226
    From my experimentation, there is no direct way to create a shortcut in Windows that just puts it to sleep. You can make a shortcut that will make it restart, shutdown, or hibernate, but not sleep despite what I have read on the web.

    However, if you download PsTools from Microsoft's website, you can make a shortcut that will put your computer into sleep mode:
    http://technet.microsoft.com/en-us/sysinternals/bb897541.aspx

    PsTools is a collection of very useful command line utilities that require no installation to use and does not leave any resident processes in your memory. It works for both Vista and XP. Just extract the files to the directory C:\PsTools. Besides allowing a shortcut for sleep, you can also make it hibernate, shutdown, restart, or logoff.

    To make a shortcut that puts your computer to sleep, right-click on your desktop -> New -> Shortcut. Put the following as the target you want to run:

    C:\PsTools\psshutdown.exe -d -t 00

    That's all it takes folks! You can now double-click that shortcut and your computer sleeps!

    For shutdown use:
    C:\PsTools\psshutdown.exe -k -t 00

    For restart use:
    C:\PsTools\psshutdown.exe -r -t 00

    For hibernate use:
    C:\PsTools\psshutdown.exe -h -t 00

    For logoff use:
    C:\PsTools\psshutdown.exe -o -t 00

    To lock the computer use:
    C:\PsTools\psshutdown.exe -l -t 00
     
  2. adinu

    adinu I pwn teh n00bs.

    Reputations:
    489
    Joined:
    Jul 26, 2006
    Messages:
    2,842
    Or you can just press FN + ___. I think most notebooks have that keyboard shortcut.
     
  3. Bart Simpson

    Bart Simpson Notebook Consultant

    Reputations:
    213
    Joined:
    Apr 4, 2008
    Messages:
    226
    I prefer to have a sleep shortcut on the upper right of my toolbar for easy mouseclicking:
    [​IMG]
     
  4. roytse

    roytse Notebook Evangelist

    Reputations:
    88
    Joined:
    Dec 6, 2007
    Messages:
    302
    why don't you get a dock?
    a lot nicer than vista's launch bar:D
     
  5. nobscot6

    nobscot6 Wise One

    Reputations:
    419
    Joined:
    Nov 15, 2007
    Messages:
    1,364
    actually, most laptops have a default setting w/ vista to use the power button for sleep...........

    you can adjust it under power options--> advanced power options--> power button>> sleep> if it's not already the default........
     
  6. Bart Simpson

    Bart Simpson Notebook Consultant

    Reputations:
    213
    Joined:
    Apr 4, 2008
    Messages:
    226
    I think the Vista launch bar looks pretty nice with the aero effects and I don't want any of that 3D animation a lot of 3rd party dock bars have. The Vista launch bar does everything I want it to and I don't have to take a big performance hit for installing something else.
     
  7. Bart Simpson

    Bart Simpson Notebook Consultant

    Reputations:
    213
    Joined:
    Apr 4, 2008
    Messages:
    226
    Problem is that I want my power button to make my laptop go into hibernation, which it is already doing. When I close my lid, it goes into sleep mode but a lot of times I'm not moving the laptop anywhere and I don't want to prematurely wear out the hinges by closing the lid so many times.
     
Similar Threads: create shortcut
Forum Title Date
Windows OS and Software SFC /SCANNOW creates Korean Media/Messaging shortcuts? Apr 11, 2014
Windows OS and Software Possible to create a shortcut for switching between landscape and portrait? Mar 19, 2012
Windows OS and Software Possible to create shortcuts somewhere off the desktop? Oct 4, 2008
Windows OS and Software Making a shortcut to create System Restore Point May 25, 2008
Windows OS and Software How can I create a Standby shortcut on the desktop? Nov 27, 2007

Thread Status:
Not open for further replies.

Share This Page