There are no default keys to disable the Caps Lock function in Windows. However, if you need to do so for whatsoever reason, e.g. to avoid keying in cap-locked password, to play tricks on your friends, etc., you can make some changes to your Registry and get your Caps Lock key disabled.

To disable Caps Lock in your Windows XP or Vista, you can follow the steps below: –

a. Open your Notepad and copy the following lines into it:

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] “Scancode Map”=hex:00,00,00,00,00,00,00,00,02,00,00,00,00,00,3a,00,00,00,00,00


b. Save it as “nocapslock.reg“. Make sure the file’s format is “.reg” but not “.txt”, e.g. nocapslock.reg.txt.

c. Double click the “nocapslock.reg” file. You will be prompted with a message to confirm whether you want to add this file to the Registry. Click “Yes”.

d. Reboot your computer and you will find the Caps Lock key no longer in function.

In the event you want to restore the Caps Lock key:

a. Open your Registry. Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout

b. Delete the entire “Scancode Map” file or delete Scancode Map value. Alternately, open your Notepad can copy these lines into it. Execute the file like what you did earlier.

Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] “Scancode Map”=-

c. Reboot your computer and you will find your Caps Lock is enabled again.

Reference via