Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So the command below works if I reboot my computer. But whenever I VPN to a certain customer's network on Windows 7, I lose my mapped drive. And when I try to re-establish the mapped drive (even after closing the VPN connection), I get this error at the Windows command prompt. FYI: I have another Virtual Machine running Windows XP and this never happens on there.

C:\Windows\system32>net use z: \\{my company domain name}.local\dfsroot\docs
System error 53 has occurred.

The network path was not found.

For this question, I'd just like to map this drive without having to reboot Windows 7. How can I do that?

Bonus questions: Why does this only happen on Windows 7? How can I keep my VPN open and also map this drive? Are there tools for troubleshooting these types of things?

So I'm no networking guru, but I see 1 difference with the ipconfig /all command. The Physical Address is different and that's it. And the Lease Obtained and Lease Expires, but those are probably irrelevant. If there's any other info you need, please let me know.

===================

"ipconfig /all" after closing VPN connection and losing mapped drives:

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" after reboot:

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>
share|improve this question
    
You might want to append the output of route print from before and after the reboot/VPN Connection. Betting this is a routing issue. –  Tim Dec 22 '11 at 16:46
    
I'll try to reproduce again (when I get some projects finished up) and let you know. –  MacGyver Dec 23 '11 at 15:33
    
What's weird is I didn't lose my mapped drives while on VPN until this afternoon .. everything worked well this morning. There's also one web application (a stage site) for one customer that never works under https (secure protocol) when I'm VPN'ed in. That might also give you a clue. I got the "route print" info for you while broken and after a reboot. Let me know if you need more info. –  MacGyver Dec 23 '11 at 20:54
add comment

1 Answer

up vote 1 down vote accepted

I'm just taking a shot in the dark here, but have you tried running the following after closing your VPN connection?

ipconfig /release
ipconfig /renew

and possibly followed up with

ipconfig /flushdns
share|improve this answer
    
No, I will try that next time this happens. Thanks for the info! What do these commands do for the issue above exactly? –  MacGyver Dec 23 '11 at 15:32
    
ipconfig /release releases your current DHCP lease, ipconfig /renew will renew your lease, ipconfig /flushdns wipes the DNS cache on your system. –  Tim Dec 23 '11 at 18:43
    
By doing an "ipconfig /release, that released my internal IP address I'm guessing and kicked me off remote desktop to my Virtual Machine haha! So I had to have our system administrator reboot my machine. –  MacGyver Dec 23 '11 at 20:52
    
so DON'T DO THIS when on remote desktop via a virtual machine :-) There must be another way. –  MacGyver Jan 17 '12 at 0:04
    
For readers on the internet. I'm simply giving @Sean the answer checkmark since I can't reproduce this anymore (I work for a new company now). I never did figure out the cause. Rebooting fixes it, but that fixes everything. Haha! –  MacGyver Apr 17 '12 at 0:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.