schema mismatch between servers involved windows server 2008 r2 and windows server 2012 r2

Nasir Sharif Khattak 1 Reputation point
2020-08-07T13:05:21.127+00:00

08/07/2020 17:43:48 [INFO] Promotion request for replica domain controller
08/07/2020 17:43:48 [INFO] DnsDomainName domain4.com
08/07/2020 17:43:48 [INFO] ReplicaPartner Adc.domain4.com
08/07/2020 17:43:48 [INFO] SiteName Default-First-Site-Name
08/07/2020 17:43:48 [INFO] DsDatabasePath C:\Windows\NTDS, DsLogPath C:\Windows\NTDS
08/07/2020 17:43:48 [INFO] SystemVolumeRootPath C:\Windows\SYSVOL
08/07/2020 17:43:48 [INFO] Account (NULL)
08/07/2020 17:43:48 [INFO] Options 1179840
08/07/2020 17:43:48 [INFO] Validate supplied paths
08/07/2020 17:43:48 [INFO] Validating path C:\Windows\NTDS.
08/07/2020 17:43:48 [INFO] Path is a directory
08/07/2020 17:43:48 [INFO] Path is on a fixed disk drive.
08/07/2020 17:43:48 [INFO] Validating path C:\Windows\NTDS.
08/07/2020 17:43:48 [INFO] Path is a directory
08/07/2020 17:43:48 [INFO] Path is on a fixed disk drive.
08/07/2020 17:43:48 [INFO] Validating path C:\Windows\SYSVOL.
08/07/2020 17:43:48 [INFO] Path is on a fixed disk drive.
08/07/2020 17:43:48 [INFO] Path is on an NTFS volume
08/07/2020 17:43:48 [INFO] Start the worker task
08/07/2020 17:43:49 [INFO] Request for promotion returning 0
08/07/2020 17:43:49 [INFO] Forcing time sync
08/07/2020 17:43:49 [INFO] Forcing a time sync with Adc.domain4.com
08/07/2020 17:43:49 [INFO] Searching for a domain controller for the domain domain4.com that contains the account BDC-NEW$
08/07/2020 17:43:49 [INFO] Located domain controller Adc.domain4.com for domain domain4.com
08/07/2020 17:43:49 [INFO] Directing kerberos authentication to Adc.domain4.com returns 0
08/07/2020 17:43:49 [INFO] DsRolepFlushKerberosTicketCache() successfully flushed the Kerberos ticket cache
08/07/2020 17:43:49 [INFO] Using site Default-First-Site-Name for server Adc.domain4.com
08/07/2020 17:43:49 [INFO] Stopping service NETLOGON
08/07/2020 17:43:49 [INFO] Stopping service NETLOGON
08/07/2020 17:43:49 [INFO] ControlService(STOP) on NETLOGON returned 1(gle=0)
08/07/2020 17:43:49 [INFO] DsRolepWaitForService: waiting for NETLOGON to enter one of 7 states
08/07/2020 17:43:49 [INFO] DsRolepWaitForService: QueryServiceStatus on NETLOGON returned 1 (gle=0), SvcStatus.dwCS=3
08/07/2020 17:43:50 [INFO] DsRolepWaitForService: QueryServiceStatus on NETLOGON returned 1 (gle=0), SvcStatus.dwCS=1
08/07/2020 17:43:50 [INFO] DsRolepWaitForService: exiting because NETLOGON entered STOPPED state
08/07/2020 17:43:50 [INFO] DsRolepWaitForService(for any end state) on NETLOGON service returned 0
08/07/2020 17:43:50 [INFO] ControlService(STOP) on NETLOGON returned 0(gle=1062)
08/07/2020 17:43:50 [INFO] Exiting service-stop loop after service NETLOGON entered STOPPED state
08/07/2020 17:43:50 [INFO] StopService on NETLOGON returned 0
08/07/2020 17:43:50 [INFO] Configuring service NETLOGON to 1 returned 0
08/07/2020 17:43:50 [INFO] Stopped NETLOGON
08/07/2020 17:43:50 [INFO] Deleting current sysvol path C:\Windows\SYSVOL
08/07/2020 17:43:50 [INFO] Created system volume path
08/07/2020 17:43:50 [INFO] Copying initial Directory Service database file C:\Windows\system32\ntds.dit to C:\Windows\NTDS\ntds.dit
08/07/2020 17:43:50 [INFO] Installing the Directory Service
08/07/2020 17:43:50 [INFO] Calling NtdsInstall for domain4.com
08/07/2020 17:43:50 [INFO] Starting Active Directory Domain Services installation
08/07/2020 17:43:50 [INFO] Validating user supplied options
08/07/2020 17:43:50 [INFO] Determining a site in which to install
08/07/2020 17:43:50 [INFO] Examining an existing forest...
08/07/2020 17:43:50 [INFO] Configuring the local computer to host Active Directory Domain Services
08/07/2020 17:43:54 [INFO] EVENTLOG (Informational): NTDS General / Internal Configuration : 2120
This Active Directory Domain Services server does not support the Recycle Bin. Deleted objects may be undeleted, however, when an object is undeleted, some attributes of that object may be lost. Additionally, attributes of other objects that refer to the object being undeleted may also be lost.

