How ToSoftwareTech News

How to Disable Num Lock on a PC

Learn How to Disable Num Lock on a PC. The Numlock key on a contemporary keyboard is arguably the most pointless and annoying. With just one careless tap, some of your keys will grow in number. How can Numlock be permanently disabled on a computer?

This is a particular issue with laptop keyboards since numbers are written on the regular keys rather than a numeric keypad. And the Num lock is someplace up top, where you usually find yourself tapping it as you reach for the Home button.

The Problem with the Numlock Key on PC

How to Disable Num Lock on a PC

Like the Caps Lock button, the num lock key is a toggle. Can’t you tap it again to unlock it if you accidentally press Numlock?

Yes, you can, but that only works in exceptional circumstances. You need a more long-lasting fix if Numlock keeps turning on your computer. Let us learn How to Disable Num Lock on a PC. The Numlock key on a contemporary keyboard is arguably the most pointless and annoying. With just one careless tap, some of your keys will grow in number. How can Numlock be permanently disabled on a computer?

The Numlock not only disrupts your focus and messes up whatever you are working on but also wastes a lot of time and effort fixing the error. And because so few people use a number pad, it is practically never helpful, unlike the Caps Lock key.

Read more: How to Use Windows 10 Remote Desktop

Why Is My Computer Constantly Activating Numlock

The Numlock indication may appear regularly on a PC for one of three causes.

Initially, by chance. This is the most frequent cause since many quick typists accidentally touch the Numlock key. Let us learn How to Disable Num Lock on a PC. The Numlock key on a contemporary keyboard is arguably the most pointless and annoying. With just one careless tap, some of your keys will grow in number. How can Numlock be permanently disabled on a computer?

Additionally, it could be pre-activated. The Numlock is generally turned off when your computer starts up, but a bug or a change in the relevant setting might make it active every time.

Finally, a software problem might be the cause. The Num Lock occasionally malfunctions and turns on without hitting the key. Due to the difficulty in identifying the error’s origin, this is the most challenging problem to resolve.

Read more: How to Delete Files in Windows 10

How to Disable the Num Lock

Accidentally pressing the number lock key while typing is the most common issue. Using AutoHotkey to disable the key is simple to repair.

Using AutoHotkey, turn off the numeric keypad lock.

For Windows 10 and 11, AHK is a little tool for crucial mapping and making unique hotkeys. Additionally, simple tasks like making key binds need relatively little coding, even though it uses scripts. For instance, by adding just one line, we may deactivate Numlock:

NumLock: Return

Yes, it is simple. The process for setting up AutoHotkey on your computer and running this script is detailed below.

  • Get AutoHotkey first by downloading it from the official website.
  • To install AutoHotkey on your computer, launch the downloaded setup.
  • Anywhere you have AutoHotkey installed, you can write an AHK script. Any folder’s space can be filled by choosing New > AutoHotkey Script from the context menu.
  • Please give it a proper name, then press Enter. Right-click the file and choose “Open with > Notepad” to edit the script.
  • A tonne of information in the file is already setting things up for you. Ignore that and start a new line with the following:
  • The file contains a tonne of information already preparing things for you. Ignore that and begin a new line by writing:
  • Save the document, then close Notepad. Double-click the script to execute it. The Numlock key won’t function anymore. You can complete the hand anytime by right-clicking on the AHK system tray icon and selecting Exit.

It’s essential to remember that some programs (mainly video games) may conflict with AHK. Therefore it’s frequently a good idea to run the script by right-clicking on it and choosing Run as Administrator. By receiving priority, the script can execute ahead of all other applications.

SharpKeys: How to Disable Num Lock on a PC

There are more options besides AutoHotkey for remapping keys in Windows. You also have SharpKeys, a GUI-based application that does much the same function.

Other tools exist for remapping keys in Windows than AutoHotkey. You also have SharpKeys, a GUI-based program that performs essentially the same task.

