• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1051
  • Last Modified:

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?


  • 3
  • 3
1 Solution
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.
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now