0x80070040SystemMedium
Error 0x80070040 — Network Name Deleted (ERROR_NETNAME_DELETED) | Windows System Error Fix
Windows 11Windows 10Windows Server 2022
What Does 0x80070040 Mean?
The specified network name is no longer available. The network connection to the shared resource was severed.
Real-World Causes
- 1Server went offline while a network session was active
- 2Network cable disconnected during file operations
- 3Server-side share was removed or renamed
- 4Session timeout on the server closed the connection
Symptoms
- ⚠Active file operations on network shares suddenly fail
- ⚠Mapped drive shows red X and is inaccessible
- ⚠Error appears in Event Viewer system log
- ⚠Applications lose connection to network resources
Ad Space – header
DIY Fix
Beginner-friendly steps you can try at home
- 1Disconnect and reconnect the mapped network drive
- 2Check if the server is online and the share still exists
- 3Restart the Workstation service: 'net stop workstation && net start workstation'
- 4Re-establish VPN connection if applicable
Advanced Fix
For experienced users and IT professionals
- 1Check server-side event logs for share deletion or service restarts
- 2Review SMB session timeouts on the server: 'Get-SmbServerConfiguration | Select AutoDisconnectTimeout'
Ad Space – after-fix
Frequently Asked Questions
Why does my mapped drive show a red X?
A red X indicates Windows lost the connection to the network share. This can happen if the server reboots, the network drops, or the session times out. Double-click the drive to attempt reconnection, or disconnect and remap it.
Related Error Codes
About the Author
Windows Troubleshooting Team
Verified against official Microsoft documentation and real-world diagnostic data. Error behavior confirmed across Windows 10, Windows 11, and Windows Server.