Instead of intercepting keypresses like AHK, SharpKeys modifies the Windows registry directly. Because of this, it isn’t quite as flexible as AHK’s scripting system, but we need a simple tool to remap a single key.

  • Visit the utility’s GitHub website to download it. You may download an MSI installation or a zip file that functions as portable software if you like.
  • Once SharpKeys has been installed or extracted, launch the application.
  • All key bindings you assign in SharpKeys are displayed in the main window. Click the Add button to start a new one. By pressing this, the Add New Key Mapping box is up, displaying parallel lists of keys and functions you can use in their stead.
  • Finding a particular key manually might take some time, so choose Type Key from the list in the left pane and press the Numlock key on your keyboard. Once SharpKeys has recognized the keypress, click OK to proceed.
  • Turning the key off by default is the option on the right, and this is what we need. Just click OK once more.
  • As you can see, a new entry outlining the modification has been added to the main screen. Use the Write to Registry button to make the change.

The result is the same as with an AHK script: your keyboard’s Numlock key will no longer function. Unlike a hand, this requires you to restart SharpKeys to undo the modification rather than simply closing the application.

Set the registry’s default numeric lock state to off

The issue for many folks isn’t that they unintentionally hit the Numlock key; instead, Numlock is turned on by default on their computer.

Let’s be clear about one thing: altering Numlock’s default behaviour is not an easy fix. It necessitates changing the pertinent setting in the registry or the BIOS.

Since you can always turn off Numlock manually each time your computer starts, this isn’t a problem that must be fixed. Better still, whether or not Num Lock was on by default, the AHK script we explain in Fix 5 takes care of automatically deactivating it.

Here is the step-by-step process to modify the Registry setting if you still want to.

  • Find Regedit in the Start Menu to launch the Registry Editor.
  • Go to the left panel and choose HKEY USERS. Default control PanelKeyboard. In the top address bar, you may also add this address after the root as follows:
  • On the right side are several keys, one of which is InitialKeyboardIndicators. To change this entry’s value, double-click on it.
  • To have Numlock shut off at startup automatically, set the value to 0. To save the modifications, click OK and then exit Regedit. The updated setting will go into effect when you next reboot the computer.

Set the BIOS’s default numeric lock state to off.

The default status of Numlock on most laptops and desktop computers may also be changed through the BIOS settings. Unlike a Registry modification, which Windows frequently can reverse, this is typically a more durable remedy.

However, because BIOS layouts vary from motherboard to motherboard, there is no particular process for altering the Numlock status. Go around your computer’s BIOS settings and look for anything that says Num Lock; that is often the default option.

Use AutoHotkey to Permanently Disable Num Lock

We’ve already shown how to use AHK to remap the Numlock key to nothing, but what if you want to keep Num Lock completely disabled? There are two approaches to this.

Utilizing AHK’s built-in SetNumLockState function is the first approach. This allows you to prevent the Numlock from ever being enabled, no matter how many times a program (or unintentional keypress) attempts. Add the below lines to a brand-new AutoHotkey script and save it:

Force single instance

Persistent

Off for SetNumLockState

AlwaysOff for SetNumLockState

Return

CheckNumlock:

State is equal to GetKeyState(“Numlock,” “T”)

State, 1 if equal

{

Off for SetNumLockState

}

Return

By running this script while logged in as Administrator, Numslock will never reactivate on your machine.

How to Disable Num Lock on Computer The Best

Using an AutoHotkey script that periodically checks the status of Num Lock and turns it off as necessary is the most secure approach to totally deactivating Numlock on your PC and keeping it that way.

However, not all users require such a detailed script. A one-line AHK script is sufficient if you only want to turn off the hardware Numlock key on your keyboard.

You may either dig through the registry or update the BIOS settings to change the default state of Numlock at startup. If any of those alternatives seem too complicated for you, you may press it once each time your PC boots.

Back to top button