Shortcuts to do certain commands in Windows (tested in Windows 7)
Shutdown, restart, hibernate, sleep and lock user
Original blog here
Shutdown
Shutdown.exe -s -t 00
Restart
Shutdown.exe -r -t 00
Hibernate
rundll32.exe PowrProf.dll,SetSuspendState
Sleep
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
Lock user
Rundll32.exe User32.dll,LockWorkStation
Shutdown.exe -s -t 00
Restart
Shutdown.exe -r -t 00
Hibernate
rundll32.exe PowrProf.dll,SetSuspendState
Sleep
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
Lock user
Rundll32.exe User32.dll,LockWorkStation
Views 3,081
Downloads 1,018
CodeID
DB ID