Forum Home
Press F1
 
Thread ID: 30764 2003-03-02 07:41:00 Getting Numlock to stay on in Win2k and XP Kame (312) Press F1
Post ID Timestamp Content User
125043 2003-03-02 07:41:00 Win2k and XP keep resetting the keyboard during it's startup process which leaves the BIOS setup to turn the keyboard's Numlock on useless. I've also tried adding the command line NUMLOCK=ON in the config but this was only good for Windows 9x.

How can I make Win2k and XP turn Numlock on during the startup process so that it's made available for the login screen?
Kame (312)
125044 2003-03-02 08:03:00 Kame,

There are a couple of ways to ensure the NUMLOCK key is on for the user.
One way is to turn on the NUMLOCK key then press CTRL-ALT-DELete and select the Logoff button.
A better way is to modify the registry, changing the users' setting in HKEY_CURRENT_USER\Control Panel\Keyboard.
Change the InitialKeyboardIndicators entry from whatever it is currently to 2. This will force on the NumLock key.

Also whilst modifying the registry change the same setting in HKEY_USERS\.DEFAULT\Control Panel\Keyboard
this will affect all users created on the pc after this change has been made.

See example information for each Registry key below.

[HKEY_CURRENT_USER\Control Panel\Keyboard]
"InitialKeyboardIndicators"="2"

[HKEY_USERS\.DEFAULT\Control Panel\Keyboard]
"InitialKeyboardIndicators"="2"


Cheers, Babe.
Babe Ruth (416)
125045 2003-03-02 08:16:00 Babe this is good for when you've logged in. But I need numlock to be on when you first start up the computer and reach the login screen.

Just saves a few seconds from turning it on at the login screen. Plus it's much better than trying to use the keypad then realising you've forgotten numlock.
Kame (312)
125046 2003-03-02 08:34:00 Kame, have you applied the registry settings as I described? The you will note they stay active for the user and pre logon. Also note that the value for InitialKeyboardIndicators can be made up of the following:

0 - all indicators off
1 - Caps Lock on
2 - Num Lock on
4 - Scroll Lock on

You can combine them by adding the corresponding values:

3 - Caps Lock and Num Lock on
5 - Caps Lock and Scroll Lock on
6 - Num Lock and Scroll Lock on
7 - Caps Lock, Num Lock, and Scroll Lock on

Babe.
Babe Ruth (416)
125047 2003-03-02 08:36:00 Kame, Also note to force Numlock to be on through the bootup as I suggested you modify the .Default user key in the Registry.

Babe.
Babe Ruth (416)
1