Windows DFSR Troubleshooting


A few cmds to help with the DFS troubleshooting aspects, keep in mind all should be run from an elevated PowerShell
Dfsdiag /TestDCs

DFSDiag /TestDFSIntegrity /DFSRoot:\\Contoso.com\MyNamespace /Recurse /Full
Dfsutil /pktinfo
Dfsutil /spcinfo
Dfsr pollad
Klist tgt
Klist tickets
DfsrAdmin Health New /RgName:"Contoso.com\Path1\Folder1" /RefMemName:SERVER /RepName:C:\DFSReports\HealthReport_DATE.html /FsCount:true
dfsrdiag ReplicationState /member:SERVER /all
wmic /namespace:\\root\microsoftdfs path DfsrReplicatedFolderInfo get * /format:textvaluelist
Get-ChildItem C:\Temp -recurse | Out-File E:\DFS-Data\Path1\DfsrPrivate\Staging > C:\Export\allfiles.txt
dfsrdiag backlog /receivingmember:SERVER2 /sendingmember:SERVER1 /rgname:"ReplicationGroup1" /rfname:"Folder Name"

To search for replicated folder name:
1. From Elevated PowerShell: Notepad "C:\Windows\Debug\Dfsr####.log"

2. Find "parent" GUID (will look like {D767AC01-8375-447A-88E4-1CCF6A18DD95}-v167695)
Search for GUID

Run: wbemtest
Namespace: root\microsoftdfs connect

Query: "Select * from dfsreplicatedfolderconfig"


Completely Flush Server
  • dfsutil /pktflush
  • dfsutil /spcflush
  • dfsutil /purgeMupcache
  • klist purge
  • ipconfig /flushdns 

Create pem certificate

 Creating a .pem with the Private Key and Entire Trust Chain     Log into your DigiCert Management Console and download your Intermediate (D...

Mais vistos