Search This Blog

Sunday, 18 December 2016

[Fix] Windows directory deleted without removing the share that points to the directory

SYMPTOMS

If you delete a directory before removing the share that points to the directory, the following message appears in the Event Viewer:

Event ID: 2511 Source: Server Type: Error
Description: The server service was unable to recreate the share <sharename> because the directory <drive>:\<directory> no longer exists.
RESOLUTION
  • Run Registry Editor (cmd->regedit).
  • From the View menu, select the Tree and Data option.
  • Navigate to the following key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares
  • Select the Share that no longer exists.
  • From the Edit menu, click Delete.
  • Quit Registry Editor.

No comments:

Post a Comment