numlock reg key

D

Dave Patrick

Set the Reg_Sz string value of
"InitialKeyboardIndicators"="0"
HKEY_USERS\.DEFAULT\Control Panel\Keyboard
will set the numlock to "Off" when no one is logged on. May need to restart
for effect.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Dear all,
|
| When I change this registry entry:
| HKEY_CURRENT_USER\Control Panel\KeyboardInitialKeyboardIndicators
| it seems the entry does not effective.
|
| As described here:
|
http://www.microsoft.com/resources/...er/reskit/en-us/regentry/34674.asp?frame=true
|
| I press "numlock" to turn it on, then I go to regedit to change the above
| value from 2 to 0. But after my next logon, the Numlock is still on; and
vice
| versa...could anyone figure out why?
|
| Many thanks
 
G

Guest

But I want to deal with the setting to the user profile, not turning on
NumLock at logon screen.

Thx
 
M

Mark V

In said:
Dear all,

When I change this registry entry:
HKEY_CURRENT_USER\Control Panel\KeyboardInitialKeyboardIndicators
it seems the entry does not effective.

As described here:
http://www.microsoft.com/resources/documentation/Windows/2000/serve
r/reskit/en-us/regentry/34674.asp?frame=true

I press "numlock" to turn it on, then I go to regedit to change
the above value from 2 to 0. But after my next logon, the Numlock
is still on; and vice versa...could anyone figure out why?

Many thanks

HKEY_CURRENT_USER\Control Panel\Keyboard
"InitialKeyboardIndicators"="0"
(REG_SZ)

Just checking... Above you typed something incorrect. Possibly a
typo but maybe not. Are you in the "keyboard" key and dealing with
the valuename "InitialKeyboardIndicators" ?

Login in. Don't touch the NumLock key. Or make sure it is OFF.
Make the reg change, logoff/reboot.
 
D

Dave Patrick

For the current user; set numlock to off, then log off. Windows 2000 will
save your setting.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| But I want to deal with the setting to the user profile, not turning on
| NumLock at logon screen.
|
| Thx
 
M

Mark V

In said:
It's a typo.
I tried your method, but still not succeeded.

Are you certain that you don't have some utility running that changes
it or perhpas a fancy keyboard that changes it?
 
G

Guest

yes I know, but I want to automate it using ONLY registry (not runonce script
etc)
 
G

Guest

No.

Will the registry setting be overridden by the NumLock key state just before
logoff? I mean, initially the NumLock key is off, then I set the registry
entry from 0 to 2, and then I log off, will Windows overwrite this registry
entry by the current NumLock state (which is still off?) You know, Windows
saves NumLock key state when logoff.
 
M

Mark V

In said:
No.

Will the registry setting be overridden by the NumLock key state
just before logoff? I mean, initially the NumLock key is off, then
I set the registry entry from 0 to 2, and then I log off, will
Windows overwrite this registry entry by the current NumLock state
(which is still off?) You know, Windows saves NumLock key state
when logoff.

"InitialKeyboardIndicators REG_SZ 0 | 2

Default: 0

Determines whether the NUMLOCK key is on or off when the computer
starts. The system stores the state of the NUMLOCK key in this
value entry during log off and shutdown and uses this value to
restore the state when the user logs on.

Technical Reference to the Windows NT Registry © Microsoft
Corporation 1985 - 1997"

Based on content up-thread it seems you want it to default either On
or Off (not sure) every time you log on regardless of how you left
it... Use a third party utility as a startup item. I have no links,
but Goggle should help. There may be other ways but a REG file merge
as you logon will not help I think (too late). ICBW. I'll watch
here for other solutions or explanations.
 
G

Guest

Thanks a lot. If there is no way to do with registry and third party program
is recommanded, I'd better use logon script. Once again, thank you all.
 
M

Mark V

In said:
Thanks a lot. If there is no way to do with registry and third
party program is recommanded, I'd better use logon script. Once
again, thank you all.

Guessing that perhaps a WNI solution to toggle the NumLock state
might be possible... That would be a different group.

Have you Googled? Some hits on search
windows +toggle +numlock

I think your solution is out there. Good luck.
 
G

Guest

WNI? Or you mean WMI?
BTW, I asked Google before going to here. Up to now, all I found USEFUL AND
EFFECTIVE from Google is only this:

Set objShell = WScript.CreateObject("WScript.Shell")
objShell.SendKeys "{NUMLOCK}"

And from the MS registry ref,
http://www.microsoft.com/resources/...s/2000/server/reskit/en-us/regentry/34674.asp

the suggested changing method is not editing the registry, but using the
numlock key. I really start to wonder if there is any method to achieve my
goal (auto-set the numlock to ON from now and next logon, regardless the
state of the key during logoff) without any 3rd party software.
 
D

Dave Patrick

