Loss of share on reboot

Posted on 2006-03-30
Last Modified: 2012-05-05
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?


Question by:DeanUnited
    LVL 12

    Expert Comment

    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

    Author Comment

    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.
    LVL 12

    Expert Comment

    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.

    Author Comment

    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.


    Author Comment

    Actually the link in the last comment worked.

    Thanks anyway Rant32
    Take care.
    LVL 12

    Expert Comment

    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)?

    Accepted Solution

    PAQed with points refunded (250)

    Community Support Moderator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
    For Sennheiser, comfort, quality and security are high priority areas. This paper addresses the security of Bluetooth technology and the supplementary security that Sennheiser’s Contact Center and Office (CC&O) headsets provide.  
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now