What does Windows error code 1220 (ERROR_REMOTE_SESSION_LIMIT_EXCEEDED) mean?

 
Previous Next
ERROR_SESSION_CREDENTIAL_CONFLICT ERROR_DUP_DOMAINNAME

ERROR_REMOTE_SESSION_LIMIT_EXCEEDED

This code describes server session capacity. In SMB, a session represents an authenticated security context and is distinct from the transport connection and from each share tree connect. The distinction matters because one transport can carry session/share state, and modern SMB can also use multiple channels for a session.

Measure sessions at the server and correlate them with clients and identities. A high connection count does not automatically equal the same number of SMB sessions, and opening many shares under one session is not the same as creating many authenticated sessions.

Count the right object

  • Collect server-side session records, client identity, and session creation time.
  • Check whether disconnected clients leave sessions until timeout or cleanup.
  • Compare with ERROR_CONNECTION_COUNT_LIMIT, which is scoped to concurrent connections for an account.
  • Inspect application reconnect behavior before raising a server session limit.

MS-SMB2 network disconnect handling · MS-SMB2 TREE_CONNECT · Samba smbclient manual


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