08/07/2020 17:43:54 [INFO] EVENTLOG (Informational): NTDS General / Internal Configuration : 2405
This Active Directory Domain Services server does not support the "Recycle Bin Feature" optional feature.

08/07/2020 17:43:54 [INFO] Creating the NTDS Settings object for this Active Directory Domain Controller on the remote AD DC Adc.domain4.com...
08/07/2020 17:43:55 [INFO] Replicating the schema directory partition
08/07/2020 17:43:56 [INFO] Replicating CN=Schema,CN=Configuration,DC=domain4,DC=com: received 1000 out of approximately 1000 objects
08/07/2020 17:43:57 [INFO] EVENTLOG (Informational): NTDS Database / Internal Processing : 1137
Active Directory Domain Services successfully created an index for the following attribute.

Attribute identifier:
592134

Attribute name:
msDS-ExternalDirectoryObjectId

08/07/2020 17:43:57 [INFO] EVENTLOG (Informational): NTDS Database / Internal Processing : 1137
Active Directory Domain Services successfully created an index for the following attribute.

Attribute identifier:
592148

Attribute name:
msDS-ShadowPrincipalSid

08/07/2020 17:43:57 [INFO] EVENTLOG (Informational): NTDS Database / Internal Processing : 1137
Active Directory Domain Services successfully created an index for the following attribute.

Attribute identifier:
592139

Attribute name:
msDS-KeyId

08/07/2020 17:43:57 [INFO] EVENTLOG (Informational): NTDS Database / Internal Processing : 1137
Active Directory Domain Services successfully created an index for the following attribute.

Attribute identifier:
592145

Attribute name:
msDS-ComputerSID

08/07/2020 17:43:57 [INFO] EVENTLOG (Informational): NTDS Database / Internal Processing : 1137
Active Directory Domain Services successfully created an index for the following attribute.

Attribute identifier:
592147

Attribute name:
msDS-KeyApproximateLastLogonTimeStamp

08/07/2020 17:43:58 [INFO] EVENTLOG (Informational): NTDS Database / Internal Processing : 1137
Active Directory Domain Services successfully created an index for the following attribute.

Attribute identifier:
592176

Attribute name:
msDS-SourceAnchor

08/07/2020 17:43:58 [INFO] Replicating CN=Schema,CN=Configuration,DC=domain4,DC=com: received 1770 out of approximately 1770 objects
08/07/2020 17:43:58 [INFO] Replicated the schema container.
08/07/2020 17:43:58 [INFO] Active Directory Domain Services updated the schema cache.
08/07/2020 17:43:58 [INFO] Replicating the configuration directory partition
08/07/2020 17:43:59 [INFO] Replicating CN=Configuration,DC=domain4,DC=com: received 1000 out of approximately 1000 objects
08/07/2020 17:44:00 [INFO] EVENTLOG (Informational): NTDS General / Replication : 1695
This directory service now supports linked-valued replication. Each value of a multivalued attribute now replicates individually to reduce network bandwidth and to provide a finer degree of conflict resolution.

