Create Shutdown / Restart / Sleep Shortcuts in Windows 7 or Vista

Published: 09 September 2012
on channel: TechieHowTo
57,105
330

This video will show you how to create a desktop shortcuts and sleep/shutdown and reset windows 7 and Vista

Shutdown Computer Shortcut
-------------------------------------------
Shutdown.exe -s -t 00

Restart Computer Shortcut
--------------------------------------
Shutdown.exe -r -t 00

Sleep Computer Batch File
--------------------------------------
powercfg -hibernate off
rundll32.exe powrprof.dll,SetSuspendState 0,1,0


My bad the sleep command appears to trigger hibernation. I think the work around for this is to disable hibernation in the registry.
HKEY_LOCAL_MACHINE\SYSTEM\Curr­entControlSet\Control\Power
In the right pane of the Power key, double click/tap on HibernateEnabled, Type in 0 (zero), and click/tap on OK.
bit of a hack...I think this works. Can't see another way around it....


Watch video Create Shutdown / Restart / Sleep Shortcuts in Windows 7 or Vista online without registration, duration hours minute second in high quality. This video was added by user TechieHowTo 09 September 2012, don't forget to share it with your friends and acquaintances, it has been viewed on our site 57,10 once and liked it 33 people.