How to Enable Automatic Logon in Windows NT

Last reviewed: March 19, 1998
Article ID: Q97597
The information in this article applies to:
  • Microsoft Windows NT operating system version 3.1
  • Microsoft Windows NT Advanced Server version 3.1
  • Microsoft Windows NT Server versions 3.51 and 4.0
  • Microsoft Windows NT Workstation versions 3.51 and 4.0

Windows NT allows you to automate the logon process by storing your password and other pertinent information in the Registry database.

NOTE: This feature allows other users to start your computer and use the account you establish to automatically logon. Also, timing conflicts can occur. For example: If you have several network transports loaded, enabling automatic logon may make Windows NT attempt to connect to network resources before the network transports are completely loaded.

Use the Registry Editor (REGEDT32.EXE) to add your logon information, as follows:

WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.

  1. Start REGEDT32.EXE and locate the following Registry subkey:

          HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
          \Windows NT\CurrentVersion\Winlogon
    

  2. Establish your domain name, account name, and password, using the values you would normally type when logging on. You should assign the following values:

          DefaultDomainName
          DefaultUserName
          DefaultPassword
    

    NOTE: The DefaultPassword value may not exist. If it doesn't, from the Edit menu, choose Add Value. In the Value Name field, type: "DefaultPassword" (without the quotation marks). Select REG_SZ for the Data Type. In the String field, type your password. Save your changes.

    Also, if no DefaultPassword string is specified, Windows NT automatically changes the value of the AutoAdminLogon key from 1 (true) to 0 (false), thus disabling the AutoAdminLogon feature.

  3. From the Edit menu, choose Add Value. Enter AutoAdminLogon in the Value Name field. Select REG_SZ for the Data Type. Enter 1 in the String field. Save your changes.

  4. Exit REGEDT32.

  5. Exit Windows NT and turn off your computer.

  6. Restart your computer and Windows NT. You should be able to logon automatically.


Additional query words: prodnt regedit 3.10 3.51 auto login autologon
4.00 automated
Keywords : ntsecurity NTSrvWkst kbusage
Version : 3.1 3.51 4.0
Platform : winnt


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 19, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.