Windows 7 - How to turn numlock on initially when windows starts?

2

1

I have windows 7 and my password is numeric. When I start windows I always try to enter password with numpad and when it fails I see numlock is off. How should I change this behavior in windows?

I want the default keyboard options always to be "on for Numlock" and "off for Capslock and Scrolllock at my windows startup.

Mojtaba Rezaeian

Posted 2015-06-04T11:56:58.847

Reputation: 323

Question was closed 2015-06-05T08:40:56.667

Answers

4

To enable NUM LOCK before a user logs on, follow these steps:

Run Registry Editor.

Move to

HKEY_USERS\.Default\Control Panel\Keyboard
.

Change the value for InitialKeyboardIndicators from 0 to 2.

This should hopefully set NUM LOCK as soon as the login screen appears.

zain.ali

Posted 2015-06-04T11:56:58.847

Reputation: 665

But the value is not 0. It's 2147483648 in my registry editor. – Mojtaba Rezaeian – 2015-06-04T12:12:30.367

@Mojtaba - Have you tried changing it? – Ramhound – 2015-06-04T12:13:02.207

1@Mojtaba Change it to 2 and restart your machine. Probably safe to take a backup of your Registry too just in case :) – zain.ali – 2015-06-04T12:13:58.927

4-2147483648 is the lower bound for a 32-bit int. it is interpreted as null for all intents and purposes. Replace it with 2, and your numlock should come on at OS boot. – Frank Thomas – 2015-06-04T12:16:16.023

1The number "2147483648" is the hexadecimal equivalent of 0x80000000 – Moab – 2015-06-04T12:24:13.530

1I've got my answer, seems it's working fine now, thanks all! – Mojtaba Rezaeian – 2015-06-04T12:28:57.600

As a useful comment for this issue I found other values of this key: 1 = capslock, 2 = numlock, 4 = scrolllock and you can combine any of them by simple add, for example to keep scroll lock and caps-lock on, use value 5 which will be sum of 4 = scrolllock and 1 = capslock – Mojtaba Rezaeian – 2015-06-23T08:02:29.120

You may need to search the registry for all occurrences of InitialKeyboardIndicators and set them all to 2. – Steve V. – 2016-02-12T00:24:19.623

1

I did this for a relative quite some time ago. Search for "InitialKeyboardIndicators" in your registry. It should be somewhere in HKEY_Users. Experiment with the settings. I think "2" is NumLock on, CapsLock off.

bjanssen

Posted 2015-06-04T11:56:58.847

Reputation: 2 289

1@FrankThomas - If thats the case, I trust you on that, I reversed the downvote and will delete that comment. – Ramhound – 2015-06-04T12:18:56.803