Hi,
I just discovered that both target paths in a DFS root target is referenced by NetBIOS name, not FQDN (the names is generalized):
Get-DfsnRootTarget -Path \\Contoso.local\AccountingSoftware| Format-List
Path :\\Contoso.local\AccountingSoftware
TargetPath :
\\Contoso-FS1\AccountingSoftware
State : Online
ReferralPriorityClass : sitecost-normal
ReferralPriorityRank : 0
Path :\\Contoso.local\AccountingSoftware
TargetPath :
\\Contoso-FS2\AccountingSoftware
State : Online
ReferralPriorityClass : sitecost-normal
ReferralPriorityRank : 0
The goal is to remove and re-add the target paths one by one in order to use FQDN.
When trying to remove one of the targets, I receive the following error:
Remove-DfsnRootTarget -TargetPath "\\Contoso-FS2\AccountingSoftware" -Path "\\Contoso.local\AccountingSoftware"
Remove-DfsnRootTarget : The requested object could not be found.
What could be the reason for this? I get a similar error message both when using the DFS MMC tool and dfsutil.