Automating AUTOADMINLOGON Locally When Joining a DomainLast reviewed: December 18, 1997Article ID: Q167364 |
The information in this article applies to:
SUMMARYBy default, when automating the installation of Windows NT Server or Workstation 4.0 and the system is joining a domain, the Default Domain Name set in the registry is the domain that owns the machine account.
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT \Current Version\Winlogon DefaultDomainName: REG_SZ <Domain Name>In many cases, Automatic Administrator Logon is enabled during setup so additional applications and settings can be configured. In most cases, a domain account and password are used for the domain that owns the machine account. By default, there is no way to log on to the local computer if the computer is joining a domain.
MORE INFORMATIONBy using Cmdlines.txt and a few other supplied applications with Windows NT 4.0, it is possible to build an Autolog.reg script that can be imported into the registry for Automatic Administrator Logon to the local machine account rather than the domain. The following required files ship with Windows NT and are part of the normal Windows NT installation:
Findstr.exe Qbasic.exe Regedit.exe How the Process WorksDuring an unattended or automated installation of Windows NT 4.0, the Unattend.txt answer file will contain the computer name used during the installation. The answer file is parsed at the beginning of setup and additional setup information is appended to a new file and saved as $WinNT$.inf in the %systemroot%\system32 directory. Through the use of Findstr.exe, the line containing the computer name can be exported to a single line text file. Through the use of a simple Microsoft QuickBasic program, the text file is read and manipulated to get the actual computer name and writes a REGEDIT4 compatible registry file. After the registry file is written, it can be imported into the Windows NT registry using Regedit.exe. To take advantage of the local logon option during the Windows NT automated installation process, the following information must be configured.
ADDITIONAL INFORMAITONThe example given is provided as a working example and does not require any additional software outside of the components supplied with Windows NT Workstation 4.0 or Server 4.0. The process could be enhanced through the use of C++ or Visual Basic to build a standalone utility, if desired. For additional information on the Windows NT 4.0 Power Toys, consult the Microsoft Windows NT Server Resource Kit Version 4.0, Supplement One online documentation. You can also download the Windows NT 4.0 Deployment Guide from:
http://www.microsoft.com/ntworkstation.Note that the deployment guide is valid for both Windows NT Workstation and Windows NT Server.
|
Additional query words: prodnt
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |