Discussion Locked

Losing Default Shares on Startup

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have an NT40 server (sp5) that when I bring it down loses its default shares. When I bring it back up I need to go to each of the drives and share it with it's C$,D$,K$, etc. share. As soon as I do it works fine until the next time I bring it down. It is mostly a nuisance, since when the default shares go away the backup routine doesn't work proerly. I don't want to forget to do it sometime and then not have a needed backup. THanks for help

7 replies

by adaniel

This happened to me and after a while i put in a batch file that creates the shares. I made the batch file to run 30 minutes before the backup starts, using the AT command. Let me know if you need a batch file. Hope this helps.

by magetower

Check the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

Look for a key called AutoShareServer. If it is there delete it. (save a copy of the registry key before doing so)

Also make surethat your Server Service is starting without errors.

by larry23

What Magetower suggested may correct the problem, although I'd be reluctant to delete a registry key without knowing exactly what the results will bring.

I would first check the value in the AutoShareServer key. It needs to be set to 1. If it is0, try to change the value to 1. Also check the value in the AutoShareWks key - change it to 1 if needed - then restart the server and your default admin shares should appear.

If you end up deleting this key altogether, make sure you know how to restore the registry prior to doing so.

Good Luck!

by dalehb

Thanks - I did what you suggested (although it has taken awhile to reboot the server) and it worked. Excellent!

This discussion is closed to new replies.