The information in this article applies to:
SUMMARYThis article describes how to enable autologon for an automated Windows NT Setup. Page 97 of the "Windows NT 3.5 Resource Kit, Volume 1" describes a method to add registry entries by modifying Txtsetup.sif. However, page 96 notes that during a fresh installation of Windows NT, the registry hives are copied in their entirety to the new registry. Only during an upgrade of Windows NT are portions of the template hives copied to the existing registry as described on page 97 in the section "Using the TXTSETUP.SIF File to Update the Registry." MORE INFORMATION
The following entries in the registry for winlogon need to be set to enable
autologon:
Unattended Setup:The INITIAL.INF file needs to be modified as follows to set these values:NOTE: A network or local hard disk installation is required because the INITIAL.INF file can not be modified and saved to the compact disc.
Computer Profile Setup:If you have not run Uplodprf.exe yet, you can modify ~Profile.inf in the CPS directory. If you have already uploaded your profile, you should modify %Systemroot\System32\Profil.inf on the distribution system.[Install-Win-Ini-Alter] ;ReplaceIniKeyValue "Win.ini", Winlogon, DefaultUserName, $(!STF_USERNAME) ReplaceIniKeyValue "Win.ini", Winlogon, DefaultUserName, "Administrator" ReplaceIniKeyValue "Win.ini", Winlogon, DefaultPassword, "" ReplaceIniKeyValue "Win.ini", Winlogon, AutoAdminLogon,"1" Ifstr(i) $(!STF_PRODUCT) == "WINNT" ReplaceIniKeyValue "Win.ini", DeskTop, Wallpaper, "winnt.bmp"Else ReplaceIniKeyValue "Win.ini", DeskTop, Wallpaper, "lanmannt.bmp"Endif exit NOTE: For more information on Unattended and Computer Profile Setup, read Volume 1, Chapter 3 of the Windows NT Resource Kit. For additional information, please see the following article(s) in the Microsoft Knowledge Base: ARTICLE-ID: Q157361
Keywords : kbsetup ntsetup |
Last Reviewed: January 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |