Skip to content

repadmin Check Status

The repadmin.exe tool is a critical utility for diagnosing and resolving Active Directory replication issues. It provides detailed insights into replication status, transfer failures, and directory partition health. By leveraging its commands, administrators can proactively identify and resolve replication inconsistencies, ensuring data consistency across domain controllers (DCs).


Checking Replication Status with repadmin /showrep

The /showrep command displays the replication status of all DCs in the domain. It shows whether replication is occurring as expected and highlights potential issues.

Command syntax:

repadmin /showrep <DCName>
Replace <DCName> with the hostname of a DC (e.g., DC01), or omit it to check all DCs.

Example output:

DC=DC01,DC=Domain,DC=com
    Partitions: DC=Domain,DC=com
    Last Attempt: 2023-10-05 14:30:00
    Last Success: 2023-10-05 14:25:00
    Status: Success

Interpretation:
- Status: Success indicates healthy replication. Failed or Error suggests issues.
- Last Attempt/SUCCESS: Time stamps help identify recent replication activity.
- Partitions: Verify all critical partitions (e.g., DC=Domain,DC=com) are listed.


Identifying Failed Replication Transfers with repadmin /showrepl

The /showrepl command provides granular details about replication partners, transfer status, and errors. It is ideal for diagnosing failed transfers.

Command syntax:

repadmin /showrepl <DCName>
Omitting <DCName> runs the command against all DCs.

Example output:

DC=DC01,DC=Domain,DC=com
    Replication Partners: DC02,DC=Domain,DC=com
    Status: Failed
    Last Attempt: 2023-10-05 15:00:00
    Error: 80000000 (Unknown error)

Key checks:
- Look for Status: Failed or Error in the output.
- Use repadmin /showrepl with the /verbose flag for detailed error codes.
- Cross-reference error codes with the Windows Event Viewer (Event ID 13518 or 13519) for context.


Validating Directory Partitions with repadmin /showpart and /showmeta

Directory partitions define how data is replicated across DCs. Use these commands to validate their health.

/showpart lists all directory partitions and their replication status:

repadmin /showpart
Example output:
Partition: DC=Domain,DC=com
    Replication Status: Healthy
Partition: CN=Configuration,DC=Domain,DC=com
    Replication Status: Healthy

/showmeta checks replication metadata for conflicts or inconsistencies:

repadmin /showmeta <DCName>
Look for Conflict or Inconsistent entries in the output.


Troubleshooting Specific Replication Issues

Forcing a Replication Attempt

Use /replicate to manually trigger replication between two DCs:

repadmin /replicate <SourceDC> <DestinationDC> <Partition>
Example:
repadmin /replicate DC01 DC02 "DC=Domain,DC=com"

Checking for Replication Conflicts

Use /showmeta to identify conflicts in the directory partition:

repadmin /showmeta DC01 "DC=Domain,DC=com"
Conflicts may indicate duplicate object creation or attribute inconsistencies.


Key takeaways

  • Use repadmin /showrep to quickly assess replication status across all DCs.
  • Run repadmin /showrepl to diagnose failed transfers and cross-check error codes.
  • Validate directory partitions with repadmin /showpart and repadmin /showmeta for consistency.
  • Force replication with /replicate to resolve intermittent connectivity issues.
  • Always correlate replication errors with Windows Event Viewer logs for precise troubleshooting.