How to fix AnyDesk keeps disconnecting
Struggling with AnyDesk connection issues? Discover simple tweaks to eliminate disconnections and screen freezes for a seamless remote desktop experience.
In terms of simplicity, security, and features, AnyDesk has hit the jackpot when it comes to lag-free desktop sharing, quickly surpassing TeamViewer. If you use it regularly, you must have come across annoying screen freezes or the dreaded disconnection from the AnyDesk network error. Thankfully, you can fix them with a few tweaks and some in-app settings. Follow this guide to find out how.
AnyDesk may suddenly disconnect during a session due to a number of root causes. These include unstable internet connection, blocking issues with Windows Firewall/antivirus software, or incorrect internet protocol settings. These issues may crop up even if you have enabled unattended access on AnyDesk. Thankfully, you can easily fix AnyDesk’s connection issues.
Before you begin, verify that your desktop meets AnyDesk’s minimum requirements. Next, check that your system is connected to a stable internet connection and logged in with the correct username and password, rather than using the application in guest mode. You can test your connection speed using free online tools like SpeedTest and Fast.
1. Run AnyDesk as an administrator
Lack of permissions is a common reason why AnyDesk repeatedly disconnects during a screen sharing session. To fix this issue, launch the AnyDesk application with administrative permissions. Doing so gives the application full permissions to modify or use system resources.
Right-click the AnyDesk icon on the desktop and click Run as administrator . Alternatively, you can search for the AnyDesk application in the Windows Search bar and select the Run as administrator option.
https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-6366716774018597&output=html&h=200&slotname=7759727405&adk=2176410538&adf=2212332115&pi=t.ma~as.7759727405&w=1200&abgtt=6&fwrn=4&lmt=1742468963&rafmt=11&format=1200×200&url=https%3A%2F%2Fcn.windows-office.net%2F%3Fp%3D40169&wgl=1&uach=WyJXaW5kb3dzIiwiMTAuMC4wIiwieDg2IiwiIiwiMTM0LjAuNjk5OC44OSIsbnVsbCwwLG51bGwsIjY0IixbWyJDaHJvbWl1bSIsIjEzNC4wLjY5OTguODkiXSxbIk5vdDpBLUJyYW5kIiwiMjQuMC4wLjAiXSxbIkdvb2dsZSBDaHJvbWUiLCIxMzQuMC42OTk4Ljg5Il1dLDBd&dt=1742468963776&bpp=42&bdt=1804&idt=42&shv=r20250318&mjsv=m202503170101&ptt=9&saldr=aa&abxe=1&cookie_enabled=1&eoidce=1&prev_fmts=0x0%2C1200x280%2C582x146&nras=1&correlator=3801508118148&frm=20&pv=1&rplot=4&u_tz=480&u_his=1&u_h=1080&u_w=1920&u_ah=1040&u_aw=1920&u_cd=24&u_sd=1&dmc=8&adx=353&ady=993&biw=1905&bih=919&scr_x=0&scr_y=0&eid=42532524%2C95330278%2C31091112%2C31088250%2C95355965%2C95355301&oid=2&pvsid=604259539369765&tmod=839405953&uas=0&nvt=1&ref=https%3A%2F%2Fwww.bing.com%2F&fc=1920&brdim=0%2C0%2C0%2C0%2C1920%2C0%2C1920%2C1040%2C1920%2C919&vis=1&rsz=%7C%7CpEebr%7C&abl=CS&pfx=0&fu=128&bc=31&bz=1&td=1&tdf=2&psd=W251bGwsbnVsbCxudWxsLDNd&nt=1&ifi=4&uci=a!4&btvi=1&fsb=1&dtd=46

