Windows 7 : How to Disable the Caps Lock Key

Posted January 15, 2011 by Siddharth Bose in Windows 7

As typewriters are a distant thing of the past, there is no longer a great need for the Caps Lock key. It is a source of great irritation if it gets turned on accidentally. This article shows how to disable the Caps Lock key in Windows 7.

This process involves the remapping of the keys by using the registry editor. Only proceed if you are familiar with editing the registry.

Type regedit in the windows run dialog box and press enter.

Once the editor is open, navigate to the following key

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout

Right click and add a new binary value and rename it as Scancode Map

Change the value of the created binary key to

00000000 00000000 02000000 00003A00 00000000

Exit the registry editor, restart your system, and you are set. The Caps Lock key is now disabled.

The Conversation

Follow the reactions below and share your own thoughts.

  • A guy in DC

    Can I assign it some other task, like open browser? I don’t find I hit the capslock key by mistake very often, so it would be good to assign it something. Perhaps even requiring a double stroke to launch? Is that asking too much? : )

  • Just in case someone else may need this: If you don’t need to disable the Caps Lock key, but you want to have the Shift Key turn it off instead (which I much prefer because I actually use the Caps Lock key. Seldom, but I do), this is the procedure:

    Control Panels > text Services and Input Languages > Advanced Key Settings > To turn off Caps Lock: Press Shift Key – Radio Button.

  • Roxz

    Nice tip, did worked for me.

  • Björn

    In a .reg file it used to work like this

    [HKEY_CURRENT_USER\Keyboard Layout]
    “Scancode Map”=hex:00,00,00,00,00,00,00,00,02,00,00,00,2A,00,3A,00,00,00,00,00

    Personally, I used this:

    [HKEY_CURRENT_USER\Keyboard Layout]
    “Scancode Map”=hex:00,00,00,00,00,00,00,00,03,00,00,00,2A,00,3A,00,34,00,53,00,00,00,00,00

    Explanation by fields:
    0x00000000 Header: Version. all zeroes.
    0x00000000 Header: Flags. all zeroes.
    0x00000003 Three entries in the map (including null entry).
    0x003A002A ShiftLock (0x3A) => LeftShift (0x2A)
    0x00530034 Keypad “,” (0x53) => “.” (0x34)
    0x00000000 Null terminator.
    Full explanation was at

    The only differences to the procedure described by Siddharth are:
    1: I used HKEY_CURRENT_USER\Keyboard Layout because other people may be using my machine
    2: I also remapped the (German) number pad comma to a period
    3: I changed shift lock to simple shift.

    This worked splendidly on XP, but unfortunately fails on Windows7, and I have no idea why.