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

If you have certainly not used the “Map Network Drive” dialog box, do you still speculate how to remove of it permanently? Myself I only map drives from the command line so I never use it either, so I am pleased there is a registry hack that can get rid of the menu items.
If you are unknown with what I am chatting about, just right-click on the Computer icon and you will see drop down list...
Of course, it would possibly be simplest to just uninstall, disable or eliminate file sharing all in all, but if you do not want to do that and still want the menu items gone, this registry hack is for you.
Note that it will totally disable all connect/disconnect menu items, as well as on currently mapped drives and the Tools menu.

Method 1:

Manual Registry Hack:

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

On the right-hand window create a new 32-bit DWORD value with the following values
Name: NoNetConnectDisconnect
Value: 1
The modify 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.

Method 2:

To remove a virtual drive that you have mapped onto My Computer in Windows XP or Vista, click Tools–>Disconnect Network Drive; next click the letter of the virtual drive in the Disconnect Network Drives dialog box and then click OK. Windows then displays an alert dialog box warning you that files and folders are currently open on the virtual drive and that you run the risk of losing data if files are open. If you are sure that you have no files open on that drive, click the Yes button to break the connection and remove the virtual drive from the My Computer window.

Download Registry Hack:

You can download this software from internet. There is also an uninstall script included to reverse the effect.

Tech Tutorials

Visit Top 100 MCSE
Disclaimer - Terms and Conditions