How often do you use the Windows key that’s found on almost all keyboards today? Probably not too often, except when a program setup takes up the entire screen and you need to access your icons. If you press it accidentally, you need to press [Esc], which is a minor irritant. There’s a registry hack to disable the Windows key should you wish to do so.
Navigate to:
HLM\System\CurrentControlSet\Control\Keyboard Layout
Here, create a new Binary value (or modify the existing value) called “Scancode Map” and set it to the following. Don’t bother with what appears in the editing box—just type in the value below exactly as it is (you don’t need to use the spacebar):
00 00 00 00 00 00 00 00 03 00 00 00 00 00 5B E0
00 00 5C E0 00 00 00 00
Logging out and logging back in should bring the change into effect, but you might need to restart. In fact, you can change any key to any other! Essentially, each key has a code, and you need to specify how many keys you are remapping. Apart from lots of zeroes, you specify the code of the key you’re going to press, and you specify the code of the key you want it to become. For example:
The left [Alt] key is 38 00.
[Backspace] is 0E 00.
So the remapping of left [Alt] to [Backspace] would be 0e 00 38 00. Note the order. Now, there are eight pairs of zeroes at the beginning of the Scancode map, and four ending pairs of zeroes. Since we’re changing only one key, we need to use 02 00 00 00. (Two keys would be
03 00 00 00). After that comes the mapping, then the ending zeroes. So, to remap left [Alt] to [Backspace] would be
00 00 00 00 00 00 00 00 02 00 00 00 0E 00 38 00 00 00 00 00
Just visit www.usnetizen.com/fix_capslock.html for a complete list of Scancode maps. Also remember that the value to use to disable
a key is, of course, 00 00. Here are a few useful values.
[Caps Lock]: 3A 00
Left [Ctrl]: 1D 00
[Tab]: 0F 00
[Enter]: 1C E0
Left [Shift]: 2A 00
Right [Shift]: 36 00
Disabling [Caps Lock] would therefore be eight leading pairs of zeroes, followed by 02 00 00 00, followed by 00 00 (for the disabling), followed by 3A 00 (for [Caps Lock]), followed by four pairs of zeroes. Try changing someone’s [Enter] key to [Backspace]!
