Disconnected from VPN causing file explorer to hang trying to reconnect to network drives.

Posted by Sea_Introduction_986@reddit | sysadmin | View on Reddit | 7 comments

At work we have been running into an issue that I am shocked is so hard to find a solution for. The title really explains it. Of course not being on the VPN will cause the file explorer to try and connect to network drives and eventually fail. The main issue is that while it is searching, it can cause the file explorer to hang for about 30s. This is very frustrating for users who cannot connect to the VPN. This is common since some users are always traveling and are at a plant with poor connection.

Currently the only solution I have found that works is creating folder shortcuts that point to the mapped network drive location instead of mapping the drives. I would like to find a better solution that allows users to still use mapped drives because of their convenience. If it is possible to shorten the searching time from 30s to 5s for example would be great. Another option would be to prevent drives from automatically connecting at all, and only attempting the connection when clicked on. If anyone knows any solutions or has ideas please let me know.

Any help is appreciated, Thank you!