Re-assign/override hotkey (Win + L) to lock windows

Mohit picture Mohit · Nov 19, 2008 · Viewed 24.7k times · Source

Is it possible to re-assign the Win+L hotkey to another executable/shortcut?

Use-case - I would like to switch off the monitor of my laptop as soon as it is locked. I know of a executable which can lock and turn off the monitor but I do not want to change the way the system is locked (by running the program explicitly or by some other shortcut). It would be best if Win+L can be assigned to this executable.

Answer

franc0is picture franc0is · Jun 11, 2012

You need to set the following registry key to completely disable the Windows locking feature:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System] "DisableLockWorkstation"=dword:00000001

And restart the computer.

This works on Win7, Win8 and Win10