Session ended unexpectedly

Prev Next

Error Code

  • anynet_unknown
  • win32_10054
  • win32_10060
  • win32_10061

Cause

This error occurs when an external factor disrupts the AnyDesk connection. Here are some common reasons why this might happen:

  • The remote device is powered off unexpectedly.
  • The local or remote device loses internet access.
  • A security software (firewall, antivirus, anti-ransomware), either on the local or remote device, ends the AnyDesk session.
  • A network-level security solution (router, proxy, VPN, etc.), either on the local or remote device, blocks or disconnects the AnyDesk session.

Fix

Please make sure your firewall on both the local and remote devices as well as networking hardware such as routers do not interfere with AnyDesk's connection.

Check security & firewall settings

Adjust connection settings in the client

  1. Go to Settings > Connection > General.
  2. Clear the Allow direct connections checkbox.
  3. If the issue persists, add /np to the AnyDesk ID or Alias (for example, 000111222/np or test@ad/np) when connecting.

If your session disconnects at predictable intervals (e.g., every 30 seconds or 10 minutes), it’s likely due to security software flagging the connection:

  • Review the logs in your security software for blocked or terminated connections.
  • Add AnyDesk to your software’s trusted applications list or create a specific rule to maintain the session.