Score:1

File Explorer closes when viewing mapped drives and other SMB Shares

cn flag

We've been dealing with an issue involving File Explorer closing, seemingly randomly, when viewing mapped network drives and other SMB Shares. The network connection(s) to these locations are not lost, as far as I am aware, and can be immediately reopened when they are closed.

By "randomly" I mean that I have not found a consistent time or location within the shares that will cause this behavior. Active use of the file explorer seems to have little effect on whether or not the window will suddenly close, though from my personal experience with the issue it would appear that the windows close more consistently after an undetermined amount of inactivity.

Environment Details:

  • Our clients range from Windows 7 Pro to Windows 10 Pro (various builds). I do not recall those running Windows 7 having the issue.
  • The File Server hosting the shares runs Windows Server 2008 R2.
  • Primary DC runs Windows Server 2012 R2

My current culprit is a Group Policy configuration managing the mapped drives. My thought is that these mapped drives are "refreshing" and causing the open windows to close.

Any insight or thoughts on the matter would be appreciated.

Score:2
cn flag

That's probably because you set your drive mapping as "Replace" instead of "Update" or "Create". If that's the case, then your assumption is correct:

Replace will disconnect the drive, then map it again. So, I think you should update your group policies and set your drive mapping preferences as "Update" instead of "Replace"

More details in the documentation

[...]The replace action represents a configuration where the extension replaces a new mapped drive with a new mapped drive based on the configuration in the current inner element.

It is important to understand the difference between replace and update. The replace action typically deletes the existing mapped drive and creates a new one[...]

Stephen S. avatar
cn flag
Thank you for your response. I've discovered there are some differences in how our various mappings are configured. Some with "Update" and some with "Replace". I will be testing changes.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.