automate dcpromo during nt4 pdc upgrade to W2k3 DC
- From: "sweisler" <sweisler@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 15 Apr 2005 08:52:05 -0700
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
.
- Follow-Ups:
- RE: automate dcpromo during nt4 pdc upgrade to W2k3 DC
- From: sweisler
- RE: automate dcpromo during nt4 pdc upgrade to W2k3 DC
- Prev by Date: promoted Windows 2000 to 2003 Domain Controllers missing policies
- Next by Date: RE: automate dcpromo during nt4 pdc upgrade to W2k3 DC
- Previous by thread: promoted Windows 2000 to 2003 Domain Controllers missing policies
- Next by thread: RE: automate dcpromo during nt4 pdc upgrade to W2k3 DC
- Index(es):
Relevant Pages
|