官术网_书友最值得收藏!

Configuring domain controller cloning

From Windows Server 2012, the fastest way to deploy a new domain controller is to clone computers. Prior to Windows Server 2012, only domain members could be cloned. Cloning copies the virtual drive of VMs and changes some configuration parameters, such as the IP address and the computer name. Cloning provides some benefits, such as rapidly provisioning computers with the same configuration and provisioning test environments.

Successful domain controller cloning requires the following:

  • Hyper-V on Windows Server 2012 or later.
  • Virtualized domain controllers that need to be Windows Server 2012 or later.
  • A PDC emulator that runs on Windows Server 2012 or later. The PDC emulator must be online when the virtual domain controller clones start for the first time.

The domain-controller cloning process consist of several steps:

  1. Add the source domain controller to the Cloneable Domain Controllers group.
  2. Verify that the apps and services on the source domain support cloning and generate an XML file using the following PowerShell command:
Get-ADDCCloningExcludedApplicationList
Get-ADDCCloningExcludedApplicationList -GenerateXML
  1. Create the DCCloneConfig.xml file. When the cloning process recognizes it, a new domain controller will be created from the clone:
New-ADDCCloneConfigFile
  1. Shut down the source domain controller and export the virtual machine.
  2. Import a new virtual machine using the exported files.
  3. Name the new virtual machine and then copy the virtual machine (create a new unique ID).
  4. Start the cloned virtual machine.

Once you start the cloned domain controller, the clone checks whether the virtual machine identifier exists and reads the information stored in the previously created DCCloneConfig.xml file.

The DCCloneConfig.xml file can be created with default values or with customized values using the  New-ADDCCloneConfigFile PowerShell command. For more information, visit  https://docs.microsoft.com/en-us/powershell/module/addsadministration/new-addccloneconfigfile.
主站蜘蛛池模板: 武城县| 阿拉尔市| 泸溪县| 稷山县| 嘉禾县| 从化市| 宁海县| 平邑县| 油尖旺区| 集贤县| 方山县| 资源县| 左云县| 若羌县| 德阳市| 大安市| 蒙自县| 舒兰市| 增城市| 闵行区| 夹江县| 安化县| 棋牌| 鹤庆县| 泰安市| 侯马市| 海晏县| 嵊泗县| 扶沟县| 鄢陵县| 香港 | 肇源县| 阿克陶县| 西安市| 辰溪县| 琼结县| 天等县| 外汇| 石台县| 中山市| 汕尾市|