2012 server - orphaned DFS share can't be deleted
Posted on 2014-04-30
I need to manually delete, remove, clean up an orphaned DFS name.
I have a folder shared as \\server\data
At one time, it was also a DFS share called \\mydomain.com\data
I cannot delete/remove the share name. I get:
“An error occurred while trying to delete the share %sharename%. The share must be removed from the Distributed File System before it can be deleted.”
The problem is - it *doesn't* exist in DFS.
I've checked ADSIEDIT, as mentioned in countless articles. The namespace DOES NOT EXIST in this location.
I can remove it from "display" in DFS Management, but if I go to add a namespace to display, it shows me "\\mydomain.com\data" as a valid name to add.
I can't re-add the namespace because it says it already exists. I can't delete it because it says it doesn't exist!!