Tuesday, October 23, 2012

[HOWTO] Restart, Lock, Etc

Okay.... Following the shutdown shortcut post, i'll post the scripts of another function. It's the same as the shutdown shortcut, just change the script :)

Restart Computer

Shutdown.exe -r -t 00
Lock Workstation
Rundll32.exe User32.dll,LockWorkStation
Hibernate Computer
rundll32.exe PowrProf.dll,SetSuspendState
Sleep Computer
rundll32.exe powrprof.dll,SetSuspendState 0,1,0

0 comments:

Post a Comment