ZTree.com  | ZEN  | About...  

 Index   Back

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

By: Liviu       
Date: Apr 27,2020 at 02: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.


Thread locked

Messages in this Thread

95,257 Postings in 12,014 Threads, 350 registered users, 105 users online (0 registered, 105 guests)
Index | Admin contact |   Forum Time: Jan 20, 2021 - 9:16 am UTC  |  Hits:36,920,622  (9,449 Today )
RSS Feed