重新分配/覆盖热键(Win + L)锁定窗口 [英] Re-assign/override hotkey (Win + L) to lock windows
问题描述
是否可以将 Win + L 热键重新分配给另一个可执行文件/快捷方式?
Is it possible to re-assign the Win+L hotkey to another executable/shortcut?
用例-我想在笔记本电脑的显示器锁定后立即将其关闭.我知道可以锁定和关闭监视器的可执行文件,但是我不想更改系统锁定的方式(通过显式运行程序或通过其他快捷方式).最好将 Win + L 分配给该可执行文件.
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.
推荐答案
您需要设置以下注册表项以完全禁用Windows锁定功能:
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
然后重新启动计算机.
这适用于Win7,Win8和Win10
This works on Win7, Win8 and Win10
这篇关于重新分配/覆盖热键(Win + L)锁定窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!