-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Notebooks
- Notebook Software and How To Questions
- Is it possible to permanently lock the NumLock key ON?

Create an account on the HP Community to personalize your profile and ask a question
04-01-2019 02:19 PM
Is it possible to permanently lock the NumLock key ON? NumLock gets unpredictably "unlocked" with no notice. This is driving me nuts. It's bad enough the keyboard doesn't have a light that indiicates whether or not the NumLock is on.
04-02-2019 01:00 PM
@LarryG276 I have a few methods that may be useful in your situation, let me know which one works for you:
Method 1 – Registry Setting
- Hold the Windows Key then press “R” to bring up the Run dialog box.
- Type “regedit“, then press “Enter“.
- Navigate to the following location in the registry:
- HKEY_USERS
- .Default
- Control Panel
- Keyboard
- Change the value of InitialKeyboardIndicators
- Set it to 0 to set NumLock OFF
- Set it to 2 to set NumLock ON
Method 2 – 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"
P.S: Welcome to HP Forums! 😉
Let me know how that pans out,
If you feel I was helpful, simply click on Accept as Solution to help the community grow,
That said, I will have someone follow-up on this to ensure you've been helped,
Just in case you don't get back to us within 24 - 48hrs, and have a good day, ahead.
Riddle_Decipher
I am an HP Employee
Learning is a journey, not a destination.
Let's keep asking questions and growing together.
04-03-2019 11:21 AM
I tried both methods, but nothing changed. Regedit shows 2 is already selected.
Powershell - Unsuccessful in typing in (my typos) code. Unsuccessful in copying code from your email and pasting it in.
Do you have any other suggestions? Thanks!
04-03-2019 03:04 PM
@LarryG276 I'm afraid this may require advanced support, perhaps the smart friend services of HP could help you find a solution for this tweak,
I suggest you talk to HP support and discuss your options:
follow the below steps to get started:
1) Click on this link - www.hp.com/contacthp/
2) Click on "Continue as guest".
3) Enter the serial of your device.
4) Select the country from the drop-down.
5) Click on "Show Options".
Fill the web-form, to populate a case number and phone number for yourself!
Also, if you are having trouble navigating through the above options, it's most likely because the device is out of warranty, is yes? please send me a private message with the region you are contacting us from,
here's how private messages work: Click here for details.
Riddle_Decipher
I am an HP Employee
Learning is a journey, not a destination.
Let's keep asking questions and growing together.