Solved

Mapped Drive Disconnecting frequently

Posted on 2011-03-14
6
727 Views
Last Modified: 2012-05-11
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.

WAN Settings:
IP: XX.XX.XX.XX/24

Lan Settings:
IP: 192.168.3.x/24
DNS1: 192.168.1.5
DNS2: N/A

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.
0
Comment
Question by:oadmhernandez
  • 3
  • 3
6 Comments
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35131541
I am assuming your DNS1 is an internal, AD aware DNS Server.

I am not sure what you mean by this statement:  

When I enter the DNS settings manually in to IPV4 DNS settings there are no issues. But when I let the the router provide automatically that's when I run into problems.

Would you mind clarifying for me?  Knowing a little more would be helpful:

1) Does your enterprise utilize DHCP?  If so, are the DNS settings universal or site specific?
2) Do you branch offices have a DC or RODC for authentication, or does your main office handle all AD authentication?  If yes to remote DCs, are Sites correctly configured in AD?

DrUltima
0
 

Author Comment

by:oadmhernandez
ID: 35131692
I am assuming your DNS1 is an internal, AD aware DNS Server.

I am not sure what you mean by this statement:  


When I enter the DNS settings manually in to IPV4 DNS settings there are no issues. But when I let the the router provide automatically that's when I run into problems.

Corporate Office holds AD/DC/DNS/DHCP. The DHCP has a scope of 192.168.1.x/24 (for corporate office only). DNS1: 192.168.1.5 (DC/AD).

As for the Branch Office the SonicWall Pro1260 Router Provides DHCP and DNS Settings(192.168.1.5)  and DHCP scope 192.168.3.x/24

When I leave the client pc to obtain DNS server address automatically I get constant map drive disconnects. However, if I manually enter the DNS servers (corporate) it works fine.


1) Does your enterprise utilize DHCP? YES  If so, are the DNS settings universal or site specific? all branch offices look to DNS1 = 192.168.1.5 (located at corporate office)

2) Do you branch offices have a DC or RODC for authentication, or does your main office handle all AD authentication?  Main Office handles all AD authentication, we are connected via vpn.
If yes to remote DCs, are Sites correctly configured in AD?

0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35131789
So, at your remote site in which your SonicWall provides DHCP addressing, please do (when using DHCP) an

IPCONFIG /all

Let me know what any DNS server addresses are.  Often times a SonicWall is not correctly issuing DNS due to error or misconfiguration.
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 

Author Comment

by:oadmhernandez
ID: 35131885
I think I found the culprit. I believe a server that was once connected to our network functioned as a second DNS. It was turned off for a while because it was not needed. About a month ago we moved offices and the server was turned ON and I believe this is what is causing the issue. I will keep you posted. I ran cmd gpupdate /force and received the following message.

C:\Windows\system32>gpupdate /force
Updating Policy...

User policy could not be updated successfully. The following errors were encount
ered:

The processing of Group Policy failed. Windows could not resolve the user name.
This could be caused by one of more of the following:
a) Name Resolution failure on the current domain controller.
b) Active Directory Replication Latency (an account created on another domain co
ntroller has not replicated to the current domain controller).
Computer policy could not be updated successfully. The following errors were enc
ountered:

The processing of Group Policy failed. Windows could not resolve the computer na
me. This could be caused by one of more of the following:
a) Name Resolution failure on the current domain controller.
b) Active Directory Replication Latency (an account created on another domain co
ntroller has not replicated to the current domain controller).

0
 
LVL 31

Accepted Solution

by:
Justin Owens earned 500 total points
ID: 35132017
Looks like it was also a Domain Controller.  If this is the case, it will, indeed, cause all kinds of grief, especially if it was turned off longer than your tombstone.  I would recommend demoting it to a member server, and if that fails (which it well may), physically disconnecting and then force demoting the server and force removal of the server from AD metadata.  If you need help with any of these steps, let me know....

DrUltima
0
 

Author Closing Comment

by:oadmhernandez
ID: 35157290
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
DNS server picking up wrong IP address of server 10 62
DNS zone 3 28
Changing Lease Duration for DHCP clients 34 35
Mapping a folder on a NAS to a drive letter 2 20
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question