[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now


Mapped Drives via Group Policy Preferences sometimes failing to connect

Posted on 2013-01-11
Medium Priority
Last Modified: 2013-01-29

We recently changed all of the drives that are mapped for users from being applied via a login script (several actually, hence a desire to more away from them) to being applied with Group Policy Preferences.  They have worked fine for a good few weeks but for the last 2 weeks or so, network drives have been unavailable to some users once logged in to Windows.  It's only affecting some users.  The vast majority get their drives connected without issue.

When a drive fails to connect it is listed in 'Computer', sometimes displayed ok and sometimes with a disconnected red cross - either way, if it's not working it will produce the error message when clicked on:

"An error occurred while reconnecting <drive letter>: to <DFS Namespace path>.
Microsoft Windows Network: The network path was not found.
This connection has not been restored"

Once this happens, I still find I can use a UNC path from RUN to connect ok.  I can ping the server by both Name and IP.  Interestingly the Network window fails to display all of the network devices.

We initially suspected a DNS issue and found that there was some config problems with the way DNS was set on some NICs.  However, although we have corrected these, the problem still persists.  We also have 2 servers on the site that are both capable of DNS queries.  An NSLookup confirms that the client PCs are using the Primary DNS Server and can communicate with it and resolve DNS queries without issue.

I have been looking in to this for a while and have certainly tried things such as resetting Winsock with the command 'netsh winsock reset' - flushing the DNS cache of a client.  I find that resetting the Winsock will get the drives back after the required reboot and the user is ok for the rest of the day but after shutting down and coming back in the next morning, the problem resurfaces.

Further Info:
*Even if I log in as a domain admin = same problem.
*A user that has never logged on to the particular client machine before = same problem.
*One client PC has been wiped and rebuilt and this has permanently resolved the problem for that machine.
*All problem machines are Windows 7 (there are a few XP machines but they have not encountered the problem)
*Mixture of desktop/laptop.  Laptops are a mixture of wired/wireless, so unlikely to be a wifi issue
*Log on server/AD is Windows 2008 R2 Standard

*The Event Viewers reveal the following entry:
The user <drive letter> preference item in the <GPO> Group Policy object did not apply because it failed with error code '0x8007000f The system cannot find the drive specified.' This error was suppressed

* I have added a new drive mapping that is exactly the same destination as another one but instead of mapping using the DFS Namespace, it is mapped using the true UNC path.  When the mapped drives next fail to connect properly, I intend to check if the single UNC drive still works (DFS issue??)

*I intend on testing the following  GPO option if the above step does not reveal anything helpful:
enable “Process even if the Group Policy objects have not changed” option in “Drive maps preference extension policy processing” policy which is located at [Computer Configuration | Policies | Administrative Templates | System | Group Policy]


So as you can probably tell, I'm scratching my head.  Any ideas or help would be much appreciated.  Any questions or further info I can supply, please ask.  Thanks for your time.
Question by:delkent
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
  • 4
  • 2
LVL 13

Expert Comment

by:Gabriel Clifton
ID: 38767785
How are your mapped drives applied in group policy, create, update, or replace. I use replace and recommend it. with that setting, if the drive is not there create it, if it is there re-create it much like having a batch script use net use delete before creating the drive.

Author Comment

ID: 38767824
Thanks for the response.  They are currently on Update.  Which reminds me, and is probably worth mentioning...

There are 2 physical sites.  Site a) is the problem site where some of the machines have the problem but most are ok.  Site b) has more than double the amount of client PCs, none of which have experienced the problem thus far.

They are the same AD forest/domain with an AD server (GC) in each site.  Each of these servers is a DNS server so clients get DNS queries answered by their local server.

I mention this as both are using the same GPO with all mapped drives set to Update and only one location has some problems.
LVL 11

Accepted Solution

netballi earned 1500 total points
ID: 38767930
Try disjoining the computer from domain on which this happens, make sure all the domain controllers have replicated the change and then join the computer back to the domain.

See if this helps.
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.


Author Comment

ID: 38773961
I'm not sure why approx 6 computers would suddenly have problems with the domain membership/computer account.  If it helps formulate any ideas, I can tell you that out of the laptops, there is one that is used by a staff member who frequently travels between sites a & b.  Without making any changes whatsoever, if he is at site A then he gets the problems of a lack of connected mapped drives but if he is at site B everything works properly and as expected.  No removing from domains and rejoining or flushing DNS or resetting Winsock is required for this situation to occur.

Author Comment

ID: 38775093
I have gone with the suggestion of removing from the domain (checked DC Rep) and the rejoining.  All seems ok at the moment, although no way of telling if it was just the reboot that sorted it, which sometimes happens.

I will monitor over the next 3 days which is time before I am next onsite.  Multiple logins, reboots and shutdowns to test.  Will feed back results either negative or positive.  Thanks.
LVL 13

Expert Comment

by:Gabriel Clifton
ID: 38794965
Any news yet?

Author Closing Comment

ID: 38830842
I'm not entirely convinced this is the solution as I have seen one machine have the same problem once after running the fix.  But all machines and the one as just mentioned have all been fine since.  The very fact it is on multiple machines suggests this should be more of a server issue than client-side.  

Either way though, thanks for the solution, it seems to be doing the trick at the moment.

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

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
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 this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

649 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