Stop users mapping network drives

Stop users mapping network drives

There is a Windows 2000 policy that administrators can implement that will prevent users from mapping network drives to unauthorized files/folders share or even prevent them from disconnecting a mapped networked drive. Here's the registry change you need:

Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\ CurrentVersion\Policies\Explorer
Create a valuename: NoNetDrives
Data Type: REG_DWORD with a Value of 1

     0 - Display Drives
     1 - Remove Drives

If you would like to apply this for multiple workstations on a network you can modify the winnt.adm file and apply a system policy. Here's how this can be done:

Create a backup copy of the winnt.adm file. Using a text editor such as notepad to open the winnt.adm file, and type the following:

CLASS USER
CATEGORY "Hide Network Drives"
 POLICY "Remove Map Drives Option"
  KEYNAME "Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
  PART "Network Drives"
  EDITTEXT
  VALUENAME "NoNetDrives"
  VALUEON "1"
 END POLICY
END CATEGORY

Save the file and reboot.

Making any changes to the winnt.adm file will affect your current system policy. If you need further explanation on the use of winnt.adm and the variables used visit this link before making any modifications.


Adesh Rampat has 10 years experience with network and IT administration. He is a member

    Requires Free Membership to View

    By submitting your registration information to SearchWindowsServer.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of SearchWindowsServer.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

of the Association Of Internet Professionals, the Institute For Network Professionals, and the International Webmasters Association. He has also lectured extensively on a variety of topics.


This was first published in January 2003

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.

    Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.