Controlador de dominio por linea de comandos

CONTROLADOR DE DOMINIO CONFIGURADO POR LINEA DE COMANDOS:

1º REDACTAMOS UN ARCHIVO DE TEXTO CON LAS SIGUIENTES LINEAS (notepad.exe) ;
[DCInstall]

ReplicaOrNewDomain=Domain

NewDomain=Forest

NewDomainDNSName=SANTIAGO {POR EJEMPLO}

ForestLevel=4

DomainNetbiosName=SANTIAGO

DomainLevel=4

InstallDNS=Yes

ConfirmGc=Yes

CreateDNSDelegation=No

DatabasePath=”C:\Windows\NTDS”

LogPath=”C:\Windows\NTDS”

SYSVOLPath=”C:\Windows\SYSVOL”

SafeModeAdminPassword=Pa$$w0rd

RebootOnCompletion=Yes
2º ESTE ARCHIVO ES GUARDADO EN C: COMO «NewDomain.txt»
3º desde la linea de comandos ejecutamos el comando:
dcpromo.exe /unattend:”C:\NewDomain.txt