Subscribe to How-To Geek

Remove "Map Network Drive" Menu Item from Windows Vista or XP

If you have never used the “Map Network Drive” dialog box, do you ever wonder how to get rid of it? Personally I only map drives from the command line so I never use it either… so I’m thankful there’s a registry hack that can remove the menu items.

If you are unfamiliar with what I’m talking about, just right-click on the Computer icon and you’ll see:

image

Here’s that same context menu without the items.

image

Of course, it would probably be simplest to just uninstall, disable or remove file sharing altogether, but if you don’t want to do that and still want the menu items gone, this registry hack is for you.

Note: This will completely disable all connect/disconnect menu items, including on currently mapped drives and the Tools menu.

Manual Registry Hack

Open regedit.exe through the start menu search or run box, and then navigate down to the following key, creating if it does not exist.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

image

On the right-hand pane create a new 32-bit DWORD value with the following values:

  • Name: NoNetConnectDisconnect
  • Value: 1

The change should be immediate, you can right-click on Computer to see the difference. To remove, just delete the key or set the value to 0.

Download Registry Hack

Just download, extract, and double-click on RemoveMapNetworkDrive.reg to enter the information into the registry. There’s also an uninstall script included to reverse the effect.

Download RemoveMapNetworkDrive Registry Hack

| More
This article was originally written on 02/4/08 Tagged with: Network and Internet, Windows Vista

Daily Email Updates

You can get our how-to articles in your inbox each day for free. Just enter your name and email below:


Name:
Email:

Comments (3)

  1. Michael

    This method worked for me! I had to use “NoNetConnectDisconnect” as a DWORD Value on HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer without downloading the registry hack. Normally, I only map network drives at school sometimes but I don’t at home because we’re not connected to domain.

  2. Titan

    Changes were not effective immediately for me. Logged off and back on to see desired results.
    Vista Ultimate 32 bit SP1

  3. TheRedQueen

    Thank you so much.


Leave a Comment




Leave your friendly comment here.

If you have a computer help question, click here to leave it on the forums instead.

Note: Your comment may not show up immediately on the site.

Our Friends
Getting Started


About How-To Geek
What Is That Process?
svchost.exe
jusched.exe
dwm.exe
ctfmon.exe
wmpnetwk.exe
wmpnscfg.exe
rundll32.exe
wfcrun32.exe
Ipoint.exe
Itype.exe
Wfica32.exe
Mobsync.exe
conhost.exe
Dpupdchk.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. All Rights Reserved.