If you are trying to remove a share and you receive the error "he share must be removed from the distributed file system before it can be deleted" when you try to remove this, you need to remove the share from DFS. If you cannot access DFS any longer and this is an orphaned share you can remove it manually from the registry.
Edit the registry and remove the share from the DFS Name Space
Edit the registry and browse to HKLM\Software\Microsoft\Dfs\Roots\Domain and then look for the share name and delete the registry key.
Thank you. This worked for me. (Server 2008 R2)
ReplyDeleteperfect, thanks :)
ReplyDelete