Shared Network Drive Disconnects – Fix in 2 Minutes

Network drive keeps dropping? Turn off power saving on your network adapter. Also check the idle disconnect timeout on the server. Works every time.

Yeah, it's annoying. Let's fix it.

You mapped a network drive, everything works for a bit, then boom — disconnected. You click it, wait, reconnect. Then it happens again. The fix is simpler than you think.

Step 1: Kill the power saving on your network adapter

This is the #1 cause. Windows loves to put your network card to sleep to save a few cents of electricity. But when the card sleeps, your mapped drive goes with it.

  1. Press Win + X and click Device Manager.
  2. Expand Network adapters. Right-click your active adapter — the one you're using (Wi-Fi or Ethernet).
  3. Select Properties, then go to the Power Management tab.
  4. Uncheck Allow the computer to turn off this device to save power.
  5. Click OK. Reboot or just reconnect the drive.

That's it for most people. The drive will stay connected now. Why does this work? Because when Windows puts the adapter to sleep, it drops all active TCP sessions — including your SMB connection to the shared folder. The drive icon stays, but the actual link is dead. Disabling power saving keeps that session alive.

Step 2: Check the server's idle disconnect timeout

If step 1 didn't help, the problem is probably on the server side. Windows servers have a setting called Idle SMB session timeout. By default, it's 15 minutes. If no one accesses the drive for 15 minutes, the server kills the session. Your computer doesn't know, so the icon stays, but the connection is gone.

You'll need admin access to the server. On the server machine, open PowerShell as admin and run:

Get-SmbServerConfiguration | Select-Object IdleSmbSessionTimeout

If it's 900 (seconds = 15 minutes), that's your issue. You can increase it to something like 3600 (1 hour) or 0 (never timeout):

Set-SmbServerConfiguration -IdleSmbSessionTimeout 3600

This tells the server not to drop idle sessions for an hour. After changing it, reboot the server or restart the Server service. Then reconnect your drive.

Less common variations of the same problem

Power saving on the USB adapter

If you're using a USB Wi-Fi or Ethernet adapter, Windows has another power saving setting in the USB controller. Go to Device Manager, expand Universal Serial Bus controllers, right-click each USB Root Hub, go to Power Management, and uncheck the same box. Some cheap USB adapters still act flaky — you might need to replace it with a better one.

IPv6 conflict

Rare but real. Some routers handled IPv6 badly. If the drive disconnects randomly every few hours, try disabling IPv6 on your network adapter. Open Control Panel > Network and Sharing Center > Change adapter settings. Right-click your adapter, go to Properties, uncheck Internet Protocol Version 6 (TCP/IPv6). Reboot. Not a common fix, but when it works, it's magic.

Antivirus or firewall interfering

Third-party antivirus programs sometimes scan SMB traffic and break the connection. Temporarily disable your antivirus for 10 minutes. If the drive stays connected, add an exception for the server's IP address or the drive letter. Windows Defender usually doesn't cause this — it's the third-party stuff like Norton or McAfee that's aggressive.

Prevention: Keep the drive alive

The best fix is to keep a file open on the drive. Something small, like a text file. Just leave Notepad open with a .txt file on the drive. That counts as activity and stops the timeout from kicking in. Lazy but effective.

If you're on a laptop that moves between networks, mapped drives will always disconnect when you switch Wi-Fi. That's by design — Windows kills SMB sessions on network changes. Use a script to remap the drive automatically on reconnect. Save this as a .bat file and add it to Task Scheduler to run at login:

@echo off
net use Z: \\server\share /persistent:yes

The /persistent:yes flag tells Windows to remember the mapping and try to reconnect. It's not perfect — you'll still get a delay — but it's better than clicking manually.

One more thing: if you're still getting disconnects after all this, check your router's DHCP lease time. Devices renew IP addresses. If the lease is too short (like 1 minute), the network adapter flips out. Set it to 24 hours or more. That's a router setting, not Windows.

Bottom line: power saving on the adapter is the usual suspect. Kill it first. If that doesn't work, go to the server's idle timeout. Everything else is rare but worth checking. You'll have a stable drive after these two steps 95% of the time.

Related Errors in Hardware – Hard Drives
0X40000015 Fix STATUS_FATAL_APP_EXIT (0x40000015) on Hard Drives 0X80030003 Fixing STG_E_PATHNOTFOUND (0x80030003) on external drives 0X000003ED Fix ERROR_UNRECOGNIZED_VOLUME (0x000003ed) Fast 0X4000002D Fixing 0x4000002D: Driver Leaking Locked I/O Pages

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.