automate dcpromo during nt4 pdc upgrade to W2k3 DC



I am attempting to script the upgrade of a NT4 PDC to a W2K3 domain
controller using an unattend.txt file. I have set the UnAttendMode to
FullUnattended and the upgrade works perfectly up to the point where the
server reboots and dcpromo kicks off automatically. At this point, dcpromo
completely ignores the [DCInstall] section of the unattend.txt file and waits
for manual user input.

I have tried the [DCInstall] section in both the unattend.txt file and a
separate dcpromo.txt file that I call from [GuiRunOnce] using the command
line "dcpromo /answer:a:\dcpromo.txt".

I start the upgrade from unattend.bat on a floppy. unattend.bat was
generated using the setupmgr app from deploy.cab.

Does anyone know why this does not work in W2K3 or if I am doing something
wrong? Please see my unattend.bat, unattend.txt, and dcpromo.txt files
listed below:

unattend.bat
@rem SetupMgrTag
@echo off

rem
rem This is a SAMPLE batch script generated by Setup Manager.
rem If this script is moved from the location where it was generated, it may
have to be modified.
rem

set AnswerFile=.\unattend.txt
set SetupFiles=D:\i386

D:\i386\winnt32 /s:%SetupFiles% /unattend:%AnswerFile%


unattend.txt
[Data]
AutoPartition=1
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
DUDisable = Yes
NtUpGrade = Yes

[GuiUnattended]
AdminPassword="P@ssw0rd"
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=20
OemSkipWelcome=1

[UserData]
ProductKey=XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
FullName="ABC"
OrgName="ABC"

[LicenseFilePrintData]
AutoMode=PerSeat

[GuiRunOnce]
"dcpromo /answer:a:\dcpromo.txt"


dcpromo.txt
[DCInstall]
AllowAnonymousAccess = Yes
AutoConfigDNS = Yes
CriticalReplicationOnly = No
DatabasePath = E:\WINDOWS\NTDS
DNSOnNetwork = No
DomainNetBiosName = ABCTEST
LogPath = E:\WINDOWS\NTDS
NewDomain = Forest
NewDomainDNSName = def.abclab.org
Password = P@ssw0rd
RebootOnSuccess = Yes
ReplicaOrNewDomain = Domain
SafeModeAdminPassword = P@ssw0rd
SetForestVersion = Yes
SysVolPath = E:\WINDOWS\SYSVOL
TreeOrChild = Tree
UserDomain = ABCTEST
UserName = administrator

Sincerely,

Scott Weisler
.



Relevant Pages

  • Batch ntbackup to external hard drives (new version - Sept 2006)
    ... Below is a new version of the backup script that I posted to USENET ... Disk drives are usually more portable than tape drives, ... rem 1) Edit the Script Customizations ...
    (microsoft.public.windows.server.general)
  • Re: Deploying Office 07 with Group Policy
    ... Microsoft Online Partner Support ... Please disable the GPO. ... |> the following script to the Computer Startup Script. ... |> REM Environment customization begins here. ...
    (microsoft.public.office.setup)
  • Re: samba-common = 3.0.23d-4 but 3.0.24-2 is installed
    ... wants to upgrade to is 3.0.23d-4 which is lower. ... The problem is that the pre-removal script ... Reading package lists... ... warning - old pre-removal script returned error exit status 102 ...
    (Debian-User)
  • Re: FC2 upgrade-X problem
    ... Immideately after upgrade completed I ran 'yum update' ... > getting the X server to launch. ... I made up a test script that runs all the ... > longer able to run startx. ...
    (Fedora)
  • Re: Can someone help me write a "yes-man" program
    ... not work with the Ubuntu system upgrade script, ... which upgrade script you mean. ... from optparse import OptionParser ...
    (comp.lang.tcl)