How to disable Caps Lock key in Windows 7 or Vista

Source: Internet
Author: User
How to disable Caps Lock key in Windows 7 or Vista

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.

If you're using Mac OS x instead, you can follow our guide on how to disable Caps Lock in OS X using a registry hack, or you can map any key to any key if you really want.

Note:This article was originally published years ago, but we 've updated it and are republishing for everybody that might not have seen it.Image by Laurence vagner

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 varous colors:

00000000 000000000200000020173a0000000000

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 000000000300000020173a00 3a00460000000000

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

Downloadable registry hack to disable or remap the Caps Lock key

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 Uninstallthe 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

 

 

 

Although the title is a shielded capital key, it is actually a tutorial for ing keyboard keys.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.