2. Update AnyDesk to the latest version
Outdated application version is a common cause of AnyDesk connection issues. Go to its settings and install available updates to get rid of random disconnection issues.
- Open AnyDesk and click the four-bar menu in the upper right corner to access settings .
- Expand About AnyDesk in the lower left corner and install any available updates.
- You can also check for and install new updates from AnyDesk’s home screen.
3. Uninstall and reinstall AnyDesk
If updating AnyDesk does not solve the disconnection problem, you can uninstall it and set it up again. Follow these steps to easily fix it:
- Press the Windows key and search for the installed application in the search bar to open the associated system settings.
- Find AnyDesk and click on the three-dot icon to uninstall . Don’t forget to select Delete profile during the uninstall process to delete all app data, including the aliases you created.https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-6366716774018597&output=html&h=280&slotname=3900373442&adk=2811437014&adf=2248377310&pi=t.ma~as.3900373442&w=1180&abgtt=6&fwrn=4&fwrnh=100&lmt=1742468963&rafmt=1&format=1180×280&url=https%3A%2F%2Fcn.windows-office.net%2F%3Fp%3D40169&fwr=0&fwrattr=true&rpe=1&resp_fmts=3&wgl=1&uach=WyJXaW5kb3dzIiwiMTAuMC4wIiwieDg2IiwiIiwiMTM0LjAuNjk5OC44OSIsbnVsbCwwLG51bGwsIjY0IixbWyJDaHJvbWl1bSIsIjEzNC4wLjY5OTguODkiXSxbIk5vdDpBLUJyYW5kIiwiMjQuMC4wLjAiXSxbIkdvb2dsZSBDaHJvbWUiLCIxMzQuMC42OTk4Ljg5Il1dLDBd&dt=1742468963835&bpp=17&bdt=1863&idt=17&shv=r20250318&mjsv=m202503170101&ptt=9&saldr=aa&abxe=1&cookie_enabled=1&eoidce=1&prev_fmts=0x0%2C1200x280%2C582x146%2C1200x200&nras=1&correlator=3801508118148&frm=20&pv=1&u_tz=480&u_his=1&u_h=1080&u_w=1920&u_ah=1040&u_aw=1920&u_cd=24&u_sd=1&dmc=8&adx=383&ady=1775&biw=1905&bih=919&scr_x=0&scr_y=0&eid=42532524%2C95330278%2C31091112%2C31088250%2C95355965%2C95355301&oid=2&pvsid=604259539369765&tmod=839405953&uas=0&nvt=1&ref=https%3A%2F%2Fwww.bing.com%2F&fc=1920&brdim=0%2C0%2C0%2C0%2C1920%2C0%2C1920%2C1040%2C1920%2C919&vis=1&rsz=%7C%7CpeEbr%7C&abl=CS&pfx=0&fu=128&bc=31&bz=1&td=1&tdf=2&psd=W251bGwsbnVsbCxudWxsLDNd&nt=1&ifi=5&uci=a!5&btvi=2&fsb=1&dtd=22
- Next, go to the AnyDesk website to download and install the latest compatible version for your desktop.
- Launch the downloaded app and click Install AnyDesk to install it on your device.
4. Allow AnyDesk through Windows Firewall and Antivirus software
Sometimes, Windows Firewall or your system’s antivirus mistakenly marks AnyDesk as malware. As a result, all connection requests from the application are immediately blocked, causing disconnection issues. To fix this, you must manually add exceptions for AnyDesk to allow its use through Windows Firewall and antivirus.
- Press the Windows key and search for the Control Panel app to open it. Alternatively, press Windows key + R and type control to execute and open the Control Panel app.
- Click Windows Defender Firewall .
- Next, click Allow an app or feature through Windows Defender Firewall in the left sidebar .
- Click Change settings .
- https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-6366716774018597&output=html&h=200&slotname=9680201783&adk=3273247254&adf=3222561733&pi=t.ma~as.9680201783&w=1180&abgtt=6&fwrn=4&lmt=1742468963&rafmt=11&format=1180×200&url=https%3A%2F%2Fcn.windows-office.net%2F%3Fp%3D40169&wgl=1&uach=WyJXaW5kb3dzIiwiMTAuMC4wIiwieDg2IiwiIiwiMTM0LjAuNjk5OC44OSIsbnVsbCwwLG51bGwsIjY0IixbWyJDaHJvbWl1bSIsIjEzNC4wLjY5OTguODkiXSxbIk5vdDpBLUJyYW5kIiwiMjQuMC4wLjAiXSxbIkdvb2dsZSBDaHJvbWUiLCIxMzQuMC42OTk4Ljg5Il1dLDBd&dt=1742468963868&bpp=14&bdt=1896&idt=14&shv=r20250318&mjsv=m202503170101&ptt=9&saldr=aa&abxe=1&cookie_enabled=1&eoidce=1&prev_fmts=0x0%2C1200x280%2C582x146%2C1200x200%2C1180x280&nras=1&correlator=3801508118148&frm=20&pv=1&rplot=4&u_tz=480&u_his=1&u_h=1080&u_w=1920&u_ah=1040&u_aw=1920&u_cd=24&u_sd=1&dmc=8&adx=383&ady=2640&biw=1905&bih=919&scr_x=0&scr_y=0&eid=42532524%2C95330278%2C31091112%2C31088250%2C95355965%2C95355301&oid=2&pvsid=604259539369765&tmod=839405953&uas=0&nvt=1&ref=https%3A%2F%2Fwww.bing.com%2F&fc=1920&brdim=0%2C0%2C0%2C0%2C1920%2C0%2C1920%2C1040%2C1920%2C919&vis=1&rsz=%7C%7CpeEbr%7C&abl=CS&pfx=0&fu=128&bc=31&bz=1&td=1&tdf=2&psd=W251bGwsbnVsbCxudWxsLDNd&nt=1&ifi=6&uci=a!6&btvi=3&fsb=1&dtd=18Enable AnyDesk for both public and private networks and click OK .
- If you use the default Windows Security application for antivirus protection, turn it on.
- Expand Virus & threat protection in the left sidebar and click Manage settings .
- Scroll down to the bottom and click on the Add or remove exclusions link.
- Additionally, click Add exclusion and select the AnyDesk application to exclude it from antivirus scanning.
If manually allowing the AnyDesk application does not work, you can turn off Windows Firewall or disable Windows Defender on your PC for a while.
5. Enable direct connection
By default, AnyDesk uses the direct connection method to create a session tunnel between the local and remote endpoints. This provides fast connection speeds and keeps your session free from unnecessary interruptions and disconnections. Go to AnyDesk application settings to verify that it is enabled. You can also assign a different local port to create a direct connection.
If it doesn’t solve the problem, you can disable it and route your session through AnyDesk’s servers to share your screen.
- Open the AnyDesk application and click the four-bar menu in the upper right corner to access settings .
- Expand Connections in the left sidebar and click Unlock to configure general settings.
- Make sure Allow direct connections is enabled . You can also specify a custom local port to establish a direct connection with your client.
6. Reset local DNS cache
Corrupted local DNS cache files are another common reason for sudden remote disconnection issues on AnyDesk. You can resolve this issue by executing some terminal commands on your desktop to clear the DNS cache and reset Winsock.
- Press the Windows key and search for the Command Prompt application to run it with elevated permissions.
- Execute the following commands in order to delete the corrupted DNS cache file and reset Winsock.
ipconfig/release
ipconfig/renew
ipconfig/flushdns
nbtstat -r
netsh int ip Reset log .txt
netsh Winsock Reset
AnyDesk no longer disconnects
It can be frustrating when you need constant access to a remote device through AnyDesk, but it keeps disconnecting. While there can be a number of issues, most fixes only take a few minutes to apply and be up and running.
If you decide to give up AnyDesk, you can check other best AnyDesk alternatives to establish remote connections with clients and other devices.
FAQ
Question : How do I keep AnyDesk running?
Answer: To access your AnyDesk PC remotely without permission, you must first enable the unattended access option and set a password. Once done, you can connect to your AnyDesk PC using the password and enable the “Log in automatically from now on” option. After that, you can connect to your AnyDesk PC without permission.
Question : Why does AnyDesk crash on my desktop?
Answer: This usually happens when you are running an outdated version or the local DNS cache file in your system is corrupted. Update AnyDesk and execute the terminal commands listed above to resolve the disconnection issue.