Make the registry change then make the key read-only to the user.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| WNI? Or you mean WMI?
| BTW, I asked Google before going to here. Up to now, all I found USEFUL
AND
| EFFECTIVE from Google is only this:
|
| Set objShell = WScript.CreateObject("WScript.Shell")
| objShell.SendKeys "{NUMLOCK}"
|
| And from the MS registry ref,
|
http://www.microsoft.com/resources/...s/2000/server/reskit/en-us/regentry/34674.asp
|
| the suggested changing method is not editing the registry, but using the
| numlock key. I really start to wonder if there is any method to achieve my
| goal (auto-set the numlock to ON from now and next logon, regardless the
| state of the key during logoff) without any 3rd party software.
|
| "Mark V" wrote:
|
| > In microsoft.public.win2000.registry =?Utf-8?B?YmVseQ==?= wrote:
| >
| > > Thanks a lot. If there is no way to do with registry and third
| > > party program is recommanded, I'd better use logon script. Once
| > > again, thank you all.
| >
| > Guessing that perhaps a WNI solution to toggle the NumLock state
| > might be possible... That would be a different group.
| >
| > Have you Googled? Some hits on search
| > windows +toggle +numlock
| >
| > I think your solution is out there. Good luck.
| >
| > >
| > >
| > > "Mark V" wrote:
| > >
| > >> In microsoft.public.win2000.registry =?Utf-8?B?YmVseQ==?= wrote:
| > >>
| > >> > No.
| > >> >
| > >> > Will the registry setting be overridden by the NumLock key
| > >> > state just before logoff? I mean, initially the NumLock key is
| > >> > off, then I set the registry entry from 0 to 2, and then I log
| > >> > off, will Windows overwrite this registry entry by the current
| > >> > NumLock state (which is still off?) You know, Windows saves
| > >> > NumLock key state when logoff.
| > >>
| > >> "InitialKeyboardIndicators REG_SZ 0 | 2
| > >>
| > >> Default: 0
| > >>
| > >> Determines whether the NUMLOCK key is on or off when the
| > >> computer starts. The system stores the state of the NUMLOCK key
| > >> in this value entry during log off and shutdown and uses this
| > >> value to restore the state when the user logs on.
| > >>
| > >> Technical Reference to the Windows NT Registry © Microsoft
| > >> Corporation 1985 - 1997"
| > >>
| > >> Based on content up-thread it seems you want it to default either
| > >> On or Off (not sure) every time you log on regardless of how you
| > >> left it... Use a third party utility as a startup item. I have
| > >> no links, but Goggle should help. There may be other ways but a
| > >> REG file merge as you logon will not help I think (too late).
| > >> ICBW. I'll watch here for other solutions or explanations.
| > >>
| > >>
| > >> >
| > >> >
| > >> > "Mark V" wrote:
| > >> >
| > >> >> In microsoft.public.win2000.registry =?Utf-8?B?YmVseQ==?=
| > >> >> wrote:
| > >> >>
| > >> >> > It's a typo.
| > >> >> > I tried your method, but still not succeeded.
| > >> >>
| > >> >> Are you certain that you don't have some utility running that
| > >> >> changes it or perhpas a fancy keyboard that changes it?
| > >> >>
| > >> >>
| > >> >> >
| > >> >> >
| > >> >> > "Mark V" wrote:
| > >> >> >
| > >> >> >> In microsoft.public.win2000.registry =?Utf-8?B?YmVseQ==?=
| > >> >> >> wrote:
| > >> >> >>
| > >> >> >> > Dear all,
| > >> >> >> >
| > >> >> >> > When I change this registry entry:
| > >> >> >> > HKEY_CURRENT_USER\Control
| > >> >> >> > Panel\KeyboardInitialKeyboardIndicators it seems the
| > >> >> >> > entry does not effective.
| > >> >> >> >
| > >> >> >> > As described here:
| > >> >> >> > http://www.microsoft.com/resources/documentation/Windows/2
| > >> >> >> > 000 /se rve r/reskit/en-us/regentry/34674.asp?frame=true
| > >> >> >> >
| > >> >> >> > I press "numlock" to turn it on, then I go to regedit to
| > >> >> >> > change the above value from 2 to 0. But after my next
| > >> >> >> > logon, the Numlock is still on; and vice versa...could
| > >> >> >> > anyone figure out why?
| > >> >> >> >
| > >> >> >> > Many thanks
| > >> >> >>
| > >> >> >> HKEY_CURRENT_USER\Control Panel\Keyboard
| > >> >> >> "InitialKeyboardIndicators"="0"
| > >> >> >> (REG_SZ)
| > >> >> >>
| > >> >> >> Just checking... Above you typed something incorrect.
| > >> >> >> Possibly a typo but maybe not. Are you in the "keyboard"
| > >> >> >> key and dealing with the valuename
| > >> >> >> "InitialKeyboardIndicators" ?
| > >> >> >>
| > >> >> >> Login in. Don't touch the NumLock key. Or make sure it is
| > >> >> >> OFF. Make the reg change, logoff/reboot.
| > >> >> >>
| > >> >> >
| > >> >>
| > >> >>
| > >>
| > >>
| >
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top