Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using Synergy. Windows is my server, my Macbook is my client.

Whenever I hit command-L on Mac, Windows locks its screen and steals the mouse focus.

It's rather annoying, as command-L is the Chrome/Opera hotkey to enter a new URL.

How can I fix this? It would also be acceptable to block Windows from seeing the keystroke, as I never use it.

share|improve this question
up vote 4 down vote accepted

To disable the Windows + L (Windows 7, XP or Vista) you may perform the following registry hack found at

Open up regedit.exe through the start menu search box, and then browse down to the following key, creating it if it doesn’t exist:


On the right-hand side, create a new DWORD 32-bit value named DisableLockWorkstation and give it one of these values:

1 – Disable Lock Workstation

0 – Enable Lock Workstation

The changes should be immediate, no need to restart anything.

There is also a downloadable .reg file that can also apply the update.

I have applied the hack and can confirm it does work on my Windows 7 machine

share|improve this answer
Will this disable the Lock function or the shortcut? – 50-3 Oct 8 '13 at 19:57
This will disable the shortcut only, you'll still be able to lock the computer from your start menu. – Jesse Oct 8 '13 at 19:59
My dog. You are super number one. – Grant Birchmeier Oct 8 '13 at 21:19
There's an issue for this in github: – dhulihan Apr 6 '15 at 19:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .