The keyboard shortcut launched screensaver + screen lock solution (Windows 7)


In office, it’s quite common to just walk away from the desk and computer for a while from 1 minutes to several hours. Meanwhile how about the computer screen? Lock it! Here is why:

When I still worked for Philips, there is a colleague who went for lunch without locking his screen. When he came back from lunch he was fairly shocked to see that his screen was up-side-down. At the end, he had to turn the screen up-side-down physically. Of course, eventually he managed to set his screen back.

It was set by another colleague. At first thought, it was a pretty nasty joke, but with the second thought, it made a perfectly good point. It is a way of saying: “You must protect your screen whenever you’re away.” You never know what will happen and who will come around.

Anyway, I DO understand the importance of locking my screen up. However, I recent the boring “Locked” screen. Thus I found a script that locks the screen with Google screen saver.

::initiate screensaver of choice

"C:\Windows\SysWOW64\GPhotos.scr" /s

::lock the workstation

%windir%\system32\rundll32.exe user32.dll,LockWorkStation

From now I can already double click to launch the script.

However, what I want is to use keyboard shortcut to launch it. Here is the solution:

  • Create a shortcut of the script;
  • move the shortcut on the desktop;
  • right-click the shortcut to access it’s Properties;
  • specified the key combination



One thought on “The keyboard shortcut launched screensaver + screen lock solution (Windows 7)

Leave a Reply

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

You are commenting using your 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