Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Sleep, Shutdown and other shortcuts made easy

10 Mar 2014   #1

Windows 7 Pro 64 bit
Sleep, Shutdown and other shortcuts made easy

I found an article written a while ago that pointed to a link to a set of tools from Microsoft which allowed people to be able to put their PC into SLEEP mode from a desktop shortcut.
I myself have been searching for a sleep shortcut for some time now and have come across many a varied answer which didn't work properly or put the machine into hibernate (for me anyway).

I downloaded this small file (1.6mb) from the MS site and within 60secs I had a working sleep shortcut. Also, besides allowing a shortcut for sleep, you can make shortcuts for hibernate, shutdown, restart, or logoff as well.
N.B. even though it states "works for both Vista and XP" I'm running 64bit Windows 7 and it works perfectly for this too.

Here are the simple instructions -

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.
Create a folder in your "C:\" directory called "PSTools"

Download PsTools from Microsoft's website here: and extract all the files to that folder "C:\PsTools".

To make a shortcut that puts your computer to sleep, right-click on your desktop and select the following -
> New -> Shortcut.
Type the following as the target you want to run (or just Copy & Paste) and then give your shortcut a name -

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

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

You can create others too.........

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

If this at least helps one person then I will be happy.

Let me know how you go.


My System SpecsSystem Spec


 Sleep, Shutdown and other shortcuts made easy

Thread Tools

Similar help and support threads for2: Sleep, Shutdown and other shortcuts made easy
Thread Forum
Solved Shutdown Timer I made Free Developer Programs and Projects
Batch file copy made easy Performance & Maintenance
Connectify - Internet Sharing Made Easy Network & Sharing
Windows 7 RC shutdown during Easy Transfer Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:07 PM.
Twitter Facebook Google+

Windows 7 Forums

Seven Forums Android App Seven Forums IOS App

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33