WARNING/DISCLAIMER

The Author/Blogger shall hold no liability for special, incidental, or consequential damages arising out of or resulting from the use/misuse of the information in this Blog. It is strictly mentioned that these are all for learning and awareness purpose. Most of the articles are collected from various sources and many of them are blogger's own which meant for helping people who are interested in security system or beginners help for security systems and various IT purposes. Some of the articles are solely intended for IT Professionals and systems administrators with experience servicing computer. It is not intended for home users, hackers, or computer thieves attempting to crack PC. Please do not attempt any of these procedures if you are unfamiliar with computer hardware, software and please use this information responsibly. Binod Narayan Sethi is not responsible for the use or misuse of these material, including loss of data, damage to hardware or personal injury. Information can help you to catch hackers and crackers and other cyber criminals. Information can help you to detect and manipulate the evil motives of these anti social intellectual peoples. Good use of the information protect you from evils and misuse of the information make you evil/criminal. Author of this site will not be responsible for use of material for any illicit mean or illicit act done by anybody in any means.

Binod Narayan Sethi

Binod Narayan Sethi
Programming,Web Development & Graphic Designing are my Hobbies.

Monday, September 5, 2011

Create a Shortcut or Hotkey to Turn Off the Monitor

Create a Shortcut or Hotkey to Turn Off the Monitor
Have you ever wanted to hit a shortcut key to turn off the monitor? Sure, you can use the Win+L combination to lock the screen, but that leaves your monitor on… and those of us with multiple monitors find it a pain to hunt down the power buttons all the time.

First we’ll show you how to simply power off the monitor, and then how to both lock and power it off.Create a Shortcut to Turn Off the Monitor. To create this shortcut, we’ll first need to grab a tiny multi-purpose utility called NirCmd from the great folks over at NirSoft. This Swiss-army knife tool can do an amazing array of tasks, including powering off the monitor. All we really need to do is create a shortcut to it.

Right-click anywhere on the desktop and choose New \ Shortcut:

Then you’ll want to browse to the location where you saved the nircmd.exe file, and add the following arguments:

    “C:\path\to\nircmd.exe” cmdwait 1000 monitor off

Make sure the path has quotes around it, and then you add the extra arguments, which will wait 1 second before powering off the monitor (otherwise Windows might misinterpret your last keystroke and wake back up).

Next you can go into the shortcut properties and assign a shortcut key, and then click Change Icon to pick a better one than the default.

In Vista, at least, there’s a great icon for turning off the monitor… pick the somewhat ugly one from the list below:

And when the icon actually shows up, it’s nice and shiny. Of course you are free to pick your own icon instead.
 
Lock the Workstation Too

For extra credit, you can create a shortcut that both locks the workstation as well as turns the monitor off. Unfortunately the Nircmd way involves more steps than necessary in Vista (in my testing, at least), so I’ve created a tiny executable called LockAndPowerDown.exe that will do both in one step.

To install it, simply download and extract the executable, and create a shortcut to it just as you did in the step above. To find the same icon, click on Change Icon, and then paste in “C:\Windows\System32\shell32.dll” into the browse box.

The application is written in AutoHotkey and the source code is included in the download file. Enjoy!

Binod Narayan Sethi

Binod Narayan Sethi
Binod Narayan Sethi

Share

Twitter Delicious Facebook Digg Stumbleupon Favorites More