Domain controller cloning error 0x80041005

Article translations Article translations
Article ID: 2743278 - View products that this article applies to.
Expand all | Collapse all

Symptoms

You are using the Virtualized Domain Controller (VDC) cloning feature introduced in Windows Server 2012. After attempting to clone a new VDC, you find that it boots in Directory Services Repair Mode (DSRM). After examining the dcpromo.log you see:

==============================
[INFO] The attempted domain controller operation has completed
[INFO] Updating service status to 4
[INFO] DsRolepSetOperationDone returned 0
[ERROR] vDC Cloning: Cloning failed with error code 0x80041005.
[INFO] vDC Cloning: Set vDCCloningComplete event.
[INFO] Rebooting machine
==============================

Cause

The DcCloneConfig.xml file contains only one WINS server specified, either as the <PreferredWINSServer> or <AlternateWINSServer> element. For example:

<?xml version="1.0"?>
<d3c:DCCloneConfig xmlns:d3c="uri:microsoft.com:schemas:DCCloneConfig">
    <ComputerName>CLONE1</ComputerName>
    <SiteName>Chicago</SiteName>
    <IPSettings>
        <IPv4Settings>
            <StaticSettings>
                <Address>10.0.0.109</Address>
                <SubnetMask>255.255.0.0</SubnetMask>
                <DefaultGateway>10.0.0.1</DefaultGateway>
                <DNSResolver>10.0.0.101</DNSResolver>
                <DNSResolver>127.0.0.1</DNSResolver>
                <PreferredWINSServer>10.0.0.15</PreferredWINSServer>
                <AlternateWINSServer></AlternateWINSServer>
            </StaticSettings>
        </IPv4Settings>
    </IPSettings>
</d3c:DCCloneConfig>    


Resolution

Specify valid and unique WINS server entries in both the <PreferredWINSServer> and<AlternateWINSServer> elements, or provide no WINS entries at all. You can also use DHCP or router-based addressing to provide WINS entries to the cloned domain controllers.

After performing these repair operations, retry cloning:

  1. Run the following commands from an elevated CMD prompt:

    Bcdedit.exe /deletevalue safeboot
    
    Shutdown.exe /r /t 0

  2. Verify that the server successfully clones

More information

This behavior with the WINS entries is a code defect in Windows Server 2012.

DSRM is intentionally invoked as part of the cloning process in order to safeguard the network and domain from duplicated domain controllers. 

Directory Services Repair Mode was called Directory Services Restore Mode in previous Windows operating systems.

For more information on configuring and troubleshooting VDC with details and step-by-step guidance, see:

http://technet.microsoft.com/en-us/library/hh831734.aspx

http://go.microsoft.com/fwlink/p/?LinkId=236370


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2743278 - Last Review: September 5, 2012 - Revision: 6.0
Applies to
  • Windows Server 2012 Datacenter
  • Windows Server 2012 Standard
Keywords: 
KB2743278

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com