Tip

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

    Requires Free Membership to View

this link before making any modifications.

Adesh Rampat has 10 years experience with network and IT administration. He is a member 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

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

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.