W10 Pro - Problems with multiple server IPs and mapped network drive

Copper Contributor

I have a file server fileserver1 with two IPs, a LAN IP 192.168.100.100 and a VPN IP 192.168.200.200. The Windows 10 Pro client uses the DNS name fileserver1.company.corp to get the correct IP depending on its own network (LAN or VPN). DNS name resolution works without problems.

 

The client has a persistent network drive K: \\fileserver1.company.corp.

 

Unfortunately the Windows 10 Pro client always seems to use the cached server IP (192.168.100.100 or 192.168.200.200) to reconnect the network drive on startup. Some users want to wakeup the Windows PC from powersave mode.

 

If the client uses the cached IP from the other location (LAN vs. VPN), access to this drive fails.

 

How can I update the network drive IP?

Currently I use two workarounds.

  1. On most PCs it is enough to delete network drives (net use K: /delete) and then connect the network drive again with the DNS name (net use K: \\fileserver1.company.corp /persistent:yes)
  2. Some PCs need a reboot between deletion of network drive and connection
1 Reply
What type of DHCP is available in your network? software or hardware?
What is the file server exactly? is it a Windows Server or NAS?