Loss of share on reboot

Here's one for you.

I've looked around but can't find the answer.

I have an external drive, Network Appliance Device, attached to a windows 2000 server under the drive letter E:

I create a share on the E: drive and share it only to the Finance Security Group in AD.

When I re-boot the server, the share no longer exists.

I've tried adding and changing the AutoShareServer key to the registry but it didn't work.
I've tried using a simple net share command in the startup however I can't assign the share only to the Finance Security Group in the command.

Anyone know how to have the share persistent on re-boots?


Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

What's a bit fuzzy to me is the type of device we're talking about - is it a Network Attached Storage device (with its own Ethernet connection) or is it an external USB/Firewire hard drive that's your local drive E: ? I'll assume the second option.

It's possible that the drive is not ready yet when the Server service starts. The server service is responsible for creating shares.

Look for an error event with EventID 2511 in the System log - The server service was unable to recreate the share <sharename> because the directory E:\<folder> no longer exists.

The share security is preferably controlled by NTFS permissions - not by share permissions. If that's not an option, you can restrict share access with the command line:

net share Finance=E:\Finance /GRANT:FinanceGroup,FULL
DeanUnitedAuthor Commented:
when I type in net share /? on the windows 2000 server it doesn't list any option for /GRANT  I must have a different version of windows.
You're right, the option is for XP and 2003.

<< The share security is preferably controlled by NTFS permissions >>

What file system are you using?

Also, event 2511 would be very informative.
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

DeanUnitedAuthor Commented:
Hi Rant31

FS is NTFS and there is no event id of  2511.
The Network appliance is connected via eithernet.

I'm trying a command line tool from NT resource kit called rmtshare, but so far no luck. I'm getting error Command line failed 2116.


DeanUnitedAuthor Commented:
Actually the link in the last comment worked.

Thanks anyway Rant32
Take care.
Ola, but if it's a NAS box... then why is the Windows server sharing it? Can't your clients just connect directly to the NAS (by \\nasbox\FinanceShare)?
PAQed with points refunded (250)

Community Support Moderator

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 2000

From novice to tech pro — start learning today.