How to Turn On and Turn Off the Numlock at the Windows Startup

Numlock WindowsWell, guys in this guide you will learn the way to turn on and turn off the Numlock at the Windows Startup. So then for this, you have to follow the following guide. Whether the turning on and also turning off, of the Numlock feature in Windows causes problems for you.

How to Turn On and Turn Off the Numlock at the Windows Startup

Numlock Windows

So then you could always select in order to enable or disable this feature compulsorily at the time of every Windows startup. However, for that, we have to create some conversion to the Registry Editors. Similarly, before starting to make the conversion to the Registry Editor. So kindly create a system restore point just on the safe side. Thus if you want to solve this issue so then you have to solve the problem from the place where the Numlock is turned on in the Microsoft Windows at the Startup with these steps.

1: Registry Setting

  1. First of all, you have to set your registry. Similarly, for this, you have to, first of all, hold the Windows Key then press “R” to bring up the Run dialog box.
  2. Now type the “regedit“, and then you have to press the “Enter“.
  3. Now you must have to navigate to the following location in the registry:
    • HKEY_USERS
    • .Default
    • Control Panel
    • Keyboard
  4. At this point, you must have to turn the value of InitialKeyboardIndicators
    • Set it to 0 to set NumLock OFF
    • Set it to 2 to set NumLock ON

PowerShell Script to Turn On and Turn Off the Numlock at the Windows Startup

However, here you must have to use the following PowerShell code:

Turn On the Num Lock:

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

Turn off the Num Lock:

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

Although you are also able to organize this and also the other PowerShell scripts at startup.

2: Function Keys

Well, you probably have accidentally pressed a key combination on your keyboard. However, in order to cause certain letters on your keyboard to be used as a numeric keypad. Thus this is usually the case for laptop users.

Similarly, in most cases, now you will have an “Fn” and “NumLk” key. They are also be used for toggling this setting on or off. Now hold the “Fn” key, then press “NumLk” to toggle the numeric keypad on or off.

3: BIOS Setting to Turn On and Turn Off the Numlock at the Windows Startup

However, most PCs, adding virtual machines that will have a BIOS setting. Simply that handles if or not NumLock is turned on or turned off at startup. Similarly, now you are also able to normally enter the BIOS simply by pressing a certain key like “Delete” or “F1” at startup before Windows loads. At times in the BIOS, you should be able for finding a setting that handles NumLock.

4: Startup Script

Whether you are an administrator who is just viewing for a way for setting the Num Lock on at startup. Now you are also able to perform this by using a logon script. Thus there is no specific Group Policy setting for achieving this. Rather than to use the following.

  • First of all, you have to copy and paste the following into a Notepad document, then save it as “numlock.vbs“:

    set WshShell = CreateObject("WScript.Shell")
    WshShell.SendKeys "{NUMLOCK}"

  • You have to perform one of the following:
  • Here you must place the “numlock.vbs” file in the “Startup” folder of the target PC or user.
  • Now run the script via Group Policy, however, by using these steps:Place the “numlock.vbs” in one of the following folders:
  • Local logon script path = “%SystemRoot% \ System32 \ GroupPolicy \ User Computer\ Scripts \ Logon
  • Domain logon script path = “%SysVolFolder% \ Sysvol \ Sysvol \ DomainName \ Scripts
  1. Here you must have to hold down the Windows Key and also press “R” for bringing up the Windows Run dialog box.
  2. Type “mmc“, then press “Enter“.
  3. Head to the “File” > “Add/Remove Snap-in” > “Add” > “Group Policy“.
  4. You must have to choose the GPO you like to use by choosing “Browse“. Thus the default is the local PC.
  5. Choose the “Finish” > “Close” > “OK“.
  6. From the Group Policy Management snap-in, here navigate to “User Configuration” or “Computer Configuration” > “Windows Settings” > “Scripts“.
  7. Double-click “Logon script“, then go to “Add” > “Browse“, then select “numlock.vbs“.
  8. Simply choose the “Open” > “OK” > “OK“.

Important Note:

Must remember that the “numlock.vbs” script is able to just simply behave like it is pressing the “Num Lock” key once. It will just toggle it to the opposite of what it is by default. However, now it may better to use the Registry method. But this method is a bit difficult when you are in a bind.

Also, read this article: How To Turn Off Startup Programs In Windows

Turn On and Turn Off the Numlock at the Windows Startup-Conclusion

Whether you want to solve this issue so then you have to solve the problem from the place where the Numlock is turned on in the Microsoft Windows at the Startup with the above-mentioned steps. Well, guys, I hope that you will like this article, if in case of any trouble you can share your issues with us in the comments section below.

Leave a Reply

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