Information Technology Reference
In-Depth Information
For applications that are flagged by the Get-ADDCCloningExcludedApplicationList cmdlet,
a good rule of thumb is that if they are Microsoft applications or services, such as the DHCP
Server role, they really should be removed, not added to the CustomDCCloneAllowList.xml
file. For third-party applications, such as the two on my server, verify with the vendor or
remove them to be safe.
Remove any stand-alone MSAs from the source server. Group MSAs (gMSAs) support clon-
ing, but stand-alone ones do not. Use Get-ADComputerServiceAccount to identify any MSAs
and use Uninstall-ADServiceAccount to remove the accounts. You can read the accounts after
you finish the offline cloning operation by using the Install-ADServiceAccount cmdlet.
Create the DCCloneConfig.xml file by using the New-ADDCCloneConfig cmdlet, which
creates the XML file based on the options you specify in the command. Table 5-3 shows the
arguments to New-ADDCCloneConfig.
TABLE 5-3 New-ADDCCloneConfig parameters
Parameter
Description
None
Creates a blank DCCloneConfig.xml file.
-CloneComputerName
Specifies the clone (target) computer name.
-Path
Specifies a custom path for the DCCloneConfig.xml file. Default value is
$env:windir\ntds.
-SiteName
The Active Directory site name for the target domain controller.
-IPv4Address
The static IPv4 address of the cloned computer.
-IPv4SubnetMask
The static IPv4 subnet mask of the cloned computer.
-IPv4DefaultGateway
The static IPv4 default gateway address of the cloned computer.
-IPv4DNSResolver
The static IPv4 DNS entries of the cloned computer. It is an array data type
of up to four entries in a comma-separated list.
-PreferredWINSServer
The static IPv4 address of the primary Windows Internet Name Service
(WINS) server.
-AlternateWINSServer
The static IPv4 address of the secondary WINS server.
-IPv6DNSResolver
The static IPv6 DNS entries of the cloned computer. It is an array data type
in a comma-separated list.
-Offline
Overwrites any existing DCCloneConfig.xml file and does not perform any
validation tests.
-Static
Required if you specify static IP address arguments.
 
Search WWH ::




Custom Search