none
The specified argument 'ChildName' was not recognized

    Question

  • I am trying to add a child or subdomain:test to the forest:mysite.com

    I am using Windows Server 2008 R2 SP1.

    D:\sources\adprep\adprep /forestprep
    dcpromo /unattend:c:ChildAdd.txt
    

    ChildAdd.txt

    [DCINSTALL]
    ParentDomainDNSName="mysite.com"
    UserName="Administrator.computername"
    UserDomain="computername.mysite.com"
    Password="pass1"
    NewDomain=child 
    ChildName="test"
    SiteName="test.mysite.com"
    DomainNetBiosName="test"
    ReplicaOrNewDomain=domain
    DomainLevel=4 
    DatabasePath="c:\Windows\ntds>" 
    LogPath="c:\Windows\ntds" 
    SYSVOLPath="c:\Windows\SYSVOL" 
    InstallDNS=yes 
    CreateDNSDelegation=yes
    DNSDelegationUserName="test.mysite.com"
    DNSDelegationPassword="pass1"
    SafeModeAdminPassword="pass1"
    RebootOnCompletion=yes

    Error Code:

    "The specified argument 'ChildName' was not recognized."



    Saturday, May 10, 2014 11:26 AM

Answers

  • Hi Philosophiae,

    Since the "childname=test" seems ok for me, please try to follow the steps below and check if there is the same error.

    To install a child domain by using an answer file, perform the following steps using an AD DS account that has membership in the following AD DS group:Enterprise Administrators
    1.Log on to the server you want to promote to a domain controller.
    2.Click Start, click Run, type notepad, and click OK.
    3.On the first line, type [DCINSTALL]; then press ENTER.
    4.Type the following entries, one entry on each:

    ParentDomainDNSName=WS03Domain.local
    UserName=WS03Domain\Administrator
    UserDomain=WS03Domain
    Password=Today01!
    NewDomain=child
    ChildName=Child03
    DomainNetBiosName=Child03
    ReplicaOrNewDomain=domain
    DomainLevel=2
    DatabasePath="c:\Windows\ntds"
    LogPath="c:\Windows\ntds"
    SYSVOLPath="c:\Windows\sysvol"
    InstallDNS=yes
    SafeModeAdminPassword=Today01!
    RebootOnCompletion=no

    5.Save the answer file as C:\DCAnswer.txt.
    6.Click Start and then click Command Prompt.
    7.Type the following into the command prompt window, then press Enter:
    dcpromo /unattend:"C:\DCAnswer.txt"

    The dcpromo process begins by determining whether the AD DS binaries are installed. If the binaries are not installed, dcpromo installs them.

    8.After the AD DS binaries have been installed, a summary of the installation options is presented in the command prompt window; then the AD DS installation process begins. The status of the AD DS installing is updated in the command prompt window.
    9.When the installation process is complete, the server reboots automatically if the /rebootOnCompletion option was used in the answer file. If the /rebootOnCompletion was not used in the answer file, you are prompted to restart the server.
    10.To validate the installation process, click Start, click Run, type in C:\Windows\Debug, and click OK.
    11.Open the DCPROMO.log file and analyze the results in the file.

    I hope this helps.

    Tuesday, May 13, 2014 2:26 AM

All replies

  • Hi Philosophiae,

    Please refer to this article to modify the Answer file:

    Install a Child Domain by Using an Answer File

    For example: 

    UserName="Administrator.computername"

    The username that will be used to promote the server to a domain controller, this account should has domain admin permission like Domain\Administrator instead of the local admin.

    I hope this helps.

    Monday, May 12, 2014 2:51 PM
  • How do you create a Child Name or Subdomain using PowerShell for Windows Server 2008 R2 SP1?

    I tried this way I keep getting "ChildName error:

    http://support.microsoft.com/kb/947034

    Monday, May 12, 2014 7:21 PM
  • Hi Philosophiae,

    Since the "childname=test" seems ok for me, please try to follow the steps below and check if there is the same error.

    To install a child domain by using an answer file, perform the following steps using an AD DS account that has membership in the following AD DS group:Enterprise Administrators
    1.Log on to the server you want to promote to a domain controller.
    2.Click Start, click Run, type notepad, and click OK.
    3.On the first line, type [DCINSTALL]; then press ENTER.
    4.Type the following entries, one entry on each:

    ParentDomainDNSName=WS03Domain.local
    UserName=WS03Domain\Administrator
    UserDomain=WS03Domain
    Password=Today01!
    NewDomain=child
    ChildName=Child03
    DomainNetBiosName=Child03
    ReplicaOrNewDomain=domain
    DomainLevel=2
    DatabasePath="c:\Windows\ntds"
    LogPath="c:\Windows\ntds"
    SYSVOLPath="c:\Windows\sysvol"
    InstallDNS=yes
    SafeModeAdminPassword=Today01!
    RebootOnCompletion=no

    5.Save the answer file as C:\DCAnswer.txt.
    6.Click Start and then click Command Prompt.
    7.Type the following into the command prompt window, then press Enter:
    dcpromo /unattend:"C:\DCAnswer.txt"

    The dcpromo process begins by determining whether the AD DS binaries are installed. If the binaries are not installed, dcpromo installs them.

    8.After the AD DS binaries have been installed, a summary of the installation options is presented in the command prompt window; then the AD DS installation process begins. The status of the AD DS installing is updated in the command prompt window.
    9.When the installation process is complete, the server reboots automatically if the /rebootOnCompletion option was used in the answer file. If the /rebootOnCompletion was not used in the answer file, you are prompted to restart the server.
    10.To validate the installation process, click Start, click Run, type in C:\Windows\Debug, and click OK.
    11.Open the DCPROMO.log file and analyze the results in the file.

    I hope this helps.

    Tuesday, May 13, 2014 2:26 AM