I am currently using a batch script to map network shared drives for network users. Here is a sample of the command(s) in use.
NET USE W: \\MainServer\GroupShare /Persistent:YES
However, the mapped drive keeps disconnecting.
The issue appears to be on branch office client computers.
Router provides DHCP and DNS which connects to corporate office via VPN (192.168.1x/24, DNS 192.168.1.5).
When I enter the DNS setttings manully in to IPV4 DNS settings there are no issues. But when I let the the router provide automatically thats when I run into problems.
The problems lies on other branch offices too, and not just one office in particular.
What steps can I take to troubleshoot the disconnection of the map drive, and DNS settings.
What is best practice to configure branch offices via vpn connection.