Jump to content

Unattended Logon/Auto-logon Problem


tosk

Recommended Posts

I did a search and couldn't find anything relevant to my situation (or at least what I thought was relevant).

I made an "unattended" XP SP2 CD. It isn't a fully unattended install. All it does is simplify the installation process by providing answers for most of the setup screens by using WINNT.SIF.

My problem is that upon first boot of XP AFTER the install, I get the Welcome screens and then the Administrator account tries to auto-logon. I do not want this to happen. I want the user account I create in the Welcome screens to auto-logon.

However, this only happens if I actually supply an Administrator password during install. If I leave the fields blank, it will auto-logon like normal with the created account.

My non-unattended SP1 CD will auto-logon with the created account regardless of whether there is an admin password or not. This is how I want my SP2 CD to behave.

Below is my WINNT.SIF and CMDLINES.TXT.

Thanks.

WINNT.SIF:

;SetupMgrTag
[Data]
   AutoPartition=0
   MsDosInitiated=0
   UnattendedInstall=Yes

[Unattended]
   UnattendMode=DefaultHide
   OemPreinstall=Yes
   TargetPath=\WINDOWS
   OemSkipEula=Yes
   DriverSigningPolicy=Ignore
   WaitForReboot=No

[GuiUnattended]
   AdminPassword=""
   AutoLogon=No
   EncryptedAdminPassword=No
   OEMSkipRegional=1
   OEMSkipWelcome=1
   TimeZone=20

[UserData]
   ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

[Identification]
   JoinWorkgroup=WORKGROUP

[Networking]
   InstallDefaultComponents=Yes

[TapiLocation]
   CountryCode=1
   Dialing=Tone

[Components]
   msnexplr=Off

CMDLINES.TXT:

[COMMANDS]
"RunOnceEx.cmd"

RunOnceEx.cmd: Note: REGPATCH.REG does nothing with the auto-logon settings in the registry.

cmdow @ /HID
@echo off
REGEDIT /S %systemdrive%\InstExtras\regpatch.reg
EXIT

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...