Reset the AnyDesk free/trial license timer on Windows. Generates a new device ID and restores the trial period.
# Run as Administrator:
irm https://raw.githubusercontent.com/cociugv/anydesk-reset/master/Reset-AnyDesk-Trial.ps1 | iexOr clone and run locally:
git clone https://github.com/cociugv/anydesk-reset.git
cd anydesk-reset
.\Reset-AnyDesk-Trial.ps1- Stops the AnyDesk service and all related processes
- Removes all configuration, identity, and license state files
- Cleans configuration for all user profiles on the machine
- Restarts the AnyDesk service (generates fresh ID + trial)
- Launches the AnyDesk client
- Windows (7/8/10/11, Server 2012+)
- AnyDesk installed as a service (standard installation)
- Run as Administrator (required to stop the service)
# Open PowerShell as Administrator, then run:
.\Reset-AnyDesk-Trial.ps1- Right-click
Reset-AnyDesk-Trial.ps1 - Select Run with PowerShell (must be Admin)
.\Reset-AnyDesk-Trial.ps1 -Silent╔══════════════════════════════════════════╗
║ AnyDesk Trial Reset Utility ║
╚══════════════════════════════════════════╝
[*] Current AnyDesk ID: 1538858949
[1/4] Stopping AnyDesk service...
[2/4] Removing AnyDesk configuration files...
Cleaned: ProgramData\AnyDesk
Cleaned: wizard\AppData\Roaming\AnyDesk
[3/4] Starting AnyDesk service...
[4/4] Launching AnyDesk client...
╔══════════════════════════════════════════╗
║ RESET COMPLETE ║
╠══════════════════════════════════════════╣
║ Old ID: 1538858949
║ New ID: 1438588459
║ License: free-1
╚══════════════════════════════════════════╝
⚠️ Your AnyDesk ID will change after each reset. Anyone connecting to your machine will need the new ID.- 🔑 Unattended access password will be cleared. You'll need to set it up again in AnyDesk settings.
- 🖥️ Works on any Windows PC — not tied to a specific machine.
- 🔁 Can be re-run whenever the trial expires again.
AnyDesk stores its identity (private key, certificate) and license state in:
C:\ProgramData\AnyDesk\— service-level config (ID, certs, license timer)C:\Users\<user>\AppData\Roaming\AnyDesk\— user-level config
By removing these files while the service is stopped, AnyDesk generates a completely new identity on next start, effectively resetting the trial.
| Issue | Solution |
|---|---|
| ID didn't change | Service didn't stop properly. Close AnyDesk from Task Manager manually, then re-run. |
| "Access denied" | Make sure you're running as Administrator. |
| AnyDesk not found | Script checks both Program Files and Program Files (x86). Verify AnyDesk is installed. |
| Service won't start | Wait 10 seconds and try net start AnyDesk manually. |
This tool is provided for personal and educational purposes only. Use it at your own risk. The author is not responsible for any misuse or violation of AnyDesk's Terms of Service. If you use AnyDesk commercially, please consider purchasing a license to support the developers.
⭐ If this helped you, consider giving it a star!