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

  1. 1Server went offline while a network session was active
  2. 2Network cable disconnected during file operations
  3. 3Server-side share was removed or renamed
  4. 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

DIY Fix

Beginner-friendly steps you can try at home

  1. 1Disconnect and reconnect the mapped network drive
  2. 2Check if the server is online and the share still exists
  3. 3Restart the Workstation service: 'net stop workstation && net start workstation'
  4. 4Re-establish VPN connection if applicable

Advanced Fix

For experienced users and IT professionals

  1. 1Check server-side event logs for share deletion or service restarts
  2. 2Review SMB session timeouts on the server: 'Get-SmbServerConfiguration | Select AutoDisconnectTimeout'

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.