Windows Server - Error 2321: The share must be removed from the Distribution File System before it can be deleted
Environment
Introduction
A server got this error, while stopping a file sharing
Run this to check what is the root of distribution file system
- Microsoft Windows Server 2003
Introduction
A server got this error, while stopping a file sharing
The system encountered the following error while attempting to delete share SharedFolderSolution
Error 2321: The share must be removed from the Distribution File System before it can be deleted
Run this to check what is the root of distribution file system
C:\Documents and Settings\Administrator>dfsutil /server:FileServer /viewThere is another way by checking registry (http://support.microsoft.com/kb/977511)
DFS Utility Version 5.2 (built on 5.2.3790.3959)
Copyright (c) Microsoft Corporation. All rights reserved.
Roots on machine FileServer
\Domain\FileServer
Done with Roots on machine FileServer
Done processing this command.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfs\Roots\StandaloneThen, we solved this by stopped the Distributed File System service, and the file sharing