{"slug": "anydesk-reset", "title": "AnyDesk Reset", "summary": "The article provides a batch script titled \"AnyDesk-Reset.cmd\" designed to reset the remote desktop software AnyDesk. The script stops the AnyDesk service, deletes configuration files from the system and user directories, and then restarts the service to generate a new AnyDesk ID. It requires administrator privileges to run and includes steps to preserve user settings like the user.conf file and thumbnails during the reset process.", "body_md": "AnyDesk-Reset.cmd\n\n      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.\n      \nLearn more about bidirectional Unicode characters\n\n \n    Show hidden characters\n\n@echo off & setlocal enableextensions\n\ntitle Reset AnyDesk\n\nreg query HKEY_USERS\\S-1-5-19 >NUL || (echo Please Run as administrator.& pause >NUL&exit)\n\nchcp 437\n\ncall :stop_any\n\ndel /f \"%ALLUSERSPROFILE%\\AnyDesk\\service.conf\"\n\ndel /f \"%APPDATA%\\AnyDesk\\service.conf\"\n\ncopy /y \"%APPDATA%\\AnyDesk\\user.conf\" \"%temp%\\\"\n\nrd /s /q \"%temp%\\thumbnails\" 2>NUL\n\nxcopy /c /e /h /r /y /i /k \"%APPDATA%\\AnyDesk\\thumbnails\" \"%temp%\\thumbnails\"\n\ndel /f /a /q \"%ALLUSERSPROFILE%\\AnyDesk\\*\"\n\ndel /f /a /q \"%APPDATA%\\AnyDesk\\*\"\n\ncall :start_any\n\n:lic\n\ntype \"%ALLUSERSPROFILE%\\AnyDesk\\system.conf\" | find \"ad.anynet.id=\" || goto lic\n\ncall :stop_any\n\nmove /y \"%temp%\\user.conf\" \"%APPDATA%\\AnyDesk\\user.conf\"\n\nxcopy /c /e /h /r /y /i /k \"%temp%\\thumbnails\" \"%APPDATA%\\AnyDesk\\thumbnails\" \n\nrd /s /q \"%temp%\\thumbnails\"\n\ncall :start_any\n\necho *********\n\necho Completed.\n\necho(\n\ngoto :eof\n\n \n\n:start_any\n\nsc start AnyDesk\n\nsc start AnyDesk\n\nif %errorlevel% neq 1056 goto start_any\n\nset AnyDesk1=%SystemDrive%\\Program Files (x86)\\AnyDesk\\AnyDesk.exe\n\nset AnyDesk2=%SystemDrive%\\Program Files\\AnyDesk\\AnyDesk.exe\n\nif exist \"%AnyDesk1%\" start \"\" \"%AnyDesk1%\"\n\nif exist \"%AnyDesk2%\" start \"\" \"%AnyDesk2%\"\n\nexit /b\n\n \n\n:stop_any\n\nsc stop AnyDesk\n\nsc stop AnyDesk\n\nif %errorlevel% neq 1062 goto stop_any\n\ntaskkill /f /im \"AnyDesk.exe\"\n\nexit /b", "url": "https://wpnews.pro/news/anydesk-reset", "canonical_source": "https://gist.github.com/janasco/c6168d17ed6eb4b6eaf7fd46fb775f60", "published_at": "2023-08-03 09:46:47+00:00", "updated_at": "2026-05-22 17:38:13.133401+00:00", "lang": "en", "topics": ["cybersecurity", "developer-tools"], "entities": ["AnyDesk"], "alternates": {"html": "https://wpnews.pro/news/anydesk-reset", "markdown": "https://wpnews.pro/news/anydesk-reset.md", "text": "https://wpnews.pro/news/anydesk-reset.txt", "jsonld": "https://wpnews.pro/news/anydesk-reset.jsonld"}}