Force Caps Lock, Num Lock and Scroll Lock Keys Behavior Using Windows Registry

Its a very common problem among Windows users. Whenever Windows starts, it automatically turns "CapsLock", "NumLock" or "ScrollLock" keys On at login screen even if you turned the keys off before the login or boot screen.

If you want to permanently change their behavior, then you can use following steps to do so:

1. Type regedit in RUN dialog box and press Enter. It'll open Registry Editor.

2. Now go to following key:

To change the behavior for currently logged in user:
HKEY_CURRENT_USER\Control Panel\Keyboard

To change the behavior for all users:
HKEY_USERS\.DEFAULT\Control Panel\Keyboard

3. Now in right-side pane, change value of "InitialKeyboardIndicators" string value to any of following:

0 - Turn all indicators Off (NumLock, CapsLock, ScrollLock)
1 - Turn CapsLock On
2 - Turn NumLock On
3 - Turn CapsLock and NumLock On
4 - Turn ScrollLock On
5 - Turn CapsLock and ScrollLock On
6 - Turn NumLock and ScrollLock On
7 - Turn all indicators On (NumLock, CapsLock, ScrollLock)


4. That's it. Exit registry editor and restart your system to take effect.

Thanks to our active reader "Nitin Agarwal" for sharing this trick...

Also Check:

Share this article: Facebook | Twitter | Google+ | Reddit | Tell a friend

Posted in: Troubleshooting, Windows 7, Windows Vista, Windows XP

Other similar articles that may interest you


  • on my windows 7 pro, i have the beep on for the caps but i would really like to have the little pop-up to show that the caps is on.
    how do i change that, if i can?

  • on my windows 7 pro, i have the beep on for the caps but i would really like to have the little pop-up to show that the caps is on.
    how do i change that, if i can?

  • VG

    ^^ Its shown by your multimedia keyboard software. If you got a setup disc with your keyboard, you can install the software to see the alerts.

  • Kill Caps Lock key permanently:

  • Thanks. It has been annoying that my laptop has a separate numeric keypad, but no way to have the system start up with the Numlock activated, until I found this very nice article.

  • @VG

    I've tried following your instructions on a new Windows 8 computer, and I have set the "InitialKeyboardIndicators" registry value to 2 in both the "HKEY_CURRENT_USER\Control Panel\Keyboard" and "HKEY_USERS\.DEFAULT\Control Panel\Keyboard" sections, but it is not working for me.

    I did some testing and found out that if I turn off the Hybrid Shutdown feature, then NumLock stays on like it is set to. Is this a bug with Windows 8, or is there yet another registry value I have to set to keep NumLock on after Hybrid Shutdown?

  • VG

    ^^ Hybrid shutdown is similar to hibernate feature. It stores current state of Windows in memory, thats why its not working. You'll need to disable hybrid shutdown feature.

  • Thanks! Finally I am free of Num Lock tyranny!

  • @VG

    If I hibernate the computer instead of using the hybrid shutdown feature NumLock will stay on, so I don't think it's related to hibernate feature.

    I guess I will just have to get used to it though as I like the Hybrid Shutdown feature.

  • Does anyone knows how to turn on the Capslock on windows Mobile registry?
    Thanks in advance

  • This information is incorrect. Doesn't cover any BIOS related information or the fact that there is a difference between numlock at logon and numlock after logon. Also doesn't cover several other important pieces of information. So other than being wrong and not covering the actual issue its a great.

  • Is it possible to forever force numlock to be on? I constantly hit it when trying to hit backspace, which, in general purposes wouldn't be so annoying if I wasn't building number intensive spreadsheets. I see no reason to disable my keypad. Any way to just completely disable the option to toggle?

  • VG

    ^^ You can use Sharp keys software to disable Num key action. In this way your Num keypad will always be On and accidentally pressing Num key will not toggle the functionality.


  • using windows 7 ultimate
    whenever i switch on pc the scroll lock get activated every time , i dont want this to happen every time , so suggest to deactivate automaticcaly

  • My keyboar Windows7 has problem (Satellite S855-S5251)

    My Caps Lock (light on) : " aaa - bbb ...ect"

    My Caps Lock (light off) : "AAA -BBB ....ect"

    How to reset my keyboard to normal .Thankyou

  • I have a new keyboard that illuminates when the Scroll lock button is pressed. It comes on by physically pressing the button or using the on-screen keyboard the Win7 has. I would like it to turn on automatically and I have tried the registry changes above with no success. Any ideas on how to proceed?

  • Keep changing back to 2. In windows 8.1.

  • I tried to activate numlock, but initialkeyboardindicater was: 2147483648, not 1, 2 or 3...
    (WIN10, ACER laptop).
    Can I replace the 10-digit number with a simple 2 without problems?

  • Initial keyboard indicator is 10 numbers long: 2147483648
    (Toshiba; WIN 10)
    What are my options for forcing num lock?

  • I have an HP laptop that I upgraded from vista to 7 pro, Don't like all the Win10 stuff right now. They seem to like getting in everybody's business now a days. Anyway I found a site that showed changing the string from 2147483648 to 2147483650 enabled the number lock key turned on at start up. It did the trick. I have read sited to change the long string to 2 and reboot but I don't want to chance it until I understand what each number stands for in the string. But for now this is a fix that works for the HP. I had no way of changing things in the bios so I chose the regedit function, just remember you could mess things up if not careful.

Leave a Comment