General discussion

  • Creator
    Topic
  • #2182238

    Recreate the Share Folder After Restart

    Locked

    by working it ·

    I am running a Win2000 Server.

    Everytime the server restart, there will be some error log inside the System Event Viewer.

    Event Source: Server
    Event Type: Error
    EventID: 2511

    The error is indicating that the server service was unable to recreate a share “SharedName” because the directory “C:\Shared Folder” no longer exists.

    But I have unshared this share “SharedName” and deleted the directory long time ago. I open the Computer Management Console -> System Tools -> Shared Folders -> Shares. I can’t find this “SharedName” there anymore.

    Why my server still trying to recreate it during restart?

    It is not only happening to one deleted share folder but also happening to other share folder that I have deleted, too.

All Comments

  • Author
    Replies
    • #3175310

      Reply To: Recreate the Share Folder After Restart

      by acattr ·

      In reply to Recreate the Share Folder After Restart

      I cant tell you why it is happening, but I can tell you how to make it go away.

      recreate the folder that it is looking for.
      reboot.
      look at the properties of the folder, you will see that is shared again.
      now unshare it.
      reboot
      delete folder

    • #3174853

      Reply To: Recreate the Share Folder After Restart

      by blackcurrant ·

      In reply to Recreate the Share Folder After Restart

      Hi

      As well as the suggestion outlined above, you should also take a look at your startup folder and see if there are any redundant scripts or program entires which reference the path to the deleted folder.

      You should also check your environment variables and see if there are any variables which reference this path too.

      Good luck

    • #3174811

      Reply To: Recreate the Share Folder After Restart

      by sgt_shultz ·

      In reply to Recreate the Share Folder After Restart

      just out of curiosity, did you fiddle with the administrative shares present by default in win2k svr? disable, delete or modify permissions on it? did you search the registry for the ‘defunct’ share name.

    • #3187620

      Reply To: Recreate the Share Folder After Restart

      by working it ·

      In reply to Recreate the Share Folder After Restart

      sgt_shultz:
      I found the SharedName in the following registry entries.
      1) HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\lanmanserver\Shares
      2) HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Services\lanmanserver\Shares
      3) HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\Shares

      I have close to 200 invalid shares, instead of manually delete them one by one, do you think the program RegClean can help me to delete all these invalid registry entries?

    • #3189528

      Reply To: Recreate the Share Folder After Restart

      by working it ·

      In reply to Recreate the Share Folder After Restart

      This question was closed by the author

Viewing 4 reply threads