标签归档:Win

禁用系统 Win 键 或 Win+F 的方法

作为一个 Everything 的用户,一件必做的事情是将 Win+F 设置为打开 Everything 而不是系统搜索。

但要怎么做到这一点,就比较麻烦。常见的思路是 利用 AutoHotKey 来覆写 Win+F。但我的 Dell 笔记本有一些奇怪的问题,按下三个键以上的组合热键时,可能会导致 Ctrl 或 Alt 键锁定。

所以我需要的方法是禁用掉 Windows 自己的 Win+F 热键,再直接把 Win+F 指定为 Everything 的热键。

通过修改注册表可以实现 1. 禁用所有 Win 组合键 或 2. 有选择的禁用若干 Win 组合键。首先给大家一份系统 Win 组合键列表供参考。

Hot Key Brief Description
Win-B set focus to the taskbar notification area
Win-D show the desktop same as “Show the Desktop” on context menu
Win-E open Computer
Win-F search for files
Win-Ctrl-F search for computers
Win-M minimise windows same as Alt-M
Win-Shift-M restore windows same as Ctrl-Z
same as “Undo” on context menu
Win-R open the Run dialog similar to “Run…” on start menu
Win-T cycle forwards through task buttons on taskbar
Win-Shift-T cycle backwards through task buttons on taskbar
Win-F1 open Windows Help and Support
Win-Break open System Properties
Win-1
Win-2

Win-0
Quick Launch shortcuts
    1. 禁用所有 Win 组合键

打开注册表(Win+R,输入 regedit),在下列位置新建一个 Value 为 NoWinKeys 的键值,设置为 1。

Key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
Value: NoWinKeys
Type: REG_DWORD
Default: 0

2. 有选择的禁用若干组合键,例如我需要禁用 Win+F

打开注册表(Win+R,输入 regedit),在下列位置新建一个 Value 为 NoWinKeys 的键值,设置为 F。

注意这里如果需要禁用多个,继续添加字母即可。

Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Value: DisabledHotkeys
Type: REG_SZ or REG_EXPAND_SZ

重启后生效。然后将 Everything 的热键设置一下即可。