How to Disable Caps Lock Key in Windows 7 or Vista

Posted: January 7, 2011 in Tips and Tricks, Vista, Windows 7

The caps lock key is one of those remnants of another age of computers, back when people used to shout at each other more often. Unless you’re in the accounting department, it’s probably not very useful, so today we’ll learn how to disable it.

Understanding How Windows Key Re-Mapping Works

Windows doesn’t have a default setting to allow for disabling the key, so what we have to do is re-map the key to something non-existent so as to completely disable it. To do this manually, you’d open up regedit.exe and browse down to the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout

Here’s the format of the binary data in the Scancode Map key, with the important parts in bold and various colors:

00000000 00000000 02000000 00003A00 00000000

Here’s how it works:

•    The first 16 zeros are just there to waste space.

•    The “02″ in bold represents how many keys you are going to re-map plus 1. (It really represents the length of the data, but whatever)

•    The orange bolded “0000″ is the key we actually want Windows to map TO, which in this case is nothing, or 0.

•    The blue bolded “3A00″ is the key we are mapping from, in this case the caps lock key.

•    The next 8 zeros are there to waste space as the null terminator.

You can map between multiple keys by incrementing the “02″ and then adding another of the colorful bold blocks in the middle. The 3A00 in the mix is the scan code. For example, if you wanted to disable the caps lock key and then change scroll lock into a caps lock key:

00000000 00000000 03000000 00003A00
3A004600 00000000

It might seem complicated, but it’s really fairly simple once you start working with it.

Comments
  1. There is visibly a bundle to realize about this. I think you made various good points in features also.

  2. Fantastic page! It is very informative and you are obviously very knowledgeable in this area.

  3. I really love your writing style. I bet you sweat glitter.

  4. I have added your post to my Reddit bookmarks I enjoy the details you provide here and can not wait to take a look when I get home.

  5. My spouse and I stumbled over here coming from a different website and thought I may as well check things out. I like what I see so i am just following you. Look forward to checking out your web page for a second time.

  6. Currently it seems like Movable Type is the preferred blogging platform available right now. (from what I’ve read) Is that what you are using on your blog?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s