General discussion


Recreate the Share Folder After Restart

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

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by acattr In reply to Recreate the Share Folder ...

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.
look at the properties of the folder, you will see that is shared again.
now unshare it.
delete folder

Collapse -

by Working IT In reply to
Collapse -

by Blackcurrant In reply to Recreate the Share Folder ...


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

Collapse -

by Working IT In reply to

Poster rated this answer.

Collapse -

by sgt_shultz In reply to Recreate the Share Folder ...

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.

Collapse -

by Working IT In reply to

I search the registry and find these shared name. I search the microsoft KB and find a similar QA for Win98.

Collapse -

by Working IT In reply to Recreate the Share Folder ...

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?

Collapse -

by Working IT In reply to Recreate the Share Folder ...

This question was closed by the author

Related Discussions

Related Forums