Ensuring that NumLock is on at start-up in
Provided by: FMS Development Team
Because of Windows XP's multi-user functionality, the state of the NumLock
key is always set to off when the computer starts up. Even if you have it
set in your bios to the "on" state, Windows XP will override the behavior.
To work around this issue, you can manually set a registry key value or run
a script at logon time.
Method 1 - Change the registry manually:
NOTE: Use extreme caution when modifying your registry as changing some
values may affect your computer adversely. Prior to changing anything in
your registry, you may want to consider making a backup of the registry
A) Open the registry editor by clicking on Start, Run, and typing "regedit"
B) Navigate to the key below and change the value of the
InitialKeyboardIndicators value in this key from 0 to 2.
Method 2 - Run a Script:
NOTE: You will need the Windows Scripting Host files installed on your
machine for this to properly run.
A) Start Notepad.
B) Copy the following code, and then paste the code into the text file:
WshShell = CreateObject("WScript.Shell")
C) Save the file as "Numlock.vbs" (including the quotes). This properly
creates the file with the .vbs extension. The icon changes from a Notepad
icon to a script icon.
D) To configure the script to run locally, copy the Numlock.vbs file to the
user's Startup folder, which is normally found in the user's profile path.
E) To configure the script to run for all users, copy the Numlock.vbs file
to the Startup folder in the All Users profile. The default path for this
folder is Documents and Settings\All Users\Start Menu\Programs\Startup.
For more information, you may want to review the Microsoft Knowledge Base
articles at the following URLs:
to Enable the NUM LOCK Key for the Logon Screen
to Set the NUM LOCK State at Logon in Windows XP
Return to the tips page