Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


how to remove  default share on my D drive

Posted on 2004-11-18
Medium Priority
Last Modified: 2010-08-05
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.


Question by:adminsly

Expert Comment

ID: 12613059
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.

Accepted Solution

tymes earned 60 total points
ID: 12613073
LVL 58

Expert Comment

by:Pete Long
ID: 12613102
Disable Windows hidden shares ($)

Start >Run Type "regedit" {enter}

Navigate to


Modify or create new REG_DWORD Entries shown below


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

Author Comment

ID: 12613951
thanks  both,  can you just tell me which program need these shares ?

Expert Comment

ID: 12614062
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.


Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…

578 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