How to Disable the Capslock Key in Windows - Windows Basics


Monday, March 1, 2021

How to Disable the Capslock Key in Windows

Windows doesn't provide any easy to find or use options to disable the Caps Lock key. However, by using free software like AutoHotKey or Registry tricks, you can disable the Caps Lock key on Windows 10.

If you're tired of accidentally pressing the Caps Lock key, here's an easy way to disable it on a Windows 10 keyboard.

A. Turn off the Caps Lock key with AutoHotKey

Using AutoHotKey you can do many things. One of those things is the ability to disable any key on the keyboard. In this case, we will disable the Caps Lock key using AutoHotKey.

1. First, download and install AutoHotKey.

2. Once installed, right-click on the desktop and choose New> Text Document.

3. In the text file, copy and paste the code below.

; Disable Caps Lock key

SetCapsLockState, AlwaysOff


4. Press Ctrl + S to save the file.

5. Close the text file.

6. Rename the text file to disableCapsLock.ahk. Make sure you replace the .txt file extension with .ahk. This file has now become an AutoHotKey script.

7. Double-click the newly created file.

Script to start running. You can see it on your taskbar.

Try pressing the Caps Lock key while the script is running and you will see that the key has no effect. If you want to use the Caps Lock key, exit the script by right-clicking the taskbar icon and choosing the Exit option. Alternatively, you can also temporarily stop the script by selecting the Pause option.

B. Disable the Caps Lock key using the Registry

Before making any changes, back up the Registry and then continue.

1. Search for regedit in the Start menu and open it.

2. Go to the following location.

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Keyboard Layout

3. Right click on the right panel and choose New> Binary Value.

Name the value as Scancode Map.

4. Double-click the value.

Enter the following binary value in the Value Data field.

00 00 00 00 00 00 00 00

02 00 00 00 00 00 3A 00

00 00 00 00

5. Click the OK button to save the changes.

6. Close the Registry.

7. Restart Windows.

You have successfully disabled the Caps Lock key on your keyboard.

No comments:

Post a Comment