Windows will remember the status of Num Lock key and enable it on the next
boot. If Num Lock is on when the machine is shutdown, then Num Lock will
be
on when the machine is next started. If Num Lock is off when the machine
is
shutdown, then Num Lock will be off when the machine is next started.
You can change settings in the key below, all you want. But, Windows will
remember the status of Num Lock key and enable it that way on the next
boot.
Toggling the Num Lock key toggles the value from 0 to 2 in the registry
key
below. But the data isn't written to the registry key until you log off
or
shutdown.
HKEY CURRENT USER\Control Panel\Keyboard
Value Name: InitialKeyboardIndicators
Value Type: REG_SZ
Value Data: 0 or 2
0 = Windows XP turns NUMLOCK off when it starts.
2 = Windows XP turns NUMLOCK on when it starts.
[[Change method
To change the value of this entry, press the NUMLOCK key on your
keyboard.]]
from...
InitialKeyboardIndicators
http://www.microsoft.com/resources/...s/2000/server/reskit/en-us/regentry/34674.asp
If you want the numlock on at the Welcome Screen you also need to change:
HKEY USERS\.DEFAULT\Control Panel\Keyboard\InitialKeyboardIndicators (same
number values
as above).
How to Set the NUM LOCK State at Logon in Windows XP
http://support.microsoft.com/kb/314879
How to enable the NUM LOCK key for the logon screen
http://support.microsoft.com/kb/154529
S-1-5-18 is the SID for %systemroot%\system32\config\systemprofile.
S-1-5-21-1708537768-1580436667-1202660629-1003 is my SID. Yours will be
S-1-5-21-some other numbers.
The HKEY_CURRENT_USER InitialKeyboardIndicators value and
HKEY_USERS\S-1-5-21-some other numbers will be the same, probably. They
should be the same with you logged on.
HKEY_CURRENT_USER\Control Panel\Keyboard
HKEY_USERS\.DEFAULT\Control Panel\Keyboard
HKEY_USERS\S-1-5-18\Control Panel\Keyboard
HKEY_USERS\S-1-5-21-1708537768-1580436667-1202660629-1003\Control
Panel\Keyboard
Also check this key...
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\IniFileMapping\win.ini\Windows
Value Name: InitialKeyboardIndicators
Value Type: REG_SZ
Value Data: USR:Control Panel\Keyboard
--
Hope this helps. Let us know.
Wes
MS-MVP Windows Shell/User
In
Softshoe said:
There are a couple of Registry entries that turns the Num Lock on during
boot up. I have forgotten what the names are and what the values should
be
so that the Num Lock is turned on automatically on bootup. Can anyone
give a forgetful old man a hand with this one. I need the name and path,
along with the value. Thanks