Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 129
  • Last Modified:

Disconnected mapped network drives

A strange situation that has suddenly occurred. From what I can tell we have not changed anything to cause the issue.  Server is a Windows Server 2016 standard.  The clients are Windows 10 x64.  When pcs first boot in the morning, one of the three mapped drives has a red X in the drive mapping when viewed in file explorer.  If you double click the drive letter you can still access the contents.  However, the red X never goes away.  The only way to rectify the situation is to manually disconnect the drive.  Which from what I have seen doesn't actually remove it from the file explorer view.  However, if you then reboot, then the drive mapping appears normal.  In addition, there was once instance where suddenly in the middle of the day, the red X reappeared for one user.  This has been going on for about a week and a half.  The worst part of it is that the Quickbooks 2017 application does not seem to like the red X situation.  If the drive mapping has the red X, then Quickbooks will not let users open any of the datafiles on the server.  However, once the drive is disconnected and the pc reboots, Quickbooks works fine.  I am looking for any advice as to what could be causing this issue and how to correct it.
0
David Barman
Asked:
David Barman
  • 12
  • 8
  • 5
  • +2
1 Solution
 
John HurstBusiness Consultant (Owner)Commented:
I would make sure no computer has persistent but orphaned drive mappings. QuickBooks will not like that, as you can see.

I always just delete all mappings:  NET USE X: /Delete for all X.

Then by script or however you map, Delete the drive (NET USE T: /Delete) and then Map the drive. (NET USE T: \\server\folder).

Make sure folders are mapped and not just browsed.   Browsing for network shares can also kill the QB connection.
0
 
David BarmanAuthor Commented:
If I try to delete the drive mapping (ie. net use /d), it disconnects the drive but the drive mapping still appears in file explorer until the system is rebooted.  I also setup a group policy to delete the drive mapping but it does not seem to have helped the situation.
0
 
John HurstBusiness Consultant (Owner)Commented:
You need to turn off persistence as the drives are staying mapped and new ones have different mappings.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
John HurstBusiness Consultant (Owner)Commented:
Another way is to have a desktop icon that runs the script to map folders. "Connect Folders" and then have  logoff script that disconnects the folders that runs on logoff or shutdown.
0
 
David BarmanAuthor Commented:
The issue is if I attempt to delete the mapped drive it doesn't disappear from file explorer until the computer is rebooted. There users are having to reboot a second time every morning. That is the issue I need to fix. In addition, I don't understand what is causing the issue in the first place.
0
 
John HurstBusiness Consultant (Owner)Commented:
It is not an issue with Windows 10 and not with Server 2012. We have not yet implemented Server 2016.

I think the issue might be in your policies or scripting but I am not sure where you should look.
0
 
masnrockCommented:
Are you mapping drives by script or GPO? If you're using GPO, then you can try changing the policies that go the drive mapping from "replace" to "update"

BTW - You can try running this on the server as well:
net config server /autodisconnect:-1

Open in new window

0
 
David BarmanAuthor Commented:
I am mapping the drives using a login script
0
 
John HurstBusiness Consultant (Owner)Commented:
Try removing Login, Logoff scripts entirely, and build a batch files (NET USE commands) that you run to map and disconnect folders.

See if that works.
0
 
masnrockCommented:
Try the command I've already suggested first. If that doesn't work, then I recommend going with GPO. You could have something going on with when there's a policy update that causes drives to get knocked off during the day. I could understand the red X coming up sometimes at logon because of timing issues, but it certainly shouldn't continue to stay there.
0
 
John HurstBusiness Consultant (Owner)Commented:
Also make sure you do not have a script in the Server (normal) AND a Windows 10 Logon Script (local to Windows 10) as well. That could easily create the conflict you have.
0
 
Donald StewartNetwork AdministratorCommented:
Please scrap using logon scripts/batch files altogether !! They are too hard to manage over time.

Use Group Policy

https://technet.microsoft.com/en-us/library/cc770902(v=ws.11).aspx

Be sure to read comments at bottom of that link too.
0
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
Open Sync Center and check if these drives are set to store content offline
0
 
David BarmanAuthor Commented:
I used group policy to map drives but the drives keep disconnecting every during the course of the day. Being that we are an IT company, I have other clients that have reported similar type results recently. Could there be some Microsoft update that is causing this? This seems to be a new issue in the last couple weeks.
0
 
masnrockCommented:
How is your policy set up, to replace or update?
0
 
David BarmanAuthor Commented:
Policy is setup as replace.
0
 
David BarmanAuthor Commented:
Offline files are disabled
0
 
masnrockCommented:
Change it to update.
0
 
David BarmanAuthor Commented:
Why would they disconnect in the middle of computer operation.  Once the the user is able to get the drives remapped, there are reports that the drives disconnect during the course of the day.
0
 
John HurstBusiness Consultant (Owner)Commented:
Being that we are an IT company ..... Could there be some Microsoft update that is causing this?

I would open a case with Microsoft as this may be a Server 2016 issue. It is definitely not a Server 2012 issue.
0
 
David BarmanAuthor Commented:
The problem I have with other clients are running Server 2012 R2.  Plus I have other clients running Server 2016 without any issues (as of yet)
0
 
John HurstBusiness Consultant (Owner)Commented:
I have lots of computers (Windows 10) at several clients all with Server 2012. Zero disconnects.

I do suggest contacting Microsoft to see if they can determine how the policies you have are causing this issue.
0
 
David BarmanAuthor Commented:
The odd thing is until I created this post, we were not using group policies (small 5 user network).  Nothing in particular was changed prior to the problem occurring.
0
 
Shaun VermaakTechnical Specialist/DeveloperCommented:
Take a new computer, pre-create computer account in OU that has no GPO applying. Join it and link back policies until Edge breaks (assuming it works after domain join)
0
 
masnrockCommented:
I had come across particles that gave some ideas tie to things like update vs replace, as well as a refresh time in terms of updating policy changes.
0
 
David BarmanAuthor Commented:
Shaun,
Can you explain better?
0
 
Donald StewartNetwork AdministratorCommented:
Did you run the command net config server /autodisconnect:-1 on the server yet ??
0
 
David BarmanAuthor Commented:
I figured out the cause. I contacted WatchGuard regarding the firewall. It appears their new TDR client which is installed on each pc has an intermittent bug that causes the drive mapping issue that we are experiencing. Apparently they are working on a fix. But there is no solution until the fix the bug.
0
 
Donald StewartNetwork AdministratorCommented:
Did you run the net config command ??
0
 
David BarmanAuthor Commented:
Watchguard bug
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 12
  • 8
  • 5
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now