This issue is caused by Windows File Sharing service. It will auto disconnect network drive if let the computer idle for more than 15 min.
The fix :
- Open Registry Editorby Click Start, click Run, type regedit
- Locate and then click the following key in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters - Please add and set both autodisconnect and KeepConn keys like the pic below if they are not exist on all of the computers running Ocelot.
To verify the changes:
Before the change:
After the change:
Reference:
>
https://support.microsoft.com/en-au/help/297684/mapped-drive-connection-to-network-share-may-be-lost