🚀 NEW in v2.4.29: 35+ Speed Optimizations added today!Download Now →

Home/Fix/Fix Error 0x80070045 — Network Session Has Been Disconnected

How to Fix Fix Error 0x80070045 — Network Session Has Been Disconnected on Windows

Getting Windows error 0x80070045? Network session disconnected? File transfer aborted due to session drop? SMB session terminated unexpectedly? Network connection dropped during operation? Fix error code 0x80070045.

Symptoms

You might be experiencing this problem if you notice:

  • File copies to network share fail with error 0x80070045
  • Network session drops during large file transfers
  • Mapped drives disconnect with session error
  • SMB connections terminate unexpectedly
  • Remote desktop or VPN sessions drop intermittently
  • Applications lose connection to network resources mid-operation

Common Causes

  • SMB session timeout configured too short
  • Network adapter power management disconnecting sessions
  • Unstable network connection causing session drops
  • Server-side idle timeout terminating sessions
  • Firewall or security software interrupting network traffic
  • Switch or router port flapping causing disconnections

Solutions

Solution 1: Disable Network Adapter Power Management

  1. 1Prevent adapter from sleeping:
  2. 2Device Manager → Network adapters
  3. 3Right-click your adapter → Properties → Power Management tab
  4. 4Uncheck "Allow the computer to turn off this device to save power"
  5. 5Also check Advanced tab:
  6. 6Set "Energy Efficient Ethernet" to Disabled
  7. 7Set "Power Saving Mode" to Disabled
  8. 8Set "Wake on Magic Packet" to Enabled
  9. 9Click OK and test network stability

Solution 2: Increase SMB Timeout and Keep-Alive

  1. 1Increase session timeout:
  2. 2Win+R → regedit
  3. 3HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
  4. 4Create or modify "SessTimeout" (DWORD):
  5. 5Set to 120 (decimal, in seconds) — default is 45
  6. 6Enable SMB keep-alive:
  7. 7HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
  8. 8Create "enablesecuritysignature" (DWORD) = 0 if not needed
  9. 9Restart Workstation and Server services:
  10. 10net stop workstation && net start workstation
  11. 11net stop server && net start server

Solution 3: Fix Network Stability

  1. 1Reset network stack:
  2. 2CMD as Admin:
  3. 3netsh winsock reset
  4. 4netsh int ip reset
  5. 5netsh int tcp set global autotuninglevel=normal
  6. 6ipconfig /flushdns
  7. 7Check for network driver updates:
  8. 8Device Manager → Network adapters → right-click → Update driver
  9. 9If using WiFi, try switching to ethernet for large transfers
  10. 10Check firewall rules:
  11. 11Windows Security → Firewall → Advanced settings
  12. 12Look for rules blocking SMB (ports 445, 139)
  13. 13Restart PC
FIXES THIS IN 5 MINUTES

Fix Fix Error 0x80070045 — Network Session Has Been Disconnected Automatically

RescuePC Toolkit includes 109+ automated repairs that fix this problem with one click. No command line knowledge required.

Download Now - Free Trial

No credit card required • Works on Windows 10 & 11

Automated Repairs for This Issue

Browse More Network & Internet Guides

Share this:XRedditLinkedInEmail