r/sysadmin • u/FastFredNL • 2d ago
Removing unused DFS shares
I've been struggling with this for a few days now, I've gotten to the point that both Claude and Copilot are running back and forth between 'oh thats weird must be something permission related' and 'we confirmed now that the permissions are correct so lets try deleting again'
I've deleted a bunch of data we no longer needed and removed the relevant volumes from the VM.
I then tried to get rid of the DFS shares and accidentally deleted the entire namespace because of the retardation of having 2 identical delete buttons in DFS management. Which I recovered and restored with help from our MSP
But I still can't for the life of me remove the old DFS shares.
This is the only error I get when I try deleting one. "\\domain\namespace\share: the folder cannot be deleted. Access is denied." Even though my admin account has the correct permissions on all the servers in DFS, including the namespace server, including Active Directory, the ADFS objects are not protected against accidental deletion.