Error occurred during http request {"data":"","status":0,"config":{"method":"GET","transformRequest":[null],"transformResponse":[null],"url":"https://dgps.support.microsoft.com/api/v1/AutoSuggestion?SearchTerm=&OSName=Windows 8&Culture=en-us","headers":{"Accept":"application/json, text/plain, */*"},"startTime":1446329144681},"statusText":""} https://preview.support.microsoft.com/bundles/jslibraries?v=7zWNoRr1mHRbVzieg2FG-DPR0MvOgfYmV0WRO-0N0CM1:1 AutoLogon Fails If DontDisplayLastUserName Is Also Enabled

AutoLogon Fails If DontDisplayLastUserName Is Also Enabled

This article was previously published under Q159969
This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
Although you have the AutoLogon feature of Windows NT enabled, when youstart your Windows NT system you may receive the following error messageinstead of being automatically logged onto the computer:
Logon Message
The system could not log you on. Make sure your User name and domain are correct, then type your password again. Letters in passwords must be typed using the correct case. Make sure that Caps Lock is not accidentally on.
When you click OK, you are prompted for a user name and password that isvalid for the system.
CAUSE
Your Windows NT system also has the registry entry DontDisplayLastUserNameenabled.
RESOLUTION
To resolve this issue and use the AutoLogon feature, you will need todisable DontDisplayLastUserName using the following steps:

WARNING: Using Registry Editor incorrectly may cause serious, system-wideproblems that may require you to reinstall Windows NT to correct them.Microsoft cannot guarantee that any problems resulting from the use ofRegistry Editor can be solved. Use this tool at your own risk.
  1. Start Registry Editor (Regedt32.exe) and select the following subkey:
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion \Winlog
  2. Select the DontDisplayLastUserName value, and then click String from the Edit menu.
  3. Type 0 in the String Editor dialog box, and then click OK.
  4. Exit Registry Editor and restart your Windows NT computer.
MORE INFORMATION
The reason for this conflict is that the registry values are mutuallyexclusive. If you enable the DontDisplayLastUserName, you are effectivelyblanking out the user name during authentication. Auditing Logon and LogoffSuccess and Failure Events demonstrates that the user name is not availableto the system:
11/11/96 2:41:02 PM  Security Failure Audit  Logon/Logoff   529   NTAUTHORITY\SYSTEM  <Servername> Logon Failure:      Reason: Unknown user name or bad password      User Name:      Domain: <Domain>      Logon Type: 2      Logon Process: User32      Authentication Package: MICROSOFT_AUTHENTICATION_PACKAGE_V1_0      Workstation Name: <Servername>				

NOTE: The User Name field is blank. When the user name is not suppressed inthe registry, any other circumstance to cause a failed logon attempt alwaysdisplays the user name attempting to logon. This includes gibberish foreither a DefaultUserName or DefaultPassword. In these cases the user namefield is occupied.

For additional information, please see the following article in theMicrosoft Knowledge Base:
ARTICLE-ID: 97597
TITLE : How to Enable Automatic Logon in Windows NT
prodnt Auto autoadminlogon
Properties

Article ID: 159969 - Last Review: 02/24/2014 08:26:23 - Revision: 2.1

  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 3.5
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition
  • kbnosurvey kbarchive kbenv kbinfo KB159969
Feedback