因此,如果我重新启动计算机,下面的命令就会起作用。但是,每当我在 Windows 7 上通过 VPN 连接到某个客户的网络时,我都会丢失映射驱动器。当我尝试重新建立映射驱动器时(即使在关闭 VPN 连接后),我在 Windows 命令提示符下收到此错误。仅供参考:我有另一台运行 Windows XP 的虚拟机,这种情况从未发生过。
C:\Windows\system32>net use z: \\{my company domain name}.local\dfsroot\docs
System error 53 has occurred.
The network path was not found.
对于这个问题,我只想映射这个驱动器而不必重新启动 Windows 7。我该怎么做?
附加问题:为什么这种情况只发生在 Windows 7 上?我如何保持 VPN 处于打开状态并映射此驱动器?是否有工具可以解决此类问题?
我不是网络专家,但我看到 ipconfig /all 命令有一个不同之处。物理地址不同,仅此而已。还有租约获得时间和租约到期时间,但这些可能无关紧要。如果您需要任何其他信息,请告诉我。
===================
关闭 VPN 连接并丢失映射驱动器后“ipconfig /all”:
C:\Windows\system32>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : DEV-WIN7-KW
Primary Dns Suffix . . . . . . . : {my company domain name}.local
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : {my company domain name}.local
Ethernet adapter Local Area Connection* 11:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Juniper Network Connect Virtual Adapter
Physical Address. . . . . . . . . : 00-FF-B0-EB-06-06
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter LAN:
Connection-specific DNS Suffix . : {my company domain name}.local
Description . . . . . . . . . . . : Citrix PV Ethernet Adapter
Physical Address. . . . . . . . . : 92-50-96-20-DE-C0
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 10.0.10.151(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Friday, December 16, 2011 3:30:23 AM
Lease Expires . . . . . . . . . . : Wednesday, December 28, 2011 3:30:28 AM
Default Gateway . . . . . . . . . : 10.0.10.1
DHCP Server . . . . . . . . . . . : 10.0.10.18
DNS Servers . . . . . . . . . . . : 10.0.10.18
10.0.10.14
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter isatap.{949B9867-7CBD-40A3-B92F-DD2E687C26AB}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.acumium.local:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : {my company domain name}.local
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
C:\Windows\system32>route print
===========================================================================
Interface List
31...........................OmegaVPN
16...00 ff 10 80 06 06 ......Juniper Network Connect Virtual Adapter
13...92 50 96 20 de c0 ......Citrix PV Ethernet Adapter
1...........................Software Loopback Interface 1
12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
18...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
17...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.0.10.1 10.0.10.151 5
10.0.10.0 255.255.255.0 On-link 10.0.10.151 261
10.0.10.151 255.255.255.255 On-link 10.0.10.151 261
10.0.10.255 255.255.255.255 On-link 10.0.10.151 261
12.54.41.18 255.255.255.255 10.0.10.1 10.0.10.151 6
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.2.0 255.255.255.0 192.168.2.110 192.168.2.97 6
192.168.2.97 255.255.255.255 On-link 192.168.2.97 261
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 10.0.10.151 261
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 10.0.10.151 261
255.255.255.255 255.255.255.255 On-link 192.168.2.97 261
===========================================================================
Persistent Routes:
None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
1 306 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
===================
重启后“ipconfig /all”:
C:\Windows\system32>ipconfig /all
Windows IP Configuration
Host Name . . . . . . . . . . . . : DEV-WIN7-KW
Primary Dns Suffix . . . . . . . : {my company domain name}.local
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
DNS Suffix Search List. . . . . . : {my company domain name}.local
Ethernet adapter Local Area Connection* 11:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Juniper Network Connect Virtual Adapter
Physical Address. . . . . . . . . : 00-FF-10-80-06-06
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
Ethernet adapter LAN:
Connection-specific DNS Suffix . : {my company domain name}.local
Description . . . . . . . . . . . : Citrix PV Ethernet Adapter
Physical Address. . . . . . . . . : 92-50-96-20-DE-C0
DHCP Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IPv4 Address. . . . . . . . . . . : 10.0.10.151(Preferred)
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Lease Obtained. . . . . . . . . . : Thursday, December 22, 2011 10:09:45 AM
Lease Expires . . . . . . . . . . : Friday, December 30, 2011 10:09:50 AM
Default Gateway . . . . . . . . . : 10.0.10.1
DHCP Server . . . . . . . . . . . : 10.0.10.18
DNS Servers . . . . . . . . . . . : 10.0.10.18
10.0.10.14
NetBIOS over Tcpip. . . . . . . . : Disabled
Tunnel adapter isatap.{949B9867-7CBD-40A3-B92F-DD2E687C26AB}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Microsoft ISATAP Adapter
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter isatap.acumium.local:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : {my company domain name}.local
Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
DHCP Enabled. . . . . . . . . . . : No
Autoconfiguration Enabled . . . . : Yes
C:\Windows\system32>route print
===========================================================================
Interface List
16...00 ff b0 63 dd 05 ......Juniper Network Connect Virtual Adapter
13...92 50 96 20 de c0 ......Citrix PV Ethernet Adapter
1...........................Software Loopback Interface 1
12...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
17...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface
===========================================================================
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.0.10.1 10.0.10.124 5
10.0.10.0 255.255.255.0 On-link 10.0.10.124 261
10.0.10.124 255.255.255.255 On-link 10.0.10.124 261
10.0.10.255 255.255.255.255 On-link 10.0.10.124 261
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 10.0.10.124 261
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 10.0.10.124 261
===========================================================================
Persistent Routes:
None
IPv6 Route Table
===========================================================================
Active Routes:
If Metric Network Destination Gateway
1 306 ::1/128 On-link
1 306 ff00::/8 On-link
===========================================================================
Persistent Routes:
None
C:\Windows\system32>
答案1
我只是在这里尝试一下,但是您是否尝试过在关闭 VPN 连接后运行以下命令?
ipconfig /release
ipconfig /renew
并可能跟进
ipconfig /flushdns