Automatic logon component settings not used by target system

Article translations Article translations
Article ID: 267298 - View products that this article applies to.
This article was previously published under Q267298
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page


The Automatic Logon component of Windows NT Embedded enables you to specify a username, password, and optional domain for the target image to use when logging on to the network. However, when using the Automatic Logon component, the target system does not use the username and domain specified.


The username and domain values are not being stored in the target system registry.


Manually modify the target system's registry to include the username and optional domain name.

The registry key that controls the auto-logon behavior is:
HKLM/Software/Microsoft/Windows NT/CurrentVersion/Winlogon
The values involved are DefaultUserName and DefaultDomainName. Modify these values to reflect the username and domain name that you want to use.

For additional information on modifying the registry, click the article number below to view the article in the Microsoft Knowledge Base:
250896 HOWTO: Add or Change Environment Variables in Windows NT 4.0 Embedded

More information

Steps to Reproduce Behavior

  1. In any configuration, add the Automatic Logon component.
  2. Right-click the Automatic Logon component and select Properties.
  3. Type values for the Username, Password, and Domain in the dialog box. Click OK.
  4. With the Automatic Logon component selected, from the View menu, choose Registry.
  5. Locate the HKLM/Software/Microsoft/Windows NT/CurrentVersion/Winlogon registry key in the registry view for the Automatic Logon component.
  6. Inspect the values for DefaultUserName, DefaultPassword, and DefaultDomainName. You will notice that only the DefaultPassword value has been changed. The DefaultUserName and DefaultDomainName values do not reflect the changes that you made in the Properties dialog box.


Article ID: 267298 - Last Review: October 26, 2013 - Revision: 2.0
Applies to
  • Microsoft Windows NT Embedded 4.0
kbnosurvey kbarchive kbprb KB267298

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from