0X00000A65

DFS VolumeData corrupt error 0x00000A65 fix

Database Errors Intermediate 👁 0 views 📅 Jun 10, 2026

Happens when DFS metadata gets corrupted. Trigger: failed replication or unclean shutdown. Fix: rebuild DFS database or restore from backup.

When this error shows up

You're staring at an event log entry or a command output that says 0X00000A65 with the text "One of the records in the internal DFS database is corrupt". This usually happens after:

  • A DFS replication group member crashed during a sync cycle
  • An unclean shutdown of a domain controller or file server that hosts the DFS namespace
  • Running dfsutil or dfsrdiag and getting this error back

I've seen it most often on Windows Server 2016 and 2019 boxes that had a sudden power loss. The DFS database file (DfsrVolumeConfig.xml and friends) gets half-written, and the consistency check fails.

What's actually happening here

The DFS-R engine maintains a local database of volume metadata — what folders are replicated, what the GUIDs are, the current USN journal state. When a record in that database has a checksum mismatch or a missing reference, the engine throws this error. It's not a hardware problem 90% of the time. It's a software state corruption.

The error code maps to NERR_DfsVolumeDataCorrupt in the old LanMan error table. The key point: the database is corrupt, not the files themselves. Your shared files are probably fine. The metadata that tracks what to replicate is what's broken.

The fix: rebuild the DFS database

You don't need to reinstall DFS or restore the whole server. The cleanest approach is to stop DFS-R, delete the corrupt database files, and let the service rebuild them from the AD state. Here's the exact sequence:

  1. Stop the DFS Replication service
    Open PowerShell as admin and run:
    Stop-Service dfsr
    Or use Services.msc: find "DFS Replication", right-click, stop.
  2. Delete the local DFS database
    Navigate to C:\System Volume Information\DFSR. You need to take ownership first because it's a hidden system folder. Run:
    takeown /f "C:\System Volume Information\DFSR" /r /d y
    icacls "C:\System Volume Information\DFSR" /grant administrators:F /t
    Then delete the entire DFSR folder:
    rmdir /s /q "C:\System Volume Information\DFSR"
  3. Clear the DFS-R database in AD
    This step is critical — without it the service will try to reuse the old corrupt database. Use:
    dfsrdiag Unreplicated /member:YOUR_SERVER_NAME
    Replace YOUR_SERVER_NAME with your actual server's NetBIOS name. This flags the server's database as needing a full rebuild.
  4. Restart DFS-R and force initial sync
    Start-Service dfsr
    Then trigger a full sync backfill:
    dfsrdiag SyncNow /member:YOUR_SERVER_NAME
    dfsrdiag PollNow /member:YOUR_SERVER_NAME
  5. Wait for replication
    Check dfsrdiag Backlog to see the pending file count. It'll take time proportional to your data size. For a 500GB share with millions of files, expect a couple hours.

What to check if it still fails

If the error comes back, you've got a deeper problem. Try these:

  • Check disk health — run chkdsk C: /f. Bad sectors can corrupt the database files repeatedly. I've seen this on old SAS drives with pending reallocations.
  • Verify AD replication health — run repadmin /replsummary. If the DFS configuration objects aren't replicating, the local rebuild won't match what the domain thinks. You'll get the error on every sync attempt.
  • Look for duplicate DFS volumes — run dfsutil root list. If a volume GUID shows up twice with different paths, that's a separate metadata corruption that requires removing and re-adding the DFS root.

If you're still stuck after all that, the nuclear option is uninstalling DFS Replication, rebooting, and reinstalling. But honestly, I've only had to do that once in ten years. The database rebuild works 99% of the time.

Was this solution helpful?