08/07/2020 17:44:01 [INFO] Replicating data CN=Configuration,DC=domain4,DC=com: Received 1771 out of approximately 1771 objects and 65 out of approximately 65 distinguished name (DN) values...
08/07/2020 17:44:01 [INFO] Replicated the configuration container.
08/07/2020 17:44:01 [INFO] Replicating critical domain information...
08/07/2020 17:44:01 [INFO] Error - Active Directory Domain Services could not replicate the directory partition DC=domain4,DC=com from the remote Active Directory Domain Controller Adc.domain4.com. (8418)
08/07/2020 17:44:01 [INFO] EVENTLOG (Error): NTDS General / Internal Processing : 1168
Internal error: An Active Directory Domain Services error has occurred.

Additional Data

Error value (decimal):
-1073741823

Error value (hex):
c0000001

Internal ID:
30017c6

08/07/2020 17:44:02 [INFO] EVENTLOG (Informational): NTDS General / Service Control : 1004
Active Directory Domain Services was shut down successfully.

08/07/2020 17:44:02 [INFO] Active Directory Domain Services is attempting to recursively delete the \Registry\Machine\System\CurrentControlSet\Services\NTDS registry key (DeleteRoot=0).
08/07/2020 17:44:02 [INFO] Active Directory Domain Services is attempting to recursively delete the \Registry\Machine\System\CurrentControlSet\Services\NTDS\Diagnostics registry key (DeleteRoot=1).
08/07/2020 17:44:02 [INFO] Active Directory Domain Services successfully deleted the \Registry\Machine\System\CurrentControlSet\Services\NTDS\Diagnostics registry key (DeleteRoot=1).
08/07/2020 17:44:02 [INFO] Active Directory Domain Services is attempting to recursively delete the \Registry\Machine\System\CurrentControlSet\Services\NTDS\Parameters registry key (DeleteRoot=1).
08/07/2020 17:44:02 [INFO] Active Directory Domain Services successfully deleted the \Registry\Machine\System\CurrentControlSet\Services\NTDS\Parameters registry key (DeleteRoot=1).
08/07/2020 17:44:02 [INFO] Active Directory Domain Services successfully deleted the \Registry\Machine\System\CurrentControlSet\Services\NTDS registry key (DeleteRoot=0).
08/07/2020 17:44:03 [INFO] NtdsInstall for domain4.com returned 8418
08/07/2020 17:44:03 [INFO] DsRolepInstallDs returned 8418
08/07/2020 17:44:03 [ERROR] Failed to install to Directory Service (8418)
08/07/2020 17:44:03 [ERROR] DsRolepFinishSysVolPropagation (Abort Promote) failed with 8001
08/07/2020 17:44:03 [WARNING] Failed to abort system volume installation (8001)
08/07/2020 17:44:03 [INFO] Starting service NETLOGON
08/07/2020 17:44:03 [INFO] Configuring service NETLOGON to 2 returned 0
08/07/2020 17:44:03 [INFO] The attempted domain controller operation has completed
08/07/2020 17:44:03 [INFO] Updating service status to 4
08/07/2020 17:44:03 [INFO] DsRolepSetOperationDone returned 0

Windows Server Setup
Windows Server Setup
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
243 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Dave Patrick 426.3K Reputation points MVP
    2020-08-07T13:16:21.123+00:00

    What's the environment? What operation is being performed? Has domain health been confirm 100%

    --please don't forget to Accept as answer if the reply is helpful--

    0 comments No comments

  2. Daisy Zhou 20,301 Reputation points Microsoft Vendor
    2020-08-10T05:54:44.813+00:00

    Hello NasirSharifKhattak-1326,

    Thank you for posting here.

    We can check the schema version on all DCs with the following command:

    Get-ADObject (Get-ADRootDSE).schemaNamingContext -Property objectVersion
    16635-schema2.png

    Or check the sechma version in ADSI Edit.
    16642-schema1.png

    Below is a list of OS versions and related schema versions. The schema version in one domain is the ObjectVersion corresponding to the highest OS version btween all the DCs.
    16595-schema3.png

    If it is mismatched actually:

    1. We can check if AD replication is working fine.
    2. Check if schema master machine is online (run netdom query fsmo to check sechma master role holder).

    Best Regards,
    Daisy Zhou

    0 comments No comments