servebolt
IADDSWSE

6.4.1 Add an additional Domain Controller into the domain with Command-Line + Unattended Answer File

The very first surprising benefit from this CLI mode is in deploy additional DC to a Site/branch of our domain network where staff with a little of IT knowledge (especially with Active Directory).

A bundled DVD with system state restore, an unattendeded answer file alongside with dcpromo command will save your day.

[00:03] We are gonna continue the process of AD DS installation/DC promoting with CLI + unattendeded answer file rather than the regular Installation Wizard GUI in episode 1.

6 4 1 Add an additional Domain Controller into the domain with Command Line Unattended Answer File | IADDSWSE

Its other applications can be proved via real scenarios; comparing to our virtual lab, the scale of domain infrastructure can grow mass: DC number may go up to 100+ servers, 50 Sites are feasible, 10+ IT teams, etc.

That's why you need to automate AD tasks in reliable ways, not only to reduce the time (CLI) but also maintain the consistency (unattendeded answer file).

[00:12] And with Windows Server core edition, you have no choice but this kind of deployment.

6 4 1 Add an additional Domain Controller into the domain with Command Line Unattended Answer File | IADDSWSE

Moreover, you can take advanced of scripting to customize further the process of set hostname, IP address, DC promoting, etc.

And with the rising of PowerShell on Windows Server 2012, the possibility is unlimited!

[00:20] Let's finish the Export settings process, close AD DS Installation Wizard and review that unattendeded answer file.

6 4 1 Add an additional Domain Controller into the domain with Command Line Unattended Answer File | IADDSWSE

[00:38] Basically, this file contains pre-assigned variables so that, the dcpromo (that is called in the command line mode with the path to this file) can read and complete the DC promoting process.

6 4 1 Add an additional Domain Controller into the domain with Command Line Unattended Answer File | IADDSWSE

[00:46] DCPROMO unattendeded file (automatically generated by dcpromo) usage.

6 4 1 Add an additional Domain Controller into the domain with Command Line Unattended Answer File | IADDSWSE

[00:54] Just enter this command in the CMD prompt, though, we prepared parameters via the AD DS Installation Wizard GUI.

6 4 1 Add an additional Domain Controller into the domain with Command Line Unattended Answer File | IADDSWSE

[01:15] For security reasons, do not define any administrative credentials in that plain text file.

6 4 1 Add an additional Domain Controller into the domain with Command Line Unattended Answer File | IADDSWSE

It will be prompted in a reliable way automatically, don't worry!

Now, you just need to re-run that dcpromo command.

– enter domain Admin account.

– wait for it to validate environment parameters.

– verify that the DNS installation is fine.

– the promoting process finishes after a server reboot.

and your additional DC is ready to go!

[02:35] Do not forget to log in with a domain account instead of a local one!

6 4 1 Add an additional Domain Controller into the domain with Command Line Unattended Answer File | IADDSWSE

You may see that with different methods to promote an additional DC: Installation Wizard GUI, CLI with an unattended answer file; we get the same the result is now this machine become a server for SnoOpy.com domain.

[02:54] Alongside with DCs: SnoOpy-Server, SnoOpy-Server-2 (WS 2012).

6 4 1 Add an additional Domain Controller into the domain with Command Line Unattended Answer File | IADDSWSE

Check to make sure Dcpromo was successful.

From a command prompt, enter the command Net Share then you should then see Netlogon and Sysvol shares listed.

If they don't show up, then the promotion wasn't successful, which would likely be due to failed replication. Furthermore, check the DNS settings.

[03:07] You should review parameters of the answer file carefully, as always, from the library of Microsoft: How to use unattendeded mode to install and remove Active Directory Domain Services on Windows Server 2008-based domain controllers.


http://bit.ly/how-to-unattended-mode-AD-DC-2008

6 4 1 Add an additional Domain Controller into the domain with Command Line Unattended Answer File | IADDSWSE

[03:13] And refer this guide about Dcpromo using an unattendeded answer file.

6 4 1 Add an additional Domain Controller into the domain with Command Line Unattended Answer File | IADDSWSE

https://searchwindowsserver.techtarget.com/tip/Dcpromo-using-an-unattended-answer-file

In conjunction with the IFM feature, you should find it takes much less time and traffic to promote, synchronize the new DC, though, almost thing is packed in the backup state.

[03:20] Furthermore, it's worth investing on Windows Server 2012 as well as its PowerShell tool, included this kind of DC promoting.

6 4 1 Add an additional Domain Controller into the domain with Command Line Unattended Answer File | IADDSWSE

http://kpytko.pl/active-directory-domain-services/adding-additional-domain-controller-windows-server-2012/


http://bit.ly/install-replica-adc-TN-2012

[03:25] Follow my YOUTUBE channel for more about Active Directory, buddies!


https://marvel-it.icu/

[SHAZAM]


http://shazam.marvel-it.icu/s=b7e60a90&f=pfd9yejD

[YOUTUBE]
6.4.1 Add an additional Domain Controller into the domain with Command-Line + Unattended Answer File

[ Æsir Tales ]
Back to top button