Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am on a network, and I'd like to control people mapping my drives. Is there a way to globally stop all people from mapping any of my drives?

share|improve this question
up vote 0 down vote accepted

Depending on the domain policies/restrictions in place, some other possible avenues of "protecting" your files can be along the lines of:

  • Firewall setting to block incoming TCP/UDP 135 through 139 and 445 ports
  • Local (not domain) user rights against the directory and/or files
  • Encrypting the files
share|improve this answer

Set your shares up so only you have permissions to the shares. If you're in a domain, though, any domain admin will still be able to connect.

share|improve this answer

Is your computer managed by a central AD domain? If so, there's probably not much you can do to permanently turn off sharing. If that's not the case, you can just turn off the "Windows File and Print Sharing" service.

share|improve this answer
"Windows File and Print Sharing" service? Never heard of it. You can though unbind the "File and Printer Sharing for Microsoft Networks" component on your NIC (just one of many ways to stop users from mapping to your shares). – joeqwerty Aug 26 '10 at 18:22
Maybe you're referring to the Server service? – joeqwerty Aug 26 '10 at 18:23
@joeqwerty - Whoops, yep, you're correct. I was thinking of the server service. – EEAA Aug 26 '10 at 19:23

You can be successful in doing this using the security features offered in Windows. However, be aware that the Domain Administrator can access you drives using the hidden share c$, d$, etc. If I am not mistaken, isn't there a registry key that you can even prevent that from happening?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.