You are currently offline, waiting for your internet to reconnect

How do I enable the NUM LOCK key for the logon screen?

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article was previously published under Q154529
NOTE This article does not apply to Windows NT 4.0 Terminal Server. It also does not apply to Windows 2000 Server or to Windows 2000 Advanced Server running Terminal Services.
Problem description
The status of the NUM LOCK key is specific for each user, and NUM LOCK isdisabled by default. If you want the NUM LOCK key enabled for use before auser presses CTRL+ALT+DEL to log on, you must use Registry Editor to changethe default behavior.

To have us fix this problem for you, go to the "Fix it for me" section. If you’d rather fix this problem yourself, go to the "Let me fix it myself" section.
Fix it for me
To fix this problem automatically, click the Fix this problemlink. Next, click Runin the File Downloaddialog box, and then follow the steps in this wizard.

Note This wizard may be in English only; however, the automatic fix also works for other language versions of Windows.

Note If you are not on the computer that has the problem, you can save the automatic fix to a flash drive or to a CD, and then you can run it on the computer that has the problem.

Now go to the "Did this fix the problem?" section.
Let me fix it myself
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows

To enable NUM LOCK before a user logs on, follow these steps:
  1. Run Registry Editor.
  2. Move to
    HKEY_USERS\.Default\Control Panel\Keyboard
  3. Change the value for InitialKeyboardIndicators from 0 to 2.
Did this fix the problem?
Check whether the problem is fixed. If the problem is fixed, you are finished with this article. If the problem is not fixed, you can contact support.
217884 NUM LOCK Setting Reset After Logging Off Terminal Server
262625 How to Set the NUM LOCK State at Logon Using a Logon Script
fixit fix it registry numlock LB_9650530

Article ID: 154529 - Last Review: 03/26/2011 08:31:00 - Revision: 9.0

  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Windows Vista Business
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Starter
  • Windows Vista Ultimate
  • kbfixme kbmsifixme kbenv kbhowto KB154529