DCs Failed test DFSREvent

Peter (Weitao) Liu 1 Reputation point
2022-11-28T05:53:55.367+00:00

Dears,

I have 2 DCs, PDC and BDC, which PDC is the primary DC. within these few months I noticed that there are error logs in Server Manager within DS server. On PDC the error code is 1202, and it says:

"The DFS Replication service failed to contact domain controller to access configuration information. Replication is stopped. The service will try again during the next configuration polling cycle, which will occur in 60 minutes. This event can be caused by TCP/IP connectivity, firewall, Active Directory Domain Services, or DNS issues.

Additional Information:
Error: 160 (One or more arguments are not correct.)"

on BDC, there are 2 errors with codes 5002 and 4612.

4612:

The DFS Replication service initialized SYSVOL at local path C:\Windows\SYSVOL\domain and is waiting to perform initial replication. The replicated folder will remain in the initial synchronization state until it has replicated with its partner PDC.xxxx.local. If the server was in the process of being promoted to a domain controller, the domain controller will not advertise and function as a domain controller until this issue is resolved. This can occur if the specified partner is also in the initial synchronization state, or if sharing violations are encountered on this server or the sync partner. If this event occurred during the migration of SYSVOL from File Replication service (FRS) to DFS Replication, changes will not replicate out until this issue is resolved. This can cause the SYSVOL folder on this server to become out of sync with other domain controllers.

5002:

The DFS Replication service encountered an error communicating with partner PDC for replication group Domain System Volume.

I got these errors every time I restarted service DFSR, so it's not a one time thing.

I've run Dcdiag /test: DFSREvent on both DCs and all get the message "Failed test DFSREvent"

I also checked the sysvol folders on both DCs, and on BDC the "scripts" folder is empty and no "policies" folder under my domain.

Could somebody help me fix this?

Windows for business Windows Server User experience Other
0 comments No comments
{count} votes

10 answers

Sort by: Most helpful
  1. Anonymous
    2022-11-29T01:01:56.583+00:00

    Ok, well to be honest there may not be anything to save here but you could try this one.
    https://gist.github.com/RavuAlHemio/00e51d3ea64731be9d43b01eda18734f

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

    1 person found this answer helpful.

  2. Anonymous
    2022-11-28T13:52:46.977+00:00

    You can try a non authoritative sync
    https://support.microsoft.com/en-us/help/2218556/how-to-force-an-authoritative-and-non-authoritative-synchronization-fo

    or simplest solution may be to move roles to another healthy one, demote, reboot, promo it again.

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


  3. Anonymous
    2022-11-29T00:34:28.187+00:00

    What's in the System and DFS Replication event logs since last boot?


  4. Anonymous
    2022-11-29T00:51:05.693+00:00

    Have you tried an authoritative sync?


  5. Anonymous
    2022-12-08T14:24:44.46+00:00

    I read some articles that they say if we're using DFSR instead of FRS, there should be a folder SYSVOL under C:\Windows, but at my 2 servers, none of them has this folder, is it OK?

    Sysvol should exist regardless or FRS / DFSR. You may need to restore from a known good backup and try again.

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


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.