How to Fix AnyDesk Keeps Disconnecting Issues

When it comes to simplicity, security, and features, AnyDesk became an instant hit for latency-free desktop sharing, quickly surpassing TeamViewer. If you use it frequently, you must have faced the annoying screen freeze or the dreaded disconnected from the AnyDesk network error. Thankfully, you can resolve them with a few tweaks and certain in-app settings. Follow this guide to learn how.

How to Fix AnyDesk Keeps Disconnecting Issues

AnyDesk can disconnect abruptly during a session due to several underlying reasons. These include an unstable internet connection, block issues with Windows Firewall/antivirus, or incorrect internet protocol settings. These issues can crop up even when you have unattended access enabled on AnyDesk. Thankfully, you can easily troubleshoot AnyDesk’s connection problems. 

Before you start, verify your desktop fulfills AnyDesk’s minimum requirements. Next, check your system is connected to a stable internet connection and sign in with the correct username and password instead of using the app in guest mode. You can test your connection speed with free online tools like SpeedTest and Fast. 

1. Run AnyDesk as Administrator

Missing permissions are a common reason AnyDesk repeatedly disconnects during a screen-sharing session. To fix it, launch the AnyDesk app with administrative privileges. Doing this provides complete rights to the app for modifying or using system resources.

Right-click the AnyDesk icon on your desktop and click Run as Administrator. Alternatively, you can search the AnyDesk app in the Windows search bar and pick the run as administrator option.

2. Update AnyDesk to the Latest Version

An obsolete app version is a common reason behind connection issues with AnyDesk. Head to its settings and install the available update to get rid of random disconnection problems. 

  1. Open AnyDesk and click the four-bar menu in the top-right to access Settings.
    open AnyDesk settings
  2. Expand About AnyDesk in the bottom-left and install any available update.
    AnyDesk desktop settings
  3. You can also check and install new updates from the AnyDesk’s home screen.

3. Uninstall and Reinstall AnyDesk

If updating AnyDesk doesn’t solve the disconnection problem, you can uninstall it and set it up afresh. Follow these steps for an easy fix:

  1. Press the Windows key and search Installed Apps in the search bar to open the associated system setting.
    Installed App settings on Windows
  2. Locate AnyDesk and click the three-dot icon to Uninstall it. Don’t forget to select Remove Configuration Files during uninstallation to remove all the app data, including your created alias.
    uninstall AnyDesk
  3. Next, head to AnyDesk’s website to download and install the latest compatible version for your desktop.
  4. Launch the downloaded application and click Install AnyDesk to install it on your device.
    install AnyDesk to desktop

4. Permit AnyDesk Through Windows Firewall and Antivirus

Sometimes, Windows Firewall or your system’s antivirus incorrectly flags AnyDesk as malware. Consequently, all connection requests from the app are instantly blocked, giving rise to disconnection issues. To fix it, you must manually add an exception for AnyDesk to permit its usage through Windows Firewall and the antivirus software.

  1. Press the Windows key and search the Control Panel app to open it. Alternatively, press the Windows key + R and type control to execute and open the control panel app.
  2. Click Windows Defender Firewall.
    open the Windows Defender Firewall
  3. Next, click Allow an App or Feature through Windows Defender Firewall in the left sidebar.
    allow app through firewall
  4. Click Change Settings.
    change Firewall settings
  5. Enable AnyDesk for public and private networks and click OK.
    Enabling AnyDesk on Firewall
  6. If you’re using the default Windows Security app for antivirus protection, open it.
  7. Expand Virus & threat Protection in the left sidebar and click Manage Settings.
    Manage Windows Security settings
  8. Scroll down to the bottom and click the Add or Remove Exclusions link.
    add exception in Windows Security
  9. Further, click Add an Exclusion and pick the AnyDesk app to exclude it from the antivirus scanning.
    add an exclusion in Windows security

If manually permitting the AnyDesk app doesn’t work, you can turn off Windows Firewall or disable Windows Defender on your PC for some time.

5. Enable Direct Connection

By default, AnyDesk uses the direct connection method to create a session tunnel between local and remote endpoints. This offers a fast connection speed, saving your session from unwanted disruptions and disconnections. Head to the AnyDesk app settings to verify it is enabled. You can also assign a different local port to create a direct connection.

If it doesn’t solve the issue, you can disable it and route your session through AnyDesk’s servers to share your screen. 

  1. Open the AnyDesk app and click the four-bar menu in the top-right to access Settings.
    open AnyDesk settings
  2. Expand Connection in the left sidebar and click Unlock to configure general settings.
    unlock AnyDesk connection settings
  3. Ensure Allow Direct Connections is enabled. You can also specify a custom Local Port to establish a direct connection with your client.
    allow direct connection in Anydesk

6. Reset Local DNS Cache

A corrupted local DNS cache file is another common reason behind abrupt remote disconnection issues on AnyDesk. You can execute certain terminal commands on your desktop to flush out the DNS cache and reset Winsock, resolving the issue.

  1. Press the Windows key and search the Command Prompt app to run it with elevated permissions.
    run CMD as admin
  2. Execute the following commands one after another to remove corrupted DNS cache files and reset the Winsock.
    ipconfig/release
    ipconfig/renew
    ipconfig/flushdns
    nbtstat -r
    netsh int ip reset log.txt
    netsh winsock reset

No More AnyDesk Disconnections

It’s frustrating when you need continuous access to a remote device through AnyDesk, but it keeps disconnecting. While there could be numerous issues in play, most fixes won’t take more than a few minutes to apply and get it running. 

If you’ve decided to give AnyDesk a break, you can check other best AnyDesk alternatives to establish remote connectivity with clients and other devices.

FAQs

How do I keep AnyDesk running all the time?

To remotely access an AnyDesk PC without permission, you must first enable the unattended access option and set a password. Once done, you can connect to the AnyDesk PC using the password and enable the ‘login automatically from now on’ option. After that, you can connect to the AnyDesk PC without requiring permission.

Why is AnyDesk crashing on my desktop?

It usually happens when you’re running an outdated version or have a corrupted local DNS cache file in your system. Update AnyDesk and execute the above-listed terminal commands to resolve the disconnection problem.

Disclaimer: Some pages on this site may include an affiliate link. This does not effect our editorial in any way.

Todays Highlights
How to See Google Search History
how to download photos from google photos