Monday 7 April 2014

DFS Replication: Corrupt Database - Event ID 467

DFS not replicating with the following event logged on the affected server:

DFSRs (1624) \\.\F:\System Volume Information\DFSR\database_123A_B9CD_8EF9_4623\dfsr.db: Database \\.\F:\System Volume Information\DFSR\database_123A_B9CD_8EF9_4623\dfsr.db: Index IDContentSetIdGvsnIndex of table IDTable is corrupted (0).

To resolve:

Backup replicated DFS directory using Robocopy:

robocopy F:\ G:\ /B /E /COPYALL /DCOPY:T /R:6 /XD "$RECYCLE.BIN" "System Volume Information" /LOG:robo.log /TEE

Run secondary backup if necessary using /PURGE to mirror any subsequent changes:

robocopy F:\ G:\ /B /E /COPYALL /DCOPY:T /R:6 /XD "$RECYCLE.BIN" "System Volume Information" /LOG:robo.log /TEE /PURGE

Open command prompt, change to affected drive and run dir to obtain file list for future reference:

dir /B /S > c:\filelist.txt

Delete replication groups and members and stop DFSR service on server with corrupt database:

net stop DFSR

Launch elevated command prompt and grant Domains Admins right to the System Volume Information folder on affected DFSR drive:

icacls "F:\System Volume Information" /Grant "Domain Admins":F

Delete corrupt DFSR directory within System Volume Information:
rd "F:\System Volume Information\DFSR" /S /Q

Remove Domain Admins from System Volume Information:

icacls "F:\System Volume Information" /remove:g "Domain Admins"

Restart DFSR service and recreate replication group.

Monitor the status of DFS replication:

wmic /namespace:\\root\microsoftdfs path dfsrreplicatedfolderinfo get replicationgroupname,replicatedfoldername,state

dfsrdiag replicationstate


  1. Timothy;

    Thank you so much for this post !!!! Worked great !!!!!


    David Harris

  2. Worked perfectly.... thanks a bunch!!!

  3. When I try "icacls “F:\System Volume Information” /Grant "Domain Admins":F" I get an error. invalid parameter :volume"

    1. It needs to be a user not a group.

    2. I know this is super old but just wanted to let you know it's because you're copying the quotation marks in the article. The ones around the path are not accepted by command prompt.