Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Disconnected mapped network drives

Posted on 2017-08-14
30
Medium Priority
?
69 Views
Last Modified: 2017-09-04
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
Comment
Question by:David Barman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 12
  • 8
  • 5
  • +2
30 Comments
 
LVL 97

Expert Comment

by:John Hurst
ID: 42254704
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
 

Author Comment

by:David Barman
ID: 42254720
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
 
LVL 97

Expert Comment

by:John Hurst
ID: 42254725
You need to turn off persistence as the drives are staying mapped and new ones have different mappings.
0
Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

 
LVL 97

Expert Comment

by:John Hurst
ID: 42254732
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
 

Author Comment

by:David Barman
ID: 42255196
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
 
LVL 97

Expert Comment

by:John Hurst
ID: 42255200
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
 
LVL 31

Expert Comment

by:masnrock
ID: 42255208
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
 

Author Comment

by:David Barman
ID: 42255216
I am mapping the drives using a login script
0
 
LVL 97

Expert Comment

by:John Hurst
ID: 42255219
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
 
LVL 31

Expert Comment

by:masnrock
ID: 42255233
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
 
LVL 97

Expert Comment

by:John Hurst
ID: 42255316
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
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 42255445
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
 
LVL 35

Expert Comment

by:Shaun Vermaak
ID: 42255864
Open Sync Center and check if these drives are set to store content offline
0
 

Author Comment

by:David Barman
ID: 42257783
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
 
LVL 31

Expert Comment

by:masnrock
ID: 42257793
How is your policy set up, to replace or update?
0
 

Author Comment

by:David Barman
ID: 42257855
Policy is setup as replace.
0
 

Author Comment

by:David Barman
ID: 42257857
Offline files are disabled
0
 
LVL 31

Expert Comment

by:masnrock
ID: 42257858
Change it to update.
0
 

Author Comment

by:David Barman
ID: 42257860
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
 
LVL 97

Expert Comment

by:John Hurst
ID: 42257862
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
 

Author Comment

by:David Barman
ID: 42257868
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
 
LVL 97

Expert Comment

by:John Hurst
ID: 42257871
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
 

Author Comment

by:David Barman
ID: 42257873
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
 
LVL 35

Expert Comment

by:Shaun Vermaak
ID: 42258409
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
 
LVL 31

Expert Comment

by:masnrock
ID: 42258419
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
 

Author Comment

by:David Barman
ID: 42258534
Shaun,
Can you explain better?
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 42258753
Did you run the command net config server /autodisconnect:-1 on the server yet ??
0
 

Accepted Solution

by:
David Barman earned 0 total points
ID: 42275312
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
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 42275322
Did you run the net config command ??
0
 

Author Closing Comment

by:David Barman
ID: 42280840
Watchguard bug
0

Featured Post

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!

Question has a verified solution.

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

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
In the absence of a fully-fledged GPO Management product like AGPM, the script in this article will provide you with a simple way to watch the domain (or a select OU) for GPOs changes and automatically take backups when policies are added, removed o…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

722 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