从Windows Vista或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.

如果您从未使用过“ Map Network Drive”对话框,您是否想知道如何摆脱它? 我个人仅从命令行映射驱动器,因此我也从不使用它。因此,我很庆幸注册表中存在可以删除菜单项的黑客。

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.

通过开始菜单搜索或运行框打开regedit.exe,然后向下导航至以下键,如果该键不存在,则进行创建。

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

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:

在右侧窗格上,使用以下值创建一个新的32位DWORD值:

  • Name: NoNetConnectDisconnect

    名称:NoNetConnectDisconnect
  • Value: 1

    价值: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.

更改应该是立即的,您可以右键单击“计算机”以查看差异。 要删除,只需删除密钥或将值设置为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.

只需下载,解压缩并双击RemoveMapNetworkDrive.reg,即可将信息输入注册表。 还包括一个卸载脚本来恢复效果。

Download RemoveMapNetworkDrive Registry Hack

下载RemoveMapNetworkDrive注册表黑客

翻译自: https://www.howtogeek.com/howto/windows-vista/remove-map-network-drive-menu-item-from-windows-vista-or-xp/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值