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.
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….
Xem thêm bài viết khác: https://hargabaru.net/tong-hop/