What does Windows error code 64 (ERROR_NETNAME_DELETED) mean?

 
Could be also:
ConstantTypeOS
ENONETerrnoLinux
EHOSTDOWNerrnoMac
ENONETerrnoSolaris
TARGET_MDL_TOO_SMALLBugCheck CodeWindows
Previous Next
ERROR_PRINT_CANCELLED ERROR_NETWORK_ACCESS_DENIED

ERROR_NETNAME_DELETED

For SMB2/SMB3, access to a share is represented by a tree connect identified by TreeId. The MS-SMB2 server rules require a request to fail with STATUS_NETWORK_NAME_DELETED when the referenced tree connect cannot be found. Windows can map that protocol condition into the Win32 network-name-deleted error.

This is why the code can appear after a connection previously worked. A transport disconnect can invalidate tree-connect and session state; a subsequent request using stale connection state is different from a first attempt to locate a misspelled share, which is closer to ERROR_BAD_NET_NAME.

What to inspect

  • Correlate the error with an SMB disconnect, reconnect, failover, or server/service restart.
  • Determine whether the operation used a stale file or share handle after connection loss.
  • Capture SessionId and TreeId around the failure when protocol tracing is available.
  • Do not fix this by changing share ACLs unless the reconnect itself is denied.

MS-SMB2 tree-connect verification · MS-SMB2 network disconnect handling · Samba smbclient manual


Looking for a different code? Search another status or error code.