Link to home
Start Free TrialLog in
Avatar of DeanUnited
DeanUnited

asked on

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?

Thanks,

Dean
Avatar of Rant32
Rant32

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
Avatar of DeanUnited

ASKER

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

https://www.experts-exchange.com/questions/20096483/Creating-a-shared-directory.html



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)?
ASKER CERTIFIED SOLUTION
Avatar of CetusMOD
CetusMOD
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial