Skip to content

Instantly share code, notes, and snippets.

@egyjs
Created November 6, 2024 12:45
Show Gist options
  • Select an option

  • Save egyjs/8938bd712734f0ced6b03371406fb3fb to your computer and use it in GitHub Desktop.

Select an option

Save egyjs/8938bd712734f0ced6b03371406fb3fb to your computer and use it in GitHub Desktop.
Fix AnyDesk Countdown Delay Issue - Anydesk Countdown Reset (100-second Issue) - إصلاح مشكلة العد التنازلي في AnyDesk

Fix AnyDesk Countdown Delay Issue - Anydesk Countdown Reset (100-second Issue) - إصلاح مشكلة العد التنازلي في AnyDesk

This batch script, anydesk-batch.bat, is designed to fix the AnyDesk 100-second countdown delay issue. It moves AnyDesk configuration files from their default locations to a backup folder named old. This solution targets files in both the AppData\Roaming\AnyDesk folder (user-specific) and ProgramData\AnyDesk folder (system-wide).

Purpose: Fixing the AnyDesk 100-Second Countdown

Occasionally, AnyDesk may mistakenly detect usage patterns that suggest you are using it for commercial purposes. As a result, it may trigger a 100-second delay popup, significantly slowing down your remote access experience. This script helps to reset AnyDesk's configuration files, moving them to an old folder, and potentially bypassing the delay and resetting AnyDesk's usage records that might be causing the popup.

Why You Need This Script

If you've been hit by the AnyDesk 100-second delay when connecting, this script can help you restore the normal use of AnyDesk without the frustrating countdown timer. It is a simple and effective way to resolve issues related to incorrect commercial usage detection by AnyDesk.

Script Actions - How the AnyDesk Countdown Fix Works

The script performs the following actions to help resolve the AnyDesk countdown delay:

  1. Moves AnyDesk configuration files from %USERPROFILE%\AppData\Roaming\AnyDesk to %USERPROFILE%\AppData\Roaming\AnyDesk\old.
  2. Moves AnyDesk configuration files from C:\ProgramData\AnyDesk to C:\ProgramData\AnyDesk\old.
  3. Checks if the old folder exists in each location, creating it if necessary.

Configuration Files Moved by the Script

The following AnyDesk configuration files are moved to help resolve the countdown delay:

  • user.conf (commented)
  • service.conf
  • system.conf

How to Use This Script to Fix the AnyDesk Delay

  1. Download the anydesk-batch.bat file or create a new .bat file and paste in the script below.
  2. Run the Script: Double-click on the .bat file to execute it, or run it from the command prompt for a more detailed output. Running it in command prompt provides useful feedback about which files have been moved and ensures that the script is running correctly.

Benefits of Using This AnyDesk Countdown Fix Script

  • Bypass AnyDesk 100-second countdown: Remove the frustration of waiting unnecessarily.
  • Reset AnyDesk settings: Helps AnyDesk function as intended without commercial misinterpretation.
  • No risk of data loss: The script moves files rather than deleting them, giving you an opportunity to restore them if needed.

Important Note

  • This script is intended for individuals who are not using AnyDesk for commercial purposes. If you are using AnyDesk for professional or business activities, please consider purchasing a commercial license from AnyDesk to comply with their terms and conditions.

Download the AnyDesk Batch Script Now

Fix the AnyDesk countdown timer and restore uninterrupted remote access!

Keywords and Tags

  • Fix AnyDesk countdown delay
  • Bypass AnyDesk 100-second timer
  • Reset AnyDesk configuration files
  • Solve AnyDesk commercial usage popup
  • AnyDesk configuration batch script
  • Remote access countdown issue
  • إصلاح مشكلة العد التنازلي AnyDesk

By optimizing the file and resetting AnyDesk settings, you can easily bypass the 100-second countdown issue and regain smooth access without interruptions.

@echo off
REM Set source and destination folders for the Roaming AnyDesk folder
set "roamingSource=%USERPROFILE%\AppData\Roaming\AnyDesk"
set "roamingDestination=%USERPROFILE%\AppData\Roaming\AnyDesk\old"
REM Set source and destination folders for the ProgramData AnyDesk folder
set "programDataSource=C:\ProgramData\AnyDesk"
set "programDataDestination=C:\ProgramData\AnyDesk\old"
REM Check if the Roaming destination folder exists, if not, create it
if not exist "%roamingDestination%" (
mkdir "%roamingDestination%"
)
REM Move specified files in Roaming
@REM move "%roamingSource%\user.conf" "%roamingDestination%"
move "%roamingSource%\service.conf" "%roamingDestination%"
move "%roamingSource%\system.conf" "%roamingDestination%"
REM Check if the ProgramData destination folder exists, if not, create it
if not exist "%programDataDestination%" (
mkdir "%programDataDestination%"
)
REM Move specified files in ProgramData
@REM move "%programDataSource%\user.conf" "%programDataDestination%"
move "%programDataSource%\service.conf" "%programDataDestination%"
move "%programDataSource%\system.conf" "%programDataDestination%"
echo Files moved successfully from both locations!
pause
@mayuranimation

Copy link
Copy Markdown

excellent working no previous data loss

@Yogabayu

Copy link
Copy Markdown

thanks works

@tomorrow0028

Copy link
Copy Markdown

thanks works

@atha95

atha95 commented Oct 26, 2025

Copy link
Copy Markdown

perfect, thank you!!!!

@WajidAkhtar

Copy link
Copy Markdown

not working. ran the script. said its sucessful. re-launched anydesk and its got the 100s professional use popup

@Zaher-Sankari

Copy link
Copy Markdown

not working, tried run as admin but still the same.

@shujaaae

Copy link
Copy Markdown

not working anymore

@Tam97123

Copy link
Copy Markdown

Yep still work at anydesk 9.6.11
but need to run as admin twice

@MiniByte0010

MiniByte0010 commented Oct 7, 2026 •

Copy link
Copy Markdown

I use a file with the .cmd extension (ex: AutoDesk Reset.cmd), and it contains the following script:

@echo off & setlocal enableextensions
title Reset AnyDesk
reg query HKEY_USERS\S-1-5-19 >NUL || (echo Please Run as administrator.& pause >NUL&exit)
chcp 437
call :stop_any
del /f "%ALLUSERSPROFILE%\AnyDesk\service.conf"
del /f "%APPDATA%\AnyDesk\service.conf"
copy /y "%APPDATA%\AnyDesk\user.conf" "%temp%\"
rd /s /q "%temp%\thumbnails" 2>NUL
xcopy /c /e /h /r /y /i /k "%APPDATA%\AnyDesk\thumbnails" "%temp%\thumbnails"
del /f /a /q "%ALLUSERSPROFILE%\AnyDesk\*"
del /f /a /q "%APPDATA%\AnyDesk\*"
call :start_any
:lic
type "%ALLUSERSPROFILE%\AnyDesk\system.conf" | find "ad.anynet.id=" || goto lic
call :stop_any
move /y "%temp%\user.conf" "%APPDATA%\AnyDesk\user.conf"
xcopy /c /e /h /r /y /i /k "%temp%\thumbnails" "%APPDATA%\AnyDesk\thumbnails" 
rd /s /q "%temp%\thumbnails"
call :start_any
echo *********
echo Completed.
echo(
goto :eof
 
:start_any
sc start AnyDesk
sc start AnyDesk
if %errorlevel% neq 1056 goto start_any
set AnyDesk1=%SystemDrive%\Program Files (x86)\AnyDesk\AnyDesk.exe
set AnyDesk2=%SystemDrive%\Program Files\AnyDesk\AnyDesk.exe
if exist "%AnyDesk1%" start "" "%AnyDesk1%"
if exist "%AnyDesk2%" start "" "%AnyDesk2%"
exit /b
 
:stop_any
sc stop AnyDesk
sc stop AnyDesk
if %errorlevel% neq 1062 goto stop_any
taskkill /f /im "AnyDesk.exe"
exit /b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment