I'm getting these alerts from our monitoring and have it tracked down to why it's showing the users share in DFS as uninitialized, even though it's state is actually normal. The replication group has been added and removed over and over and renamed.
Right now I have these replication groups:
Admin
Domain System Volume
Shares
Users
And there are no issues. But monitoring uses WMI and as such the following command shows the real issue:
Wmic /namespace:\\root\microsoftdfs path dfsrreplicatedfolderinfo get replicationgroupname,replicatedfoldername,state
ReplicatedFolderName ReplicationGroupName State
Admin Admin 4
Shares Shares 4
Users pipt.local\dfsroot\users 0
Users pipt.local\dfsroot\users 0
SYSVOL Share Domain System Volume 4
Users pipt.local\dfsroot\users 0
Admin pipt.local\dfsroot\admin 0
Users Users 4
Users pipt.local\dfsroot\users 0
Users pipt.local\dfsroot\users 0
Line items with a State of 4 are correct. They are also the ones that match the naming convention in the console. Admin and Shares were removed and renamed once it looks like. Users over and over again. But it is these references that the monitoring software is querying, so it appears.
How do I rectify this?
It looks like i need to delete all of the pipt.local\dfsroot\users replicationgroupnames, and the one pipt.local\dfsroot\admin
How do i do that safely?
Thanks in advance.