Hello 向阳 李,
Based on your description, this issue is very likely not a simple permission or operational problem. Instead, it is typically caused by inconsistent or corrupted DFS Namespace configuration data in Active Directory or the local registry after environment changes. When a domain controller is reinstalled or a server is renamed, DFS may still retain references to the old server, which leads to failures when querying or deleting the namespace. Therefore, even if everything looks normal in the GUI, the namespace may still be stuck in a broken state.
In this situation, you can try the following solutions:
- Force cleanup DFS Namespace and recreate it:
Open Command Prompt as Administrator and run dfsutil /pktflush and dfsutil /spcflush to clear DFS cache. Then try to force remove the namespace using dfsutil root remove \\domain\namespace. If it still cannot be removed, go to the registry path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DFS\Roots and delete the corresponding namespace key. After that, restart the DFS service (net stop dfs and net start dfs) and recreate the namespace. Since this issue is usually caused by corrupted configuration, Microsoft also indicates that removing and recreating the namespace is often the most effective solution.
- Check and fix missing or corrupted registry entries:
Verify the registry path HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DFS\Roots\Standalone (or domain-based path) and ensure required values such as ID and Svc exist. If these values are missing, the namespace cannot be queried . If you have a backup, you can restore the correct registry entries; otherwise, in most cases, the namespace cannot be repaired directly and must be deleted and recreated.
In summary, this problem is usually caused by DFS metadata inconsistency after domain controller changes or server renaming. It cannot be resolved through normal GUI operations alone, and the most practical and reliable approach is to clean up the broken configuration and recreate the namespace.
I will be happy to assist you further if needed. If this was helpful, please click "Accept Answer". If you have any further questions, you can leave a comment. I hope this helps and wish you success in resolving your issue. Have a great day!
TV