Skip to content

Instantly share code, notes, and snippets.

@oropesa
Created December 31, 2019 17:39
Show Gist options
  • Save oropesa/a058c813ffb25ee696104d660cca6e5a to your computer and use it in GitHub Desktop.
Save oropesa/a058c813ffb25ee696104d660cca6e5a to your computer and use it in GitHub Desktop.
(In both Windows)
1. Go to C:\Users\{USER}\AppData\Roaming\AnyDesk
2. Copy & Paste 'thumbnails'
3. Open 'user.conf'
4. Replace the line 'ad.roster.items='
5. Done.
@oropesa
Copy link
Author

oropesa commented Nov 30, 2021

In command line:
> cd /Users/{USER}/.anydesk/
> ls (to see folder files)

In Mac interface:
1. Go to Home (User Home)
2. Ctrl + Shift + dot [.] (to show hidden folder)
3. Go to .anydesk

@alienmorf
Copy link

tyvm)) what about saved passwords? is it possible to migrate?))

@oropesa
Copy link
Author

oropesa commented Dec 1, 2021

The same file user.conf.

The line that start with ad.anynet.auth_tokens=

@bigbeka
Copy link

bigbeka commented Jun 1, 2022

I import Session Addresses from AnyDesk on mac os x to Windows 10 following the steps, and I had problems with some special chars followed to ';'. I solved it removing the special chars and it's working well.

Thanks for sharing it!

Thank you, this worked!
Luckily the Time Machine had the right backup and I could replace the files by just copying and pasting the user.conf file!

People, make sure to backup your backups and follow at least 3-2-1 approach!

@kuklei
Copy link

kuklei commented Dec 13, 2022

The same file user.conf.

The line that start with ad.anynet.auth_tokens=

Tried it and it does not seem to work

@bigbeka
Copy link

bigbeka commented Dec 13, 2022

@kuklei Do you have old enough backups of user.conf file?

You simply need to find old enough backup of user.conf that has connected client details and copy that to /Users/{USER}/.anydesk/

@kuklei
Copy link

kuklei commented Dec 13, 2022

@bigbeka I don't seem to have that folder at all. I was referring to the user.conf file under C:\Users{USER}\AppData\Roaming\AnyDesk

Copied the lines from the old conf for both tokens and items. The items are there in the other but tokens seem not to work.

@bigbeka
Copy link

bigbeka commented Dec 13, 2022

@kuklei I see, you are on Windows, it should be under C:\Users{USER}\AppData\Roaming\AnyDesk. I don't have experience restoring user.conf on Windows, but I believe if you copy the whole user.conf file to C:\Users{USER}\AppData\Roaming\AnyDesk path, it should restore all the data within that backup. Also try restarting the app and/or the win host.

@DavidMutenda
Copy link

It worked quite effectively for me; the only issue was forgetting to close AnyDesk before implementing the changes.

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