Windows Server 2008 R2 with two domain controllers. DFS was set up and working properly between these servers. One server had an issue, so we restored it back to an image from 6 days ago. The image was made just prior to installing DFS Role Services on the server. So after the restore, we DFS was reinstalled. Replication is no longer working. I tried deleting the namespace and the replication group and adding it back from scratch to no avail.
If I create a diagnostic report in DFS Manager, I find the following error for the server that was restored (SHSMASTER)
Cannot access the local WMI repository
Affected replicated folders: All replicated folders on this server.
For the other server, MASTER2 (not the restored one) it shows this error:
DFS Replication cannot replicate with partner MASTER for replication group Group1. The partner did not recognize the connection or the replication group configuration. The DFS Replication service used partner DNS name .....etc.
The other test I ran was adding new namespace. When I do this, the last step of the wizard produces this error:
\\domain.local\testnamespace: Properties on the namespace cannot be set. The domain-based namespace was created successfully but is currently unavailable for management due to Active Directory Domain Services replication delays and might not have default parameters configured properly. This can occur when you create a domain-based namespace from a management console in an un-trusted domain. Please allows some time for Active Directory Domain services replication and refresh the namespace later.
SYSTEM STATE BACKUPS
You will almost certainly have to trash the server you restored from an image and that wont be all. but its a start.
Never use image backups for AD servers unless they are from like last night AND then they MIGHT work.