Tuesday 11 February 2014

Create-hotkeys-for-windows-sleep-and-shutdown

Your Desktop has one, and perhaps 2, special buttons that you simply configure for just these functions.additionally, you'll be able to produce shortcuts for these tasks, and assign hotkeys to the shortcuts

In Windows 7, click Start, or in Windows 8, go to the Search charm. Once there, type power, and select Power Options. In the resulting Control Panel window’s left pane, select Choose what the power buttons do.

How many choices you’ll notice can rely upon your pc. If you've got a desktop, you'll be able to assign actions tothe facility button and also the Sleep button.

0210 desktop power options


If you've got a portable computer, you’ll even have a “When I shut the lid” choice, and you’ll have all 3 choicestwice—for On battery and obstructed in.

0210 laptop power options

The Power button, of course, is that the one you press once you activate your computer. you'll or might not have a sleep button on your keyboard. to search out out, seek for a key with a crescent-moon icon. With a portable computer, Sleep most likely involves holding down the Fn key whereas you press another key. If you can’t notice a Sleep key on your keyboard, check the keyboard documentation to envision if there’s how to designate another key for that purpose. 

If you need more power hotkeys (likely if you don’t have a Sleep key), you can create your own.

First, create a shortcut: Right-click an empty space on the desktop and select New>Shortcut. On the only field available on the resulting wizard, enter the appropriate command:

Shut down: Shutdown.exe -s -t 00

Reboot: Shutdown.exe -r -t 00

Lock: Rundll32.exe User32.dll,LockWorkStation (and yes, that one works on 64-bit systems)

Hibernate or Sleep: rundll32.exe powrprof.dll,SetSuspendState 0,1,0

If the Hibernate option is turned on, that last command will hibernate the PC. Otherwise, it will put it to sleep.

To control that setting in Windows 7, click Start, type cmd, right-click cmd.exe, and select Run as administrator. In Windows 8, go to the Search charm, type cmd, right-click Command Prompt and select Run as administrator.

At the resulting command prompt, type powercfg -hibernate off or powercfg -hibernate on, then press ENTER.

0210 hotkey

Now that you’ve created a shortcut, let’s turn it into a hotkey: Right-click the shortcut and select Properties. On the Shortcut tab, click the Shortcut key field. Press a key. Windows will automatically prefix it with Ctrl-Alt, lessening the likelihood of accidentally turning off your computer.


And believe me, if there's on thing you don't want to do, it's accidentally turning off your computer.

For more from the XpertCrewTM team please follow us on Twitter @Techvedic or 

our Facebook Page- 

or  contact us at

U.S. +855-859-0057 (http://www.techvedic.com/  )
U.K. +800-635-0716 (http://www.techvedic.co.uk/ )
CA  1-855-749-5861 (http://www.techvedic.ca/ )
AU  1-800-197-298  (http://www.techvedic.com.au/ )
And yes, we are eagerly waiting for your valuable feedback. Do write us back. We would be more than happy to help you. We are available 24/7.



0 comments:

Post a Comment