In the graphical interface we have generated the TXT file and exported the ad installation steps and configuration information.
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/79/69/wKiom1aQkI6yjbKoAABipgDjAR8487.png "style=" float: none; "title=" 1.PNG "alt=" Wkiom1aqki6yjbkoaabipgdjar8487.png "/>
Dcpromo.exe/unattend:C:\Users\Administrator\Desktop\Install-AD DS.txt is the path where the txt script is run;
Replicaornewdomain=domain Create a new domain
Newdomain=forest Create a New Forest
Newdomaindnsname=contoso.local The new DNS name is: contoso.local
Forestlevel=4 Forest functional Level: Windows Server-R2
Domainnetbiosname=contoso NetBIOS name is: CONTOSO
Domainlevel=4 Domain functional Level: WINDOWWS Server R2
Installdns=yes The DC server is a DNS server
Confirmgc=yes The DC server is a GC server
Creatednsdelegation=no do not create DNS delegation
Databasepath= "C:\Windows\NTDS" Database storage path
Logpath= "C:\Windows\NTDS" Log storage Path
Sysvolpath= "C:\Windows\SYSVOL" SYSVOL shared folder storage path
safemodeadminpassword=123.com directory Restore Mode password is: 123.com
Rebootoncompletion=yes Restart your computer
1. Enter "CMD" on the Run interface to determine
650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/79/67/wKioL1aQkLqTysRgAABhFxjxbl4887.png "style=" float: none; "title=" 2.PNG "alt=" Wkiol1aqklqtysrgaabhfxjxbl4887.png "/>
2. Dcpromo.exe/unattend:C:\Users\Administrator\Desktop\Install-AD-DS.txt, enter
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/79/69/wKiom1aQkI_TmNAiAAA9_w3bBlA436.png "style=" float: none; "title=" 3.PNG "alt=" Wkiom1aqki_tmnaiaaa9_w3bbla436.png "/>
3. Wait for the installation to complete
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/79/69/wKiom1aQkI_T81AqAABLAwcFYpY525.png "style=" float: none; "title=" 4.PNG "alt=" Wkiom1aqki_t81aqaablawcfypy525.png "/>
4. Creating a DNS partition
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/79/69/wKiom1aQkJCQQ7CIAABfK2qIT_Y153.png "style=" float: none; "title=" 5.PNG "alt=" Wkiom1aqkjcqq7ciaabfk2qit_y153.png "/>
Wait for the computer to restart and install AD DS through the export file.
To install AD DS using the ad export file