SYSVOL DFSR not replicating, not listed in wmic dfsrvolumeconfig

Chris Van Sickle 1 Reputation point
2022-04-19T15:35:22.697+00:00

This is an addendum to the only post on the internet with the same symptoms as what I'm seeing. https://social.technet.microsoft.com/Forums/en-US/a90e17ff-2803-4983-8389-a6b3a8abcd96/dfsr-sysvol-folder-not-replicating?forum=winserverDS#24904895-6af0-4db8-8a4d-ec4b00de508a

Backstory: coming on as addtl SysAdmin for existing domain, with an unstable baremetal W2019 running every service. Adding a 2nd DC as VM on a new rack revealed the sysvol replication failure exactly as described in the link above. Performing a D4-like authoritative restore doesnt do anything. wmic repeatedly reported "No available instances" for any relevant queries of the original DC.

Digging in to the debug log, found

  • Multiple volumes share the same volume serial number which prevents DFSR from finding the right volume
  • ReadConfigFilePath Location of valueName:Volume Configuration File is location:\.\C:\System Volume Information\DFSR\Config\Volume_DFC14B54-9DC0-4AEC-9E44-BB688F6A2BCC.XML

Digging further, found that current system (C) was cloned from a partition on the big raid drive (now F). They shared the same serial number, but different volumeGUIDs. The XML above has the GUID from the now F drive in its name.

Moral of the story - cloning a system drive on a DC can have consequences later. Problem wasnt revealed until we tried to add a 2nd DC for sanity.

Question: does anyone believe this is recoverable? Could I start poking around in C:\System Volume Information\DFSR and copy/ren/edit the .XML (and quite possibly the registry, AD too), and get all values pointing to legitimate ones?

This is mostly academic as the lean from all parties is towards massaging the new DC into place with manual copying of sysvol, doing D4 to it not the old server, and demoting the old server once things are confirmed stable.

Thanks!

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Client for IT Pros | Devices and deployment | Other
Windows for business | Windows Server | User experience | Other
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Mervyn King 21 Reputation points
    2022-04-19T16:37:36.413+00:00

    In Powershell try: wmic /namespace:\root\microsoftdfs path dfsrVolumeConfig where volumeGuid="<GUID>" call ResumeReplication

    Replication is not resumed automatically in order to give system administrator you opportunity to backup replicated folders before starting recovery.
    If you prefer for replication to resume automatically you need make following registry change:

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DFSR\Parameters
    StopReplicationOnAutoRecovery = 0

    then in PowerShell: repadmin /syncall

    Take a look at this article: https://learn.microsoft.com/en-US/troubleshoot/windows-server/group-policy/force-authoritative-non-authoritative-synchronization

    0 comments No comments

  2. Chris Van Sickle 1 Reputation point
    2022-04-19T16:43:45.517+00:00

    No dice - I tried that - problem is there is no GUID for the SYSVOL in wmic. So there's no GUID to call ResumeReplication on. StopReplicationOnAutoRecovery was already 0 on both DCs.
    The issue is that DFSR cant discern the proper volume to reference, so it just bails out.


  3. Anonymous
    2023-05-03T22:36:17.8+00:00

    Doesn't sound good. I'd look for a known good backup, otherwise something here could help.

    https://gist.github.com/awnish25/eab6d4e2eed787a8bbafc317dfbde048

    --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.