Start Run Regedit
Go to: HKEY_LOCAL_MACHINESystemCurrentControlSetServicesLanmanServerParameters
Modify/Create DWORD Value of Data type REG_DWORD Named Autodisconnect
Value Data: Enter a new disconnect time. Use Hexadecimal if you are unfamiliar with Binary
Exit Registry / Reboot source:here