Remap keyboard with scancode map for disable alt+ctr+del
Solution
There are multiple issues in your .reg
file:
-
REGEDIT5
is not a valid identifier; useWindows Registry Editor Version 5.00
instead. - The first line of the file is reserved for the registry editor version and should be followed by a blank line.
- You put at an extra space between
Scancode
andMap
. - Each comma-separated hexadecimal value should not carry extra spaces.
Here's the fixed, working version:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,09,00,00,00,00,00,5b,e0,00,00,5c,e0,00,00,5d,e0,00,00,44,00,00,00,1d,00,00,00,38,00,00,00,1d,e0,00,00,38,e0,00,00,00,00
As per the article linked by tenorkev, these are the keys which will be disabled:
5b e0 Left Windows Key
5c e0 Right Windows Key
5d e0 Windows Menu Key
44 00 F10
1d 00 Left Ctrl
38 00 Left Alt
1d e0 Right Ctrl
38 e0 Right Alt
Make sure to restart afterwards in order to apply the changes. As an alternative you might want to use SharpKeys to disable or remap any key.
Further reading
- How to add, modify, or delete registry subkeys and values by using a .reg file