Num lock button always on

image_pdfimage_print

Turn on the NUMLock key

With the help of Powershell, the responsible registry value can be set so that the NUMLock key is always active after a restart (system-wide).

# Check the num lock settings
Get-ItemProperty -Path "Microsoft.PowerShell.Core \ Registry :: HKU \ .DEFAULT \ Control Panel \ Keyboard" Name InitialKeyboardIndicators
Get-ItemProperty -Path "Microsoft.PowerShell.Core \ Registry :: HKCU \ Control Panel \ Keyboard" -Name InitialKeyboardIndicators

# Set Num-Lock to enabled = value 2
Set-ItemProperty -Path "Microsoft.PowerShell.Core \ Registry :: HKU \ .DEFAULT \ Control Panel \ Keyboard" -Name InitialKeyboardIndicators -Value 2
Set-ItemProperty -Path "Microsoft.PowerShell.Core \ Registry :: HKCU \ Control Panel \ Keyboard" -Name InitialKeyboardIndicators -Value 2