how to remove default share on my D drive

hello, i set up a windows server 2003,  i have a  C and D drive , how can i remove de default share from my d drive ?
i do remove it and then recreate a share that i can set the way i want but at reboot the default share come back and give right over or in addition to the one i set already.

thanks

sly
adminslyAsked:
Who is Participating?
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.

binary_1001010Commented:
The share was created for administrative purposes only.  The share will reappear when the server service is  stopped and restarted or the computer is rebooted.
0
tymesCommented:
0

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
Pete LongTechnical ConsultantCommented:
Disable Windows hidden shares ($)

Start >Run Type "regedit" {enter}

Navigate to

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Parameters

Modify or create new REG_DWORD Entries shown below


AutoShareServer
AutoShareWks

Set the values as follows

0 = disable shares
1 = enable

WARNING, some programs and services use the hidden share feature I STRONGLY advise
you carry this out either in a test environment OR on your least used server for a trial period
0
adminslyAuthor Commented:
thanks  both,  can you just tell me which program need these shares ?
0
tymesCommented:
Remote managment usually uses admin$ and the registry.  You might want to do some inventory in some custom scripting, but if you leave c$ and just want to get rid of d$ as you said there shouldn't be anything that is affected.  But you can progbably also get rid of c$ and never notice.  For me when there is a vulnerability or some update or I want to check on some program or file version I'll quickly write a script to check all the computers on a domain for whatever file via c$ so I do find it useful because of the way I do things.  I check file dates or actuall dll versions for 40 computers in the time it takes to write 10 lines of code.  

Actually, I haven't done that in a while, I usually already know things from information I gather in logon scripts and since XP SP2 and it's firewall I don't think I can do that anymore... no, wait, I think there is a group policy firewall exception so a script will still work from a machine on a particular IP.  I suppose in the future the rule of thumb will be that default shares are not accessible.

0
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 Server 2003

From novice to tech pro — start learning today.

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.