How do I disable or enable the Num Lock key at startup?

Num lock on keyboardMicrosoft Windows users can adjust how Windows handles the Num Lock status by editing the Windows Registry. See the Registry help page for additional information about the Windows Registry and potential problems that may occur if edited improperly.

Tip: In most cases, you must be logged into Windows with an account that has admin-level privileges to access the Windows Registry.

Windows 8 / 8.1

Note: You must be logged into Windows 8 with a local account and have administrator privileges to update the Windows Registry. If you log in with a Microsoft account, your updates to the registry will not be saved.

  1. Press the Windows key + R on your keyboard to open the Run window.
  2. Type regedit in the Open text box and press Enter to open the Windows Registry editor. If a User Account Control dialogue windows opens, click the Yes button to continue.
  3. In the Registry, open the below folders:

    HKEY_CURRENT_USER\
    Control Panel\
    Keyboard\
     
  4. Within the keyboard folder, there should be a string value named "InitialKeyboardIndicators" with a value of 0, 1, or 2. Below is the explanation of each of these values.

    0 = Num Lock is turned OFF after the logon.
    1 = Disable Num Lock.
    2 = Numlock is turned ON after the logon.

Windows Vista & 7

  1. Click Start and type regedit in the Search programs and files text field to open the Windows Registry editor. If a User Account Control dialogue windows opens, click the Yes button to continue.
  2. In the Registry, open the below folders:

    HKEY_CURRENT_USER\
    Control Panel\
    Keyboard\
     
  3. Within the keyboard folder, there should be a string value named "InitialKeyboardIndicators" with a value of 0, 1, or 2. Below is the explanation of each of these values.

    0 = Num Lock is turned OFF after the logon.
    1 = Disable Num Lock.
    2 = Numlock is turned ON after the logon.

Windows NT, 2000, XP

  1. Click Start, click Run, and type regedit to open the Windows Registry editor.
  2. In the Registry, open the below folders:

    HKEY_CURRENT_USER\
    Control Panel\
    Keyboard\
     
  3. Within the keyboard folder, there should be a string value named "InitialKeyboardIndicators" with a value of 0, 1, or 2. Below is the explanation of each of these values.

    0 = Num Lock is turned OFF after the logon.
    1 = Disable Num Lock.
    2 = Numlock is turned ON after the logon.

Other users and other methods

You can also change how the computer handles the Num Lock functionality when the computer first boots up through the computer's CMOS setup.

Once in the setup, you can often find a setting for enabling or disabling the Num Lock on boot through the Basic or Advanced menu or section.

Additional information

  • See the Num Lock definition for further information and related links.