My computer keeps disconnecting mapped network drives.
This behavior is by designed.
This behavior occurs because Windows NT Server 4.0, Windows 2000 Server, and Windows Server 2003 can drop idle connections after a specified time-out period (by default, 15 minutes) to prevent wasting server resources on unused sessions. The connection can be re-established very quickly, if required.
To resolve this issue, you can run the following command on your computer:
net config server /autodisconnect:-1
This command will turn off the autodisconnect feature.
For more information, please refer to the following Microsoft Knowledge Base article:
Mapped Drive Connection to Network Share May Be Lost