Correct the data stored in the DefaultDomainName value.
- Run Regedit.exe.
- Locate following registry key :-HKLM\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\Winlogon\DefaultDomainName.
If the data does not match the ComputerName of the workstation, set it to match the ComputerName, or set it to the variable "%computername%" (e.g.: "DefaultDomainName"="WIN-PC" or "DefaultDomainName"="%computername%")
If using Microsoft's System Preparation Utility for Microsoft Windows, set the registry on the reference machine with the desired value, then export that registry key to a file (such as "exported.reg"). Then, apply the registry setting to the destination computers using these steps:
1. Using a text editor, open C:\sysprep\sysprep.inf and edit the [GuiRunOnce] section, as follows:
Enabling AutoAdminLogon is documented in section 8.9 of the Novell Client 2 SP1 for Windows Administration Guide .
For more information on modifying the registry by using .reg files, please refer to Microsoft KB Article #310516, "How to add, modify, or delete registry subkeys and values by using a registration entries (.reg) file".