Shortcut to Turn Off the Monitor

August 5, 2009

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:

image1

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.

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

image3

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.

Tags:

Powered by Computer 2000

Advertisements

One Response to “Shortcut to Turn Off the Monitor”


  1. […] Thankfully, there’s a pretty easy way to set that up. All you need is a tiny, free command-line utility called NirCmd, and the simple instructions provided by Computer 2000 Consulting Services. […]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: