![windows键被禁用](https://i-blog.csdnimg.cn/blog_migrate/2c9c811746d53afa859fe581307404ed.png)
windows键被禁用
![An Insert key popped off a keyboard.](https://i-blog.csdnimg.cn/blog_migrate/055d82f258d86551854b6101303772b1.png)
When you inadvertently press Insert on your keyboard, it toggles to Overtype mode. This means anything you type next will overwrite the text that follows the cursor. Fortunately, you can disable this annoying key in Windows 10.
当您无意中按下键盘上的插入时,它将切换到改写模式。 这意味着您接下来键入的任何内容都将覆盖光标后面的文本。 幸运的是,您可以在Windows 10中禁用此烦人的键。
Every key on your keyboard has a corresponding key scan code that tells Windows how to handle each keystroke. While you can’t turn off the Insert key by default, you can tell Windows to replace it with a null character in the Windows Registry.
键盘上的每个键都有一个对应的键扫描代码 ,该代码告诉Windows如何处理每个击键。 虽然默认情况下无法关闭Insert键,但是您可以告诉Windows在Windows注册表中将其替换为空字符。
使用SharpKeys禁用插入键 (Disable the Insert Key with SharpKeys)
SharpKeys is free software you can use to edit the specific Registry entry for you. It uses a graphical interface to remap keys on the keyboard. This tool makes it easy to make the necessary change to the Registry without actually having to open Registry Editor.
SharpKeys是免费软件,可用于为您编辑特定的注册表项。 它使用图形界面来重新映射键盘上的键。 使用此工具可以轻松地对注册表进行必要的更改,而无需实际打开注册表编辑器。
To do this, fire up a browser, head over to the SharpKeys GitHub page, and download the most recent release.
为此,启动浏览器,转到SharpKeys GitHub页面 ,然后下载最新版本。
After you install SharpKeys, open it from the Start menu, and then click “Add” when it opens.
安装SharpKeys后,从“开始”菜单中将其打开,然后在打开时单击“添加”。
![Click "Add."](https://i-blog.csdnimg.cn/blog_migrate/e6f634ce86a8d8b15334fe85f24dc69a.png)
Scroll through the list on the left and click “Special: Insert (E0_52),” click “Turn Key Off (00_00)” in the list on the right, and then click “OK” to remap the key.
滚动浏览左侧列表,然后单击“特殊:插入(E0_52)”,单击右侧列表中的“关闭密钥(00_00)”,然后单击“确定”以重新映射密钥。
![Click "Special: Insert (E0_52)," click "Turn Key Off (00_00)," and then click "OK."](https://i-blog.csdnimg.cn/blog_migrate/b6f96dc985f036c36341f4c476bc881e.png)
The value in the parentheses is the key scan code associated with it, so the Insert key’s code is “00_52.” We want to disable it, so we replace the code with the nonexistent “00_00.”
括号中的值是与其关联的键扫描代码,因此Insert键的代码为“ 00_52”。 我们要禁用它,因此我们将代码替换为不存在的“ 00_00”。
Next, click “Write to Registry,” and SharpKeys adds the values to the Windows Registry for you.
接下来,单击“写入注册表”,然后SharpKeys会为您将值添加到Windows注册表中。
![Click "Write to Registry."](https://i-blog.csdnimg.cn/blog_migrate/1777a821da336d57a102a7918c8ad6d6.png)
Click “OK.”
点击“确定”。
![Click "OK."](https://i-blog.csdnimg.cn/blog_migrate/c23fbb205b5714a9ba8bba777a26844b.png)
For the changes to take effect, you have to log out or restart your computer.
为了使更改生效,您必须注销或重新启动计算机。
You can also use SharpKeys to disable other annoying keys, like Caps Lock.
您还可以使用SharpKeys禁用其他烦人的按键,例如Caps Lock 。
通过注册表编辑器禁用插入键 (Disable the Insert Key via Registry Editor)
If you’re comfortable making changes to the Windows Registry, you can also disable the Insert key manually in the Registry Editor. You’ll be making the same change that SharpKeys performs in the background.
如果您愿意对Windows注册表进行更改,也可以在注册表编辑器中手动禁用Insert键。 您将进行与SharpKeys在后台执行的相同的更改。
The Registry Editor is a powerful tool, though. If it’s misused, it can render your system unstable or even inoperable. However, this is a pretty simple hack. As long as you follow the instructions, you shouldn’t have any problems.
注册表编辑器是一个功能强大的工具。 如果使用不当,可能会使您的系统不稳定甚至无法运行。 但是,这是一个非常简单的技巧。 只要您按照说明进行操作,就不会有任何问题。
If you’ve never worked with the Registry Editor before, you might want to read up on it a bit before you get started. Definitely back up the Registry and your computer before you make the following changes.
如果您以前从未使用过注册表编辑器,则可能需要在开始之前对其进行一些阅读 。 在进行以下更改之前, 请务必备份注册表和计算机 。
For extra safety, you might want to create a System Restore point before you continue. This way, if something goes wrong, you can just roll back to a time before things went haywire.
为了提高安全性,您可能需要先创建系统还原点,然后再继续。 这样,如果出现问题,您可以回滚到发生麻烦之前的时间。
When you’re ready, open the Registry Editor and navigate to the following key in the left sidebar:
准备就绪后, 打开注册表编辑器并导航到左侧栏中的以下键:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout
![The "Keyboard Layout" option in "Registry Editor."](https://i-blog.csdnimg.cn/blog_migrate/c2fdb9b62cfe96cf13d6e139dd542996.png)
Right-click “Keyboard Layout,” select “New,” and then click “Binary Value.”
右键单击“键盘布局”,选择“新建”,然后单击“二进制值”。
![Right-click "Keyboard Layout."](https://i-blog.csdnimg.cn/blog_migrate/2f9bedc0dfea65c7fb082172162af907.png)
Although the name of the value is arbitrary, you should choose something memorable in case you have to find it again and make any changes. For example, you could name it “Insert Remap.”
尽管值的名称是任意的,但您应该选择一个令人难忘的内容,以防您不得不再次找到它并进行任何更改。 例如,您可以将其命名为“插入重映射”。
Double-click the value, and then set the value data to the following:
双击值,然后将值数据设置为以下内容:
00 00 00 00 00 00 00 00 02 00 00 00 00 00 52 E0 00 00 00 00
![Type the value: 00 00 00 00 00 00 00 00 02 00 00 00 00 00 52 E0 00 00 00 00.](https://i-blog.csdnimg.cn/blog_migrate/2724628a5c800c8f4bbe1c96682d3e4c.png)
The order is important here. It tells the OS how to handle the remap and what to do when you press the key.
这里的顺序很重要。 它告诉OS如何处理重映射以及按键时要做什么。
The first 16 zeroes act as the header and will remain set to all zeroes. You can ignore these.
前16个零用作标头,并将设置为全零。 您可以忽略这些。
![The first 16 zeroes in the header.](https://i-blog.csdnimg.cn/blog_migrate/892fa99788ba84da42cfe7d3d79fef80.png)
The next hexadecimal number specifies how many remaps are in the value plus one—the null entry at the end—followed by six more zeroes.
下一个十六进制数字指定值中有多少个重映射,再加上一个(末尾为空),再加上六个零。
![This is the number of remaps (plus one), followed by 6 zeroes.](https://i-blog.csdnimg.cn/blog_migrate/8a86e732329ad15a6555771027d5e788.png)
The next two digits are the scan code to the key to which we want Windows to remap the Insert key. In this case, we set it to do nothing (00 00).
接下来的两位数是我们希望Windows重新映射插入键的键的扫描代码。 在这种情况下,我们将其设置为不执行任何操作(00 00)。
![The scan code to the key we're remapping Insert to: "00 00."](https://i-blog.csdnimg.cn/blog_migrate/5798e54345681dea52ac0d7da5e40f30.png)
After that, the following scan code is the Insert key (52 E0).
之后,以下扫描代码为插入键(52 E0)。
![The scan code of the Inert key "52 E0."](https://i-blog.csdnimg.cn/blog_migrate/e9c990e985df3c0ef3d7cd1246c88314.png)
Finally, the last eight zeroes signify the null entry and the end.
最后,最后八个零表示空条目和结尾。
![The null entry "00 00 00 00."](https://i-blog.csdnimg.cn/blog_migrate/84e9fdc5b7f697cf5b5f84348a198946.png)
As long as you follow the scheme above, you can map multiple keys with a single value. First, increment the “02.” Then, type both the scan code for the remapped key and the default key before the null entry (the final eight zeroes).
只要遵循上述方案,就可以将多个键映射为一个值。 首先,增加“ 02”。 然后,在空条目(最后八个零)之前键入重新映射的键的扫描代码和默认键。
![The "Edit Binary Value" dialog box with more remaps added.](https://i-blog.csdnimg.cn/blog_migrate/2d4fefaef9aee42fc292cd5dcaee6126.png)
It might seem daunting at first, but once you understand which set of values do what, it gets easier.
乍一看似乎令人生畏,但是一旦您了解了哪些值可以做什么,就变得容易了。
下载我们的一键式注册表黑客 (Download Our One-Click Registry Hack)
If you’d rather not edit the Windows Registry, you can download our Disable Insert Key registry hack. Just open the ZIP file, double-click “DisableInsertKey.reg,” and then click “Yes” when prompted to add the information to your registry.
如果您不想编辑Windows注册表,则可以下载我们的禁用插入键注册表hack 。 只需打开ZIP文件,双击“ DisableInsertKey.reg”,然后在提示将信息添加到注册表中时单击“是”。
![Opening the REG file to Disable the Insert key.](https://i-blog.csdnimg.cn/blog_migrate/dfbd62de2a42a305ff553a4b3215fbb8.png)
These REG files add the same registry settings we covered above. If you’d like to see what this (or any other) REG file will do before you run it, right-click the file, and then select “Edit” to open it in Notepad.
这些REG文件添加了我们上面介绍的相同的注册表设置。 如果您想在运行它之前查看此(或任何其他)REG文件的作用,请右键单击该文件,然后选择“编辑”以在记事本中打开它。
That’s all there is to it! We’ve also put together a guide to help you make your own Registry hacks, if you’re interested.
这里的所有都是它的! 如果您有兴趣,我们还会整理一份指南,以帮助您进行自己的Registry hack 。
If you can’t make changes to the registry on your current Windows system, you can also just pry the Insert key off your keyboard. This will be easier to do on some keyboards than others. However, you probably shouldn’t try this low-tech method on a laptop keyboard.
如果您无法在当前Windows系统上更改注册表,也可以从键盘上撬出Insert键。 在某些键盘上,这样做比在其他键盘上更容易。 但是,您可能不应该在笔记本电脑键盘上尝试这种低技术含量的方法。
翻译自: https://www.howtogeek.com/666698/how-to-disable-the-insert-key-in-windows-10/
windows键被禁用