ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to: Set Numlock via RegEdit

    IT Discussion
    windows 7 windows 8 windows 8.1 windows 10 regedit set numlock
    5
    9
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • gjacobseG
      gjacobse
      last edited by

      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\Keyboard
      

      And set InitialKeyboardIndicators to 2

      0_1533044947169_2018-07-31 09_47_36-Registry Editor.png

      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.reg
      

      However for deployment you might use:

      regedit.exe /s \\server\share\setnumlock.reg
      

      Links used:
      Set NumLock

      Set keys using CMD

      JaredBuschJ 1 Reply Last reply Reply Quote 5
      • JaredBuschJ
        JaredBusch @gjacobse
        last edited by JaredBusch

        @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 InitialKeyboardIndicators setting.

        gjacobseG 1 Reply Last reply Reply Quote 1
        • gjacobseG
          gjacobse @JaredBusch
          last edited by

          @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 InitialKeyboardIndicators setting.

          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.

          JaredBuschJ 1 Reply Last reply Reply Quote 0
          • jmooreJ
            jmoore
            last edited by

            Good tip thanks!

            1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @gjacobse
              last edited by

              @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 InitialKeyboardIndicators setting.

              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.

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @JaredBusch
                last edited by

                @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 InitialKeyboardIndicators setting.

                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.

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @scottalanmiller
                  last edited by

                  @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 InitialKeyboardIndicators setting.

                  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 KeyboadDelay and KeyboardSpeed?

                  gjacobseG 1 Reply Last reply Reply Quote 0
                  • gjacobseG
                    gjacobse @JaredBusch
                    last edited by

                    @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 InitialKeyboardIndicators setting.

                    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 KeyboadDelay and KeyboardSpeed?

                    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.

                    1 Reply Last reply Reply Quote 0
                    • hobbit666H
                      hobbit666
                      last edited by

                      Good tip had someone on the phone last week saying their number lock wasn't staying on after reboots

                      1 Reply Last reply Reply Quote 0
                      • 1 / 1
                      • First post
                        Last post