Remove Rogue DFS Namespace

Remove Rogue DFS Namespace

Remove Rogue DFS Namespace

If you are getting the error: The namespace cannot be queried. Element not found we have the solution

In our case we had a DFS root on a server with poor hardware, it died of course, and the namespace is still left in the directory, but we cannot remove it via DFS Management

*** NOT RESPONSIBLE FOR ANY DATA LOSS, USE AT YOUR OWN RISK ***

DFS Management error, the namespace cannot be queried, element not found

what we have to do is open up ADSI Edit

expand the CN=System and click on CN=Dfs-Configuration

ADSI Edit default naming context expanded to CN=System and CN=Dfs-Configuration

ADSI Edit CN=Dfs-Configuration listing the rogue msDFS-Namespace object next to san-dfs

you should see your rogue namespace here, go ahead and delete ONLY THE ROGUE ONE

ADSI Edit prompt asking Are you sure you want to delete this object

yes, go ahead and remove

ADSI Edit prompt asking Do you want to delete this container and everything in it

yes, now all we have to do is remove from MMC

DFS Management right-click on the broken namespace, Remove Namespace from Display

that’s it!

To get a hosted Windows Server visit www.zwiegnet.com/go today

Related guides: Remove Member Domain Controller | Robocopy Fileserver Migration

Leave a Reply

Your email address will not be published. Required fields are marked *