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
- 1Prevent adapter from sleeping:
- 2Device Manager → Network adapters
- 3Right-click your adapter → Properties → Power Management tab
- 4Uncheck "Allow the computer to turn off this device to save power"
- 5Also check Advanced tab:
- 6Set "Energy Efficient Ethernet" to Disabled
- 7Set "Power Saving Mode" to Disabled
- 8Set "Wake on Magic Packet" to Enabled
- 9Click OK and test network stability
Solution 2: Increase SMB Timeout and Keep-Alive
- 1Increase session timeout:
- 2Win+R → regedit
- 3HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
- 4Create or modify "SessTimeout" (DWORD):
- 5Set to 120 (decimal, in seconds) — default is 45
- 6Enable SMB keep-alive:
- 7HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
- 8Create "enablesecuritysignature" (DWORD) = 0 if not needed
- 9Restart Workstation and Server services:
- 10net stop workstation && net start workstation
- 11net stop server && net start server
Solution 3: Fix Network Stability
- 1Reset network stack:
- 2CMD as Admin:
- 3netsh winsock reset
- 4netsh int ip reset
- 5netsh int tcp set global autotuninglevel=normal
- 6ipconfig /flushdns
- 7Check for network driver updates:
- 8Device Manager → Network adapters → right-click → Update driver
- 9If using WiFi, try switching to ethernet for large transfers
- 10Check firewall rules:
- 11Windows Security → Firewall → Advanced settings
- 12Look for rules blocking SMB (ports 445, 139)
- 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 TrialNo credit card required • Works on Windows 10 & 11