Event ID 2511 Is Logged After You Delete a Shared Directory
ID: Q124170
|
The information in this article applies to:
-
Microsoft Windows NT Workstation versions 3.5, 3.51, 4.0
-
Microsoft Windows NT Server versions 3.5, 3.51, 4.0
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
To avoid receiving this event message, stop sharing the deleted directory
in File Manager.
- Run File Manager
- From the Disk menu, choose Stop Sharing.
- Select the directory that has been deleted and choose OK.
An alternative is to modify the registry as follows:
WARNING: Using Registry Editor incorrectly can cause serious, system-wide
problems that may require you to reinstall Windows NT to correct them.
Microsoft cannot guarantee that any problems resulting from the use of
Registry Editor can be solved. Use this tool at your own risk.
- Run Registry Editor (REGEDT32.EXE).
- From the HKEY_LOCAL_MACHINE subtree, go to the following key:
\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares
- Select the Share that no longer exists.
- From the Edit menu, choose Delete.
- Quit Registry Editor.
- Shut down and restart Windows NT.
Additional query words:
prodnt system log
Keywords : kbenv ntconfig NTSrvWkst
Version : 3.5 3.51 4.0
Platform : winnt
Issue type :
Last Reviewed: February 16, 1999