Adil Khan 10 months ago
AdiKhanOfficial #How to's

How to Reset AnyDesk Session Time Limit & Remove Startup Warnings

Want to remove AnyDesk session time limit, reset trial restrictions, and skip startup warnings? Here’s a powerful CMD script that resets AnyDesk in one click, letting you use it without annoying interruptions.

AnyDesk is one of the most popular remote desktop tools, but the free version comes with some limitations such as:

  • Session timeout after a certain duration
  • Startup warnings before connecting
  • Popups that interrupt your workflow

For power users, these restrictions can be frustrating. Instead of reinstalling or waiting, you can reset AnyDesk in one click with a batch (.cmd) file.

This script:

  • Runs with administrator privileges automatically
  • Kills AnyDesk processes before reset
  • Clears all AnyDesk cache and stored restrictions
  • Removes hidden files from AppData and DriverStore
  • Resets AnyDesk to a fresh unrestricted state

⚠️ Disclaimer: This script is for educational and personal use only. We do not encourage misuse of AnyDesk’s licensing policies.

Method: Reset AnyDesk via CMD Script

Step 1 – Create the Script

Open Notepad and paste the following code:

@echo off
:: Request Admin Privileges
if "%1" neq "elevated" (
    powershell -Command "Start-Process '%~0' -ArgumentList 'elevated' -Verb RunAs"
    exit /b
)


:: Kill AnyDesk process if running
tasklist | find /i "AnyDesk.exe" >nul 2>&1
if %errorlevel% equ 0 (
    taskkill /im "AnyDesk.exe" /f >nul 2>&1
)


:: Delete AnyDesk AppData
set "targetFolder=%AppData%\AnyDesk"
if exist "%targetFolder%" (
    rd /s /q "%targetFolder%"
    timeout /t 2 >nul
)


:: Clear Temp Files
DEL /F /S /Q "%USERPROFILE%\AppData\Local\Temp\*" >nul 2>nul 
FOR /D %%P IN ("%USERPROFILE%\AppData\Local\Temp\*") DO RMDIR /S /Q "%%P" >nul 2>nul


:: Remove leftover AnyDesk entries from DriverStore
set "driverStorePath=C:\Windows\System32\DriverStore\FileRepository"
for /d %%F in ("%driverStorePath%\*AnyDesk*") do (
    takeown /f "%%F" /r /d y >nul 2>&1
    icacls "%%F" /grant administrators:F /t /c /q >nul 2>&1
    rd /s /q "%%F"
)
for %%F in ("%driverStorePath%\*anydesk*") do (
    takeown /f "%%F" /a >nul 2>&1
    icacls "%%F" /grant administrators:F /c /q >nul 2>&1
    del /f /q "%%F"
)


echo.
echo ✅ AnyDesk restrictions have been reset successfully.
pause
exit

Step 2 – Save the File

  • Go to File → Save As
  • File Name → reset_anydesk.cmd
  • Save as Type → All Files

Step 3 – Run as Administrator

  • Right-click the file → Run as Administrator
  • The script will reset AnyDesk and remove session limits.

Step 4 – Launch AnyDesk

After running the script, restart AnyDesk and enjoy limit-free sessions without annoying warnings.

0
3.4K
IoT based driver safety monitoring and reporting system

The overall model of the proposed framework dicusses as the internal design of vehicle con...

1675638330.png
Adil Khan
1 year ago
Intelligent classroom monitoring system to facilitate teacher and stud...

The developed project intends to improve the classroom management and facilitate teachers...

1675638330.png
Adil Khan
1 year ago
Validation of Gas Dynamic Virtual Nozzles using CFD techniques

Gas Dynamic Virtual Nozzles are used in Serial Femtosecond Crytallography for the study of...

1675638330.png
Adil Khan
1 year ago
Finding the Prevalence of JCPolyV: the Cause of Progressive Multifocal...

JC-polyomavirus (JCV) is a ds-DNA virus that is responsible for causing a deadly brain dis...

1675638330.png
Adil Khan
1 year ago
Agriculture assistance android app

The project is about to provide easy and real time assistance to the farmer and to others...

1675638330.png
Adil Khan
1 year ago