Shortcuts (rundll32.exe)

Shortcuts to do certain commands in Windows (tested in Windows 7)
Shutdown, restart, hibernate, sleep and lock user

Original blog here

CodeFunctionName
What is this?

Public

Tested

Original Work
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

Views 3,081

Downloads 1,018

CodeID
DB ID