Disable Caps Lock Key in Windows Vista

by Prasanna Vignesh 9. March 2007 05:45


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. Since it's not entirely useful anymore we'll learn how to disable it. If you aren't interested in the explanation you can skip to the bottom for the registry files.

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.

Here's the format of the binary data, with the important parts in bold and various colors:

00000000 00000000 0200000000 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 0300000000 00003A00 3A004600 00000000

Now that you've learned how these things work internally, you can download and extract the zipfile which contains the following files:

ChangeCapsToControl.reg Changes Caps Lock to be a Control key
ChangeCapsToShift.reg Changes Caps Lock to be a Shift key
SwitchCapsToScrollLock.reg Disables Caps Lock and swaps Scroll lock to be Caps Lock
KillCapsLock.reg Disables Caps Lock
DisableKeyboardRemap Uninstalls the preference by deleting the key

Once you've applied one of these registry files, you'll have to reboot your computer for it to work. To uninstall, you can use the uninstall registry tweak, or you can simply delete the Scancode Map key entirely.

Download Keyboard Mappings Registry Tweaks. KeyboardMappings.zip (1.52 kb)

Update: Thanks to lisa for pointing out - This should work in any version of Windows, including XP. We specialize in Vista here, so I often forget to mention that =)

Note: For more Windows Vista Tips, Tricks & Tweaks.

Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList
Digg It!DZone It!StumbleUponTechnoratiRedditDel.icio.usNewsVineFurlBlinkList

Tags:

Windows Vista

Comments

9/8/2009 5:20:07 AM #

notebook computers

I admire what you have done here. I like the part where you say you are doing this to give back but I would assume by all the comments that this is working for you as well.

notebook computers United States |

9/9/2009 9:56:01 PM #

torrent software

You got a really useful blog I have been here reading for about an hour. I am a newbee and your success is very much an inspiration for me. The first page doesn�t need to be just a dream anymore...

torrent software United States |

9/12/2009 4:12:24 AM #

movie torrents

That is some inspirational stuff. Never knew that opinions could be this varied. Thanks for all the enthusiasm to offer such helpful information here.

movie torrents United States |

9/13/2009 9:53:47 PM #

Waterproof Clothing

Couldn�t be written any better. Reading this post reminds me of my old room mate! He always kept talking about this. I will forward this article to him. Pretty sure he will have a good read. Thanks for sharing!

Waterproof Clothing United States |

9/14/2009 5:55:39 PM #

Best Diet Types

1 2 3 4 5 testing Smile

Best Diet Types Poland |

9/14/2009 6:11:51 PM #

Fishing Vacations

I believe this aspect is growing everywhere as business owners learn what it is. For example, Phoenix is much more sophisticated in this regards than here in Tucson. I average small business owner is still way behind in their understanding such incidents.

Fishing Vacations United States |

9/15/2009 2:21:48 AM #

age of conan guide

Me and my friend were arguing about an issue similar to this! Now I know that I was right. lol! Thanks for the information you post.

age of conan guide United States |

9/16/2009 3:39:03 PM #

free pinball

Me and my friend were arguing about an issue similar to this! Now I know that I was right. lol! Thanks for the information you post.

free pinball United States |

12/25/2009 4:21:02 AM #

Private Labeling


I enjoy reading your topic and i will share this site again if i have time again.,,to many work to be done

Private Labeling United States |

12/30/2009 7:10:29 PM #

Forever Marine Mask

This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article

Forever Marine Mask United States |

Comments are closed

Powered by BlogEngine.NET 1.5.0.7
Theme by Mads Kristensen, Modified by Prasanna Vignesh.



About Me

Prasanna Vignesh Prasanna Vignesh
Mobile application developer at ZSL. More...



RecentPosts

Calendar

<<  March 2010  >>
MoTuWeThFrSaSu
22232425262728
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar