I have always been annoyed by the way One has to switch off or sign out on windows 8
so I made a simple executable that I attached on my taskbar…No more going through the complicated route
Check my Youtube video for a full tutorial.
I have always been annoyed about the way one has to switch off(Sleep mode) his/her pc on windows 8.
So with this tutorial you will make a simple taskbar sleep icon.
for all other applications find command lines below
Shutdown %windir%\System32\shutdown.exe -s
Reboot %windir%\System32\shutdown.exe -r
Logoff %windir%\System32\shutdown.exe -l
Standby %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Standby
Hibernate %windir%\System32\rundll32.exe powrprof.dll,SetSuspendState Hibernate
Sleep %windir%\system32\rundll32.exe PowrProf.dll, SetSuspendState 0,1,0
batch to exe convertor
Edit: I should really put a few more minutes into looking stuff up before bothering to post. So if you want to use the sleep command from hibernate you actually have to disable hibernation on the machine and use rundll32. To turn off hibernation, (running a command line as administrator) use “powercfg -h off” and then you can put the machine to sleep with “%windir%\System32\RunDLL32.exe powrprof.dll,SetSuspendState 0,1,0”
Edit 2: Oh, forgot the timer part of it. The “Sleep [seconds]” command will pause it for however many seconds you tell it to, so in this case if I want to put the computer to sleep in an hour I put “Sleep 3600 | %windir%\System32\RunDLL32.exe powrprof.dll,SetSuspendState 0,1,0”
PS:Video was made on Win7 although the hack can work on Win 8