Cloning a Domain Controller Server 2012: Hyper-V


Ensure the domain controller is placed in the Clonable Domain Controllers Security Group

Creating the Allowable Applications List:

get-addccloningExcludedApplicationList

Generate a exception xml:

Get-ADDCCloningExcludedApplicationList -GenerateXml

Creating the Clone Configuration File:

New-ADDCCloneConfigFile -Static -IPv4Address <newipaddress> -IPv4DefaultGateway <ip address> -IPv4SubnetMask <Subnetmask> -IPv4DNSResolver <DNS IP> <Second DNS IP> - CloneComputer Name <domain controller name> -SiteName <site Name>

You can view the DC Clone config file under the following directory:

notepad c:\Windows\NTDS\DCCloneConfig.xml

Cloning the DC:

Export the VM to a folder

Import the Vm, Copy the virtual machine (create a new unique ID)
rename the interface item from old dc to new dc name.

Power off the source DC

Once you power on the new DC it will start to clone

After the clone has completed, power on both DC’s. The Customisation will happen automatically

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s