Unlock For Us

Create a Shortcut for Shutdown, Restart, Sleep, Lock and Hibernate Button

shutdown Some tips are really useful that it can make your life easier day by  day. Do you remember the previous tip that when you install Windows Vista and pressed the Start menu shutdown button, instead of shutting down it turns your computer to sleep? How about the Middle Mouse Button Hack? Here's another Create a shortcut and use Shortcut Key!

 

1. Right-Click your desktop > New > Shortcut

2. Use and paste the commands below

Shutdown your Computer

Shutdown.exe -s -t 00

- Force all applications to close and shutdown immediately

Shutdown.exe -s      (After 30s...)

Restart Computer

Shutdown.exe -r -t 00

Sleep Computer

Rundll32.exe Powrprof.dll,SetSuspendState Sleep

Lock your Computer

Rundll32.exe user32.dll LockWorkStation

Hibernate Computer

Rundll32.exe Powrprof.dll,SetSuspendState Hibernate

That's it!

If the Sleep or Hibernate command is not working. Check first if your computer supports these sleep states: Open the command prompt (cmd.exe) and type, powercfg -a

The following sleep states are available on this system: Standby ( S3 ) Hibernate Hybrid Sleep
The following sleep states are not available on this system:
Standby (S1)
        The system firmware does not support this standby state.
Standby (S2)
        The system firmware does not support this standby state.

Change the icon

You can search the web and change the icon or simply use   

%SystemRoot%\system32\SHELL32.dll icons

How? Right-Click > Properties > Shortcut Tab > Change Icon Button

That's it!

Use Shortcut Key to Shutdown your computer

To have an idea, I recommend reading this first, Speeding Up! Using Quick Launch Toolbar's Keyboard Shortcut

Drag the Shortcut to your Quick Launch Taskbar And press Win + Icon Position, e.g. Win+1

Useful? Enjoy!!!

2 Comments:

Andy said...

Why bother making a shortcut for locking the desktop? This is already built into Windows. Win + L is all it takes.

LawrenceAlbert said...

Thanks Andy! I did not check that one... If you have some other good comments to share. please share it with us! :)

 

© Naga Heavy Industries (NHI) @2024| Blogger| License Agreement