I have an application to run on a dedicated kiosk. I want to disable any key on Windows7.

I want to block Alt+Ctr+Del, that users can't shutdown the system.

I want to disable Alt , Ctrl keys that users can't use Alt+Ctrl+Del, I use this Scancode Map

REGEDIT5 [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

But don't work for me!!!

How to use scancode map for disable alt+ctr+del?

  • 1
    Presumably this is the site you've been using so far: northcode.com/blog.php/2007/07/25/… ? Can you confirm you've rebooted the computer since updating the registry, and disabled the login screen (which requires ctrl+alt+del) as per support.microsoft.com/kb/308226 ?
    – tenorkev
    Jan 11, 2014 at 7:05
  • Thanks, I use this link and change version to 5, then rebooted my computer but don't work for me.
    – Niloo
    Jan 11, 2014 at 7:18

1 Answer 1



There are multiple issues in your .reg file:

  1. REGEDIT5 is not a valid identifier; use Windows Registry Editor Version 5.00 instead.
  2. The first line of the file is reserved for the registry editor version and should be followed by a blank line.
  3. You put at an extra space between Scancode and Map.
  4. 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

  • What is the type of key here- string, binary, DWORD, QWORD? Dec 11, 2014 at 18:42
  • Use binary. For google sleuths out there on Mac trying to swap LAlt and LWin, here is my binary: 00 00 00 00 00 00 00 00 03 00 00 00 38 00 5B E0 5B E0 38 00 00 00 00 00
    – Daryl Teo
    May 9, 2015 at 14:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .