Enable/Disable Numlock at Windows Startup

Solve a problem where Numlock is enabled in Microsoft Windows at startup with these steps.

Method 1 – Registry Setting

  1. Hold the Windows Key then press “R” to bring up the Run dialog box.
  2. Type “regedit“, then press “Enter“.
  3. Navigate to the following location in the registry:
    • .Default
    • Control Panel
    • Keyboard
  4. Change the value of InitialKeyboardIndicators
    • Set it to 0 to set NumLock OFF
    • Set it to 2 to set NumLock ON

PowerShell Script

Use the following PowerShell code:

Enable Num Lock:

  • Set-ItemProperty -Path 'Registry::HKU\.DEFAULT\Control Panel\Keyboard' -Name "InitialKeyboardIndicators" -Value "2"

Disable Num Lock:

  • Set-ItemProperty -Path 'Registry::HKU\.DEFAULT\Control Panel\Keyboard' -Name "InitialKeyboardIndicators" -Value "0"

SOURCE: https://www.technipages.com/enable-disable-numlock-windows-startup

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.