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

S’applique à : Microsoft Windows XP Home EditionMicrosoft Windows XP ProfessionalWindows Vista Business Plus

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 is disabled by default. If you want the NUM LOCK key enabled for use before a user presses CTRL+ALT+DEL to log on, you must use Registry Editor to change the default behavior.

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