How to: Set Numlock via RegEdit
- 
 We had a need to set the NUMLOCK for a number of computers. They us an ERP program, and found that while Windows was set to default it to ON, it didn't always do so. So - enter Registry modification using CMD and pushed either by script or ScreenConnect Using my computer as a base, I found and change the key for setting NumLock. Computer\HKEY_USERS\S-1-5-18\Control Panel\KeyboardAnd set InitialKeyboardIndicatorsto2 Next - perform the necessary export of the key, alternately; this is the text from just that key export: Windows Registry Editor Version 5.00 [HKEY_USERS\.DEFAULT\Control Panel\Keyboard] "InitialKeyboardIndicators"="2" "KeyboardDelay"="1" "KeyboardSpeed"="31"File was saved as SetNumLock.reg.For testing, I set on my computer, and from CMD ran regedit.exe /s setnumlock.regHowever for deployment you might use: regedit.exe /s \\server\share\setnumlock.reg
 Links used: 
 Set NumLock
- 
 @gjacobse said in How to: Set Numlock via RegEdit: Windows Registry Editor Version 5.00 [HKEY_USERS\.DEFAULT\Control Panel\Keyboard] "InitialKeyboardIndicators"="2" "KeyboardDelay"="1" "KeyboardSpeed"="31"Why include settings that you are not wanting to modify? You should only include the InitialKeyboardIndicatorssetting.
- 
 @jaredbusch said in How to: Set Numlock via RegEdit: @gjacobse said in How to: Set Numlock via RegEdit: Windows Registry Editor Version 5.00 [HKEY_USERS\.DEFAULT\Control Panel\Keyboard] "InitialKeyboardIndicators"="2" "KeyboardDelay"="1" "KeyboardSpeed"="31"Why include settings that you are not wanting to modify? You should only include the InitialKeyboardIndicatorssetting.Very good point - My answer is just that is what was exported, and generally not making REGEDIT modifications, didn't remove. In this case, you are correct - why export the extra. so really you only need the one entry. 
- 
 Good tip thanks! 
- 
 @gjacobse said in How to: Set Numlock via RegEdit: @jaredbusch said in How to: Set Numlock via RegEdit: @gjacobse said in How to: Set Numlock via RegEdit: Windows Registry Editor Version 5.00 [HKEY_USERS\.DEFAULT\Control Panel\Keyboard] "InitialKeyboardIndicators"="2" "KeyboardDelay"="1" "KeyboardSpeed"="31"Why include settings that you are not wanting to modify? You should only include the InitialKeyboardIndicatorssetting.Very good point - My answer is just that is what was exported, and generally not making REGEDIT modifications, didn't remove. In this case, you are correct - why export the extra. so really you only need the one entry. Even if the export contains it, you are changing user preferences at this point. THis is a bad thing to force without a valid reason. You have a reason for the numlock, but not for the others. 
- 
 @jaredbusch said in How to: Set Numlock via RegEdit: @gjacobse said in How to: Set Numlock via RegEdit: @jaredbusch said in How to: Set Numlock via RegEdit: @gjacobse said in How to: Set Numlock via RegEdit: Windows Registry Editor Version 5.00 [HKEY_USERS\.DEFAULT\Control Panel\Keyboard] "InitialKeyboardIndicators"="2" "KeyboardDelay"="1" "KeyboardSpeed"="31"Why include settings that you are not wanting to modify? You should only include the InitialKeyboardIndicatorssetting.Very good point - My answer is just that is what was exported, and generally not making REGEDIT modifications, didn't remove. In this case, you are correct - why export the extra. so really you only need the one entry. Even if the export contains it, you are changing user preferences at this point. THis is a bad thing to force without a valid reason. You have a reason for the numlock, but not for the others. He did this because of a request from management to enforce it for all users, not for him. 
- 
 @scottalanmiller said in How to: Set Numlock via RegEdit: @jaredbusch said in How to: Set Numlock via RegEdit: @gjacobse said in How to: Set Numlock via RegEdit: @jaredbusch said in How to: Set Numlock via RegEdit: @gjacobse said in How to: Set Numlock via RegEdit: Windows Registry Editor Version 5.00 [HKEY_USERS\.DEFAULT\Control Panel\Keyboard] "InitialKeyboardIndicators"="2" "KeyboardDelay"="1" "KeyboardSpeed"="31"Why include settings that you are not wanting to modify? You should only include the InitialKeyboardIndicatorssetting.Very good point - My answer is just that is what was exported, and generally not making REGEDIT modifications, didn't remove. In this case, you are correct - why export the extra. so really you only need the one entry. Even if the export contains it, you are changing user preferences at this point. THis is a bad thing to force without a valid reason. You have a reason for the numlock, but not for the others. He did this because of a request from management to enforce it for all users, not for him. He has a reason to enforce the KeyboadDelayandKeyboardSpeed?
- 
 @jaredbusch said in How to: Set Numlock via RegEdit: @scottalanmiller said in How to: Set Numlock via RegEdit: @jaredbusch said in How to: Set Numlock via RegEdit: @gjacobse said in How to: Set Numlock via RegEdit: @jaredbusch said in How to: Set Numlock via RegEdit: @gjacobse said in How to: Set Numlock via RegEdit: Windows Registry Editor Version 5.00 [HKEY_USERS\.DEFAULT\Control Panel\Keyboard] "InitialKeyboardIndicators"="2" "KeyboardDelay"="1" "KeyboardSpeed"="31"Why include settings that you are not wanting to modify? You should only include the InitialKeyboardIndicatorssetting.Very good point - My answer is just that is what was exported, and generally not making REGEDIT modifications, didn't remove. In this case, you are correct - why export the extra. so really you only need the one entry. Even if the export contains it, you are changing user preferences at this point. THis is a bad thing to force without a valid reason. You have a reason for the numlock, but not for the others. He did this because of a request from management to enforce it for all users, not for him. He has a reason to enforce the KeyboadDelayandKeyboardSpeed?In this case - no. but they are the defaults.. but no - no reason to enforce. you made a valid point. Why change more than what is needed. 
- 
 Good tip had someone on the phone last week saying their number lock wasn't staying on after reboots 




