2011-12-01 18:39:53 +0000 2011-12-01 18:39:53 +0000
28
28
Advertisement

如何在Windows 7中解映射一个断开的网络驱动器?

Advertisement

硬盘断了,我也不在网络上。我如何解映射硬盘?

Advertisement
Advertisement

答案 (7)

26
26
26
2011-12-01 18:56:41 +0000

在命令行中(用你的驱动器字母代替z):

net use z: /delete
```。
20
20
20
2011-12-01 18:47:14 +0000

由于我不在网络上,所以在这里无法测试,但我认为是这样做的。

1、在Windows资源管理器中右击网络。 2. 选择Disconnect network drive…。 3. 在出现的列表中,右击你要删除的驱动器,选择删除

我想应该是类似的东西,但我说过,我这里无法测试。

13
Advertisement
13
13
2013-01-09 14:24:11 +0000
Advertisement

在命令行中,尝试

net use

这将显示所有当前映射的驱动器。如果你要找的驱动器在列表中,你可以使用。

net use x: /delete

其中X: 是你要删除的驱动器。但如果硬盘已经被移除,可能就没有显示这样的硬盘字母。在这种情况下,只需输入映射的远程标识符。

net use 192.168.10.11\WorkFiles /delete
2
2
2
2016-03-04 16:38:54 +0000

有一个更有力的方法可以消除映射网络驱动器的死链接。

你可以删除注册表中的引用。

只要打开 “regedit.exe",然后展开 ”HKEY_CURRENT_USER“键和 ”Network“键。在那里你会看到带有字母的键,它们将代表映射的驱动器字母。当你在 "regedit.exe "上删除一个字母时,映射的驱动器字母将在下一个Windows重新启动周期中消失。

1
Advertisement
1
1
2015-05-22 03:29:44 +0000
Advertisement

对于断开的驱动器,如果你的电脑里有SQL Server Management Studio,只需运行这个查询。

Exec master.dbo.xp_cmdshell 'net use x: /delete'

  • 根据驱动器名称更改'x'。
  • 不确定是否能在其他数据库中使用。
  • 如果你的xp_cmdshell不工作或不活跃,出现这个错误。

SQL Server阻止了对组件'xpcmdshell'的存储过程'sys.xpcmdshell'的访问,因为该组件作为该服务器安全配置的一部分被关闭。系统管理员可以通过使用sp_configure来启用'xpcmdshell'。有关启用'xpcmdshell'的更多信息,请参见SQL Server Books Online中的 “表面区域配置"。

通过运行此查询启用xp_cmdshell

-- To allow advanced options to be changed.
EXEC sp_configure 'show advanced options', 1
GO
-- To update the currently configured value for advanced options.
RECONFIGURE
GO
-- To enable the feature.
EXEC sp_configure 'xp_cmdshell', 1
GO
-- To update the currently configured value for this feature.
RECONFIGURE
GO
-1
-1
-1
2018-01-06 02:39:48 +0000

在Windows 7上,你必须将启动时自动连接选项改为不重新连接。我这样做是通过重新映射驱动器相同的方式,然后给我的复选框为不重新连接在启动。重新启动机器,它就消失了!

-1
Advertisement
-1
-1
2017-03-11 17:45:29 +0000
Advertisement

在Windows 10中,以上的方法对我来说,对断开的U盘都没有用。起作用的是:

1.右击Windows图标,选择 “磁盘管理 ” 2. 在磁盘列表中找到不再使用的驱动器字母 3. 右击 “磁盘",选择 "更改驱动器字母和路径 ” 4. 然后选择 “删除”

Advertisement

相关问题

3
19
3
28
6
Advertisement
Advertisement