The instructions below provide step-by-step directions for enabling the Numlock setting after startup. Administrator privileges are required to perform the following actions.
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 registry key: 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
Set-ItemProperty -Path 'Registry::HKU\.DEFAULT\Control Panel\Keyboard' -Name "InitialKeyboardIndicators" -Value "2"
Method 3 - Startup or Logon Script
- Copy and paste the following into a Notepad document, then save it as “numlock.vbs“:
set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "{NUMLOCK}" - Do one of the following:
- Place the “numlock.vbs” file in the “Startup” folder of the target computer or user.
- Run the script through Group Policy 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“
- Hold down the Windows Key and press “R” to bring up the Windows Run dialog box.
- Type “mmc“, then press “Enter“.
- Go to “File” > “Add/Remove Snap-in” > “Add” > “Group Policy“.
- Select the GPO you wish to use by selecting “Browse“. The default is the local computer.
- Select “Finish” > “Close” > “OK“.
- From the Group Policy Management snap-in, navigate to “User Configuration” or “Computer Configuration” > “Windows Settings” > “Scripts“.
- Double-click “Logon script“, then go to “Add” > “Browse“, then select “numlock.vbs“.
- Select “Open” > “OK” > “OK“.
- Place the “numlock.vbs” in one of the following folders:
The following article provides additional details: https://www.technipages.com/enable-disable-numlock-windows-startup
For any additional questions or concerns regarding proximity settings, computer locking, credential management, or compliance, please contact GateKeeper Enterprise support using the Support Ticket form at https://gkaccess.com/support/ or email support@gkaccess.com.
---------------------------------------
Comments
0 comments
Please sign in to leave a comment.