Event ID 2511 Is Logged After You Delete a Shared Directory

ID: Q124170


The information in this article applies to:


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.

  1. Run File Manager


  2. From the Disk menu, choose Stop Sharing.


  3. 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.

  1. Run Registry Editor (REGEDT32.EXE).


  2. From the HKEY_LOCAL_MACHINE subtree, go to the following key:
    \SYSTEM\CurrentControlSet\Services\LanmanServer\Shares


  3. Select the Share that no longer exists.


  4. From the Edit menu, choose Delete.


  5. Quit Registry Editor.


  6. 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