I was looking for a way to disable the CAPS LOCK functionality in windows. Unfortunately all solutions are about remapping it to NOTHING or other keys. I am a gamer and want to use the CAPS LOCK key for in-game function but I don't want Windows to CAPITALIZE everything after I use caps lock (for example using CAPS lock for changing target in an space FPS which uses WASD to fly).


CAPS LOCK is mapped to "Change Target" in my gam

I press CAPS Lock, Windows from now on will capitalize all my typed text

I shoot my target but I need assistance, so I enter the chat now I want to type but all the letters are capitalized

So to avoid capitalized text I again press CAPS LOCK but then my target is changed, however now I cn type with normal text.

So is there any trick to disable capitalizing functionality in Windows without having to remap the CAPS LOCK key to something else?

In short: I want it to be detected by games etc without enabling capitalized text.

  • 1
    Why not remap Caps Lock to some other key that you don't use - F12 maybe, or backslash - then tell the game to use that key for "Change Target"? – Harry Johnston Oct 22 '12 at 23:18
  • 1
    @HarryJohnston NumLocker works great. – user144773 Oct 23 '12 at 6:39

There is one way to achieve the result you want, but it's not ideal. You could remap actual keys so capslock state does not affect them. In other words, to ignore capslock modifier. This works (in fact I'm writing this with capslock ON and modified keyboard - but there is a glitch - if effectively also disables producing capital letters with shift. While there is possibility to make a separate mapping for that, it's not recognized by any programs I tried (with the exception of layout mapper tester itself). So whenever I need to put a capital, I have to switch to normal keyboard layout (via ctl+alt+digit shortcut) - not super convenient, but it does not change caps state!

I've used Microsoft keyboard layout Creator 1.4 to build the layout.

Some background information on how the keyboard evens are actually processed (to add to your discussion with soandos: (simplified):
when a key is pressed it produces a scancode. This scancode is processed by windows (keyboard driver) and translated into virtual key. This virtual key (value) is then sent to application. For capslock VC_CAPITAL is being sent (and interpreted by your game). Virtual code is not character key yet. After receiving VK_CODE (and maybe reacting somehow to it) application will ask OS for actual character code. Now what code is returned to application depends on several factors OS keeps track of - capslock status being one of them. That's why capslock works across apps - as it's being tracked by OS and not (only) an app. More here

  • that's one possible solution, better than last answer, however NumLocker (freeware) seemed to work perfectly for me. – user144773 Oct 22 '12 at 0:02
  • @GamErix Ah good - nice little utility, worth to know. It's pluggable architecture so a lot is possible with dedicated 'plugins'. – wmz Oct 22 '12 at 0:26

What you are asking for is not possible. If a game detects a key, it can make it do whatever it wants (in this case enter capitalized text). There is no way to change that without changing the code for the game.


Hitting the caps lock key is in most cases a hardware thing (a light may go on etc). That behavior is then mapped by whatever application you are using at the time. If your game decided to ignore that, it could. If it wanted to make every letter you typed after that an 'A' it could. In this case, it decided to follow convention and make letters capitalized if the caps lock key is on.

Once you leave the game, the caps lock key will still be on because its a hardware thing. Windows sees that, and also decides to follow convention and make your letters capitalized.

  • 1
    please explain why the CAPS LOCK command cannot be intercepted? I want the key be able to be detectable but at the same time not enabling "CAPS LOCK" in windows. This has to be possible. – user144773 Oct 21 '12 at 19:28
  • maybe this is more clear: "I'm wondering if there is a way to actually just disable the function of the key (as a caps toggle) without actually remapping the key itself?" – user144773 Oct 21 '12 at 19:30
  • nono it's not the game but WINDOWS capitalizes the text. – user144773 Oct 21 '12 at 19:30
  • basicly it goes this way: CAPS LOCK -> hardware switch -> I type 'a' -> Windows Sends 'A' to the Game. – user144773 Oct 21 '12 at 19:46
  • so I want to send 'a' directly to the game. – user144773 Oct 21 '12 at 19:47

I recently ran into this exact issue, so I made my own keyboard layout using KbdEdit where the letter keys ignore caps lock (without changing the behavior of shift). The layout is publicly available here; simply run the installer and switch to the new layout in your language bar.


Some keyboards (such as those from WASD Keyboards) have hardware DIP switches that allow you to modify the function of certain keys, including CAPS LOCK. In the case of the WASD V2 keyboards, turning on Switch 3 will let CAPS LOCK works like the left control key.

V2/V2B User's Guide


To quickly and simply solve your problem of inadvertently pressing the CapsLock key, download and install 'CapsUnlock' - a free app. Then to enable CapsLock you have to hold down the Shift key and press the CapsLock key; pressing the CapsLock key only doesn't turn it on. To turn off CapsLock, just press the CapsLock key. Lots easier than changing the Registry.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy