An alternative to the shutdown menu is clickable shortcuts.
Right-click -> New -> Shortcut -> Location of the item:
Shutdown Computer
Restart Computer
Lock Workstation
Hibernate Computer
Sleep Computer
~~~~~~~~~~~~~~~~~
Autohotkey users:
Shutdown
Logoff
Reboot
Force Shutdown (without saving settings)
Force a reboot (without saving settings)
Hibernate
Right-click -> New -> Shortcut -> Location of the item:
Shutdown Computer
Code:
Shutdown.exe -s -t 00
Restart Computer
Code:
Shutdown.exe -r -t 00
Lock Workstation
Code:
Rundll32.exe User32.dll,LockWorkStation
Hibernate Computer
Code:
rundll32.exe PowrProf.dll,SetSuspendState
Sleep Computer
Code:
rundll32.exe powrprof.dll,SetSuspendState 0,1,0
Autohotkey users:
Shutdown
Code:
[SIZE=3]Shutdown, 1[/SIZE]
Logoff
Code:
[SIZE=3]Shutdown, [/SIZE][SIZE=3]0[/SIZE]
Reboot
Code:
[SIZE=3]Shutdown, [/SIZE][SIZE=3]2[/SIZE]
Force Shutdown (without saving settings)
Code:
[SIZE=3]Shutdown, 4[/SIZE]
Force a reboot (without saving settings)
Code:
[SIZE=3]Shutdown, 6[/SIZE]
Hibernate
Code:
DllCall("PowrProf\SetSuspendState", "int", 0, "int", 0, "int", 0)