[Script] Caminhos shutdown,lock,hibernate,sleep,restart no Win7 e Win2008
Enviado: 26 Jun 2014 10:37
Segue comandos para executar as funções 
Shutdown / Desligar
Restart / Reiniciar
Lock Workstation / Bloquear estação
Hibernate Computer / Hibernar Computador
Sleep Computer / Colocar em modo sleep
Shutdown / Desligar
Código: Selecionar todos
C:\Windows\System32\shutdown.exe -s -t 00Código: Selecionar todos
C:\Windows\System32\shutdown.exe -r -t 00Código: Selecionar todos
Rundll32.exe User32.dll,LockWorkStationCódigo: Selecionar todos
rundll32.exe PowrProf.dll,SetSuspendStateCódigo: Selecionar todos
rundll32.exe powrprof.dll,SetSuspendState 0,1,0