ZTree.com  | ZEN  | About...  

 Index   Back

[OT] Reconecting mapped network drives on VPN after sleep   [OT]

By: Liviu       
Date: Apr 26,2020 at 22:55
In Response to: [OT] Reconecting mapped network drives on VPN after sleep (Peter Shute)

> What is Explorer able to do to reconnect them that Ztree and the command line can't?

This has come up before, for example [ZEP] Reconnect disconnected drives or [Q] What triggers Ztree to see a network?, but I don't think there ever was a full resolution.

Things have also changed since the XP days of the older posts, and I notice that some disconnected drives can now be reconnected from ZTree (or the cmd prompt), though not all of them, in particular my VPN'd ones can not.

Don't know that there is an official API to reconnect such "lost" drives nowadays. Oddly enough, the legacy WNetRestoreConnectionW was retired since Vista, and the two new functions in mpr.dll WNetRestoreSingleConnectionW and WNetRestoreAllConnectionsW are wholly undocumented.



Messages in this Thread

95,065 Postings in 11,983 Threads, 350 registered users, 119 users online (1 registered, 118 guests)
Index | Admin contact |   Forum Time: Aug 4, 2020 - 6:20 pm EDT  |  Hits:32,846,955  (34,222 Today )
RSS Feed