Take Control of Num Lock at Startup
Automatic Num Lock behavior is usually controlled by firmware, Windows startup settings, the sign-in screen, or keyboard hardware rather than by a separate application. This guide explains how to identify when Num Lock is being enabled, turn it off at the Windows sign-in screen, adjust startup behavior through UEFI or BIOS where available, and use Windows Registry settings carefully when firmware controls are limited. It also covers Fast Startup, laptop-specific limitations, troubleshooting steps, and the differences between full-size keyboards and compact devices. All methods rely on built-in controls, so no additional software is required.
When Num Lock keeps turning on by itself, the cause is usually not a hidden program. On most Windows PCs, the startup state of the numeric keypad is influenced by one of four places: the keyboard’s own key state, the Windows sign-in screen, firmware settings in UEFI or BIOS, or a Windows Registry value. You can change each of these with tools already included in the computer. The right method depends on whether Num Lock switches on before you sign in, only after reaching the desktop, or only when the computer wakes from sleep.
First, identify when Num Lock changes state
Before changing settings, observe the exact point at which the Num Lock indicator turns on. This prevents unnecessary Registry edits and makes it easier to find the setting that actually governs your machine.
- Before Windows appears: Firmware is the most likely source.
- At the Windows sign-in screen: The sign-in screen’s keyboard state or a Windows startup setting may be involved.
- Immediately after signing in: Your user profile’s keyboard configuration is more likely involved.
- After sleep, hibernation, or docking: Power management, Fast Startup, or external keyboard behavior may be responsible.
On a full-size keyboard, press Num Lock once and check the indicator light. On many laptops and compact keyboards, Num Lock may be combined with another key such as Fn, F11, or Insert. The key label and the laptop manual are more reliable than assuming a universal shortcut.
Turn Num Lock off at the Windows sign-in screen
If Num Lock is enabled when Windows displays the password or PIN prompt, turn it off there before signing in. Windows can retain that state, particularly after a normal shutdown. This is the least invasive option and should be tried first.
- Restart the computer rather than signing out.
- At the Windows sign-in screen, press Num Lock to turn the numeric keypad off.
- Confirm that the Num Lock light is off, if your keyboard has one.
- Sign in normally.
- Shut down Windows using Start > Power > Shut down.
- Turn the PC back on and check the sign-in screen again.
If the behavior returns after every cold boot, check UEFI or BIOS next. If it changes only after you reach the desktop, use the Windows Registry method described below.
Check UEFI or BIOS startup options
Many desktop motherboards and some laptops offer a firmware option called Boot Up NumLock State, NumLock on Boot, or a similar name. This setting is applied before Windows starts, so it is often the most dependable way to prevent automatic activation.
To enter firmware setup, restart the computer and press the key shown by the manufacturer during startup. Common keys include F2, Delete, Esc, and F10. On recent Windows systems, you can also reach it through Settings > System > Recovery > Advanced startup > Restart now, then choose Troubleshoot > Advanced options > UEFI Firmware Settings.
| Where Num Lock activates | Most likely control | Built-in action to try |
|---|---|---|
| Before the Windows logo | UEFI or BIOS | Set Boot Up NumLock State to Disabled or Off. |
| At the sign-in screen | Windows sign-in state | Turn it off at sign-in, then complete a normal shutdown. |
| After opening the desktop | User profile setting | Review InitialKeyboardIndicators in the Registry. |
| After sleep or hibernation | Fast Startup or device behavior | Test with Fast Startup disabled and reconnect external keyboards. |
Firmware menus vary widely. Look under sections such as Boot, Advanced, Keyboard Features, or Device Configuration. Save changes using the on-screen instructions, often the F10 key. If no Num Lock setting exists, do not change unrelated firmware options; proceed to Windows-level controls instead.
A firmware setting determines the keyboard state before the operating system loads. A Windows setting cannot always override it consistently at every stage of startup.
Use the Windows Registry carefully
Windows stores keyboard indicator preferences in a Registry value named InitialKeyboardIndicators. Editing it can help when Num Lock turns on after sign-in, but the exact effect can vary by Windows version, hardware, and firmware. Back up the value before making changes.
Back up and change the current user value
- Press Windows + R, type regedit, and select OK.
- Approve the security prompt if it appears.
- Navigate to HKEY_CURRENT_USER\Control Panel\Keyboard.
- In the right pane, double-click InitialKeyboardIndicators.
- Copy the existing value somewhere safe, then set the value to 0.
- Select OK, close Registry Editor, and restart the computer.
A value of 0 requests that keyboard toggle indicators, including Num Lock, start off for the current user. Some systems use larger numeric values because Windows preserves additional keyboard-state flags. If changing the value does not persist, restore the value you recorded rather than guessing at alternatives.
Consider the sign-in profile separately
The Windows sign-in screen runs under a different system profile, so your personal setting may not affect it. Advanced users may find a corresponding Keyboard key under HKEY_USERS\.DEFAULT\Control Panel\Keyboard. Change only the InitialKeyboardIndicators value, record the original value first, and restart to test. On managed work or school computers, policy may restore the setting, so contact the administrator instead of repeatedly editing the Registry.
Test Fast Startup and shutdown behavior
Fast Startup can preserve part of a system session during shutdown. That can make keyboard-state changes appear inconsistent, especially when comparing Restart with Shut down. To test it, open Control Panel > Hardware and Sound > Power Options > Choose what the power buttons do. Select Change settings that are currently unavailable, then clear Turn on fast startup if the option is available. Save the change and perform a full shutdown.
This is a diagnostic step, not necessarily a permanent recommendation. Fast Startup may reduce boot time on some machines. If disabling it solves the issue, decide whether predictable keyboard behavior is worth the slightly longer startup on your PC.
Account for external and compact keyboards
An external keyboard can contribute its own startup behavior. Wireless models may reconnect after Windows begins loading, while a keyboard with onboard memory may restore a saved state. Test with the external keyboard unplugged or powered off. If the issue disappears, try a different USB port, replace batteries if applicable, and consult the keyboard manufacturer’s support documentation for hardware-specific behavior.
Compact keyboards may not have a dedicated numeric keypad. Their Num Lock function can control an embedded number layer, often marked with small numerals on letter keys. In that case, the apparent “automatic Num Lock” issue may be a function-layer setting rather than the conventional keypad state. Use the keyboard’s documented Fn combination to disable that layer.
When the setting will not stay off
If Num Lock still enables itself, work through a controlled test: make one change, restart, and note the result. Avoid changing firmware, Registry, and power settings all at once, because you will not know which change mattered.
- Install pending Windows updates and restart afterward.
- Disconnect nonessential USB input devices during testing.
- Try a different keyboard to rule out a stuck key or onboard setting.
- Check whether a workplace device-management policy resets your preference.
- Restore the Registry backup if a change causes unwanted keyboard behavior.
If Num Lock is the only problem and there is no firmware option, turning it off at the sign-in screen and using a normal shutdown is often sufficient. For persistent desktop-only activation, the current-user Registry value is the most targeted built-in adjustment.











