problem with numlock not staying on after coming back from locked state.

Posted on 2005-04-08
Last Modified: 2008-02-01
I'm having an issue with numlock when the user is coming back from lock computer.  My registry for .default and for the current user are configured for numlock to be ON (2).  When booting the computer the numlock is active.  The numlock change state to off automatically only when the user lock the station and then unlocks it.  I can't seem to find an answer for this one.

Question by:realbuz
    LVL 3

    Expert Comment

    First of all, be sure to install the latest service pack ( ).

    Then, go to the BIOS and check for NUMLOCK Status: it should be ON.

    Lemme know

    Author Comment

    Yup.  As I said, if the user doesn't LOCK the windows session the numlock key is active.  I even added the vbs script to the startup to make sure it was ON.  And everything is updated as well.
    LVL 22

    Expert Comment

    try logging on as the administrator (boot to safe mode, and choose the admin account)
    are you using regedit or regedt32
    with regedt32 you can check your permissions to make the changes

    This is for NT but I guess it goes for XP as well...

    By default, every time you log on to Windows NT, it sets the NumLock key
    to off. You can change this by editing the Registry. Standard
    disclaimers about editing the Registry apply here: Make sure you have a
    current backup, and be very careful, because mistakes in the Registry
    can cause data loss. Start either version of the Registry Editor
    (Regedt32.exe or Regedit.exe), and select the following key:
    HKEY_CURRENT_USER\Control Panel\Keyboard
    In the right pane, double-click the InitialKeyboardIndicators value and
    change it from 0 to 2. Click OK to save the change and then close the
    Registry Editor. The next time you log on, NT will note your preference
    and turn on the NumLock key. In Windows 95, the procedure is much
    easier. To configure the NumLock key to always stay on, simply add this
    setting to your Config.sys file: Numlock=on.

    Classic is :
    Open the registry and goto:
    HKEY_USERS\.DEFAULT\Control Panel\Keyboard

    Change the value of InitialKeyboardIndicators to whichever state you wish...

    0 - Indicators off
    1 - Caps Lock on
    2 - Num Lock on
    3 - Caps Lock on and Num Lock on
    4 - Scroll Lock on
    5 - Caps Lock on and Scroll Lock on
    6 - Num Lock on and Scroll Lock on
    7 - Caps Lock on, Num Lock on, and Scroll Lock on

    Close regedit.... and reboot.


    Author Comment

    The numlock is ON when the user logs on as I said both in my question and in my comment.  The registry key, the bios, and the vbs script have been tried and it works.  The part where the numlock state is going off is ONLY when the user is coming back from a locked computer state.  

    LVL 22

    Accepted Solution

    I get it...
    No,you can not have no lock when unlocking the computer as unlocking in not the same procedure as logging in/out .


    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Standby Problem. 4 157
    my compaq presario 2500 wont boot up 6 97
    Toshiba Satellite 5 135
    Copy a User Account in Win7 & Win8 11 120
    Disclosure: Use this tutorial only when no other options helps to get Windows XP running without any problems and you don't want to format the drive. The back up of the data is the responsible of the user, however there is a description of how t…
    If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now