60

I utilize this application called Anydesk for remote desktop very frequently, and while I was recently removing programs from starting up at login (because I wanted a faster start up speed) I noticed that Anydesk wasn't in the list of login items, even though it shows up whenever I login after I restart/shut down the computer.

How does one rectify this issue?

I am running OSX El Capitan on a 13" MacBook Pro.

Monomeeth
  • 64,558
  • 2
    Have you asked the developer of Anydesk how to remove their app from startup? Maybe they have an application support forum? – fsb May 27 '18 at 20:34
  • 1
    Also check in the Preferences of the app for any kind of check box for "Start at login" or similar to like that. – Pratik May 28 '18 at 02:47
  • 1
    See this related question/answer: https://apple.stackexchange.com/questions/305134/i-need-a-list-of-macos-app-startup-locations/305189#305189 – Allan May 28 '18 at 07:11

7 Answers7

65

After several attempts I finally found the file that is created during the installation process. So to prevent AnyDesk from starting at login, you need to delete the file,

/Library/LaunchAgents/com.philandro.anydesk.Frontend.plist

enter image description here

That solved my issues with autostarting AnyDesk at login.

nohillside
  • 100,768
  • 1
    Something is weird here.... http://cubeupload.com/im/qcmptr/ScreenShot20180724at.png – quantum.cmptr Jul 24 '18 at 08:20
  • 4
    Make sure it's /Library, not ~/Library (former is the system library, latter is your users' library folder) – Simon Fredsted Oct 06 '18 at 08:50
  • 4
    On more recent versions it is /Library/LaunchAgents/com.philandro.anydesk.Tray.plist – jamp Dec 15 '18 at 14:29
  • 1
    On latest version (2022) it's /Library/Daemons/com.philandro.anydesk.Helper.plist and /Library/Daemons/com.philandro.anydesk.service.plist – mafortis Apr 28 '22 at 01:41
  • On Ventura 13.5.1 2023 the file name is: /Library/LaunchAgents/com.philandro.anydesk_ad_2d27ffa8.Frontend.plist my suggestion is to navigate to /Library/LaunchAgents and then find the plist file containing anydesk word – vahiiiid Sep 02 '23 at 06:47
46

I looked into the plist file (/Library/LaunchAgents/com.philandro.anydesk.Frontend.plist) suggested in one of the answers here.

You can open the file using any text editor and change the lines:

<key>RunAtLoad</key>
<true/>

to

<key>RunAtLoad</key>
<false/>

This worked for me.

Update for file path: /Library/LaunchAgents/com.philandro.anydesk.Tray.plist

For latest version, if the file is missing in the above path then check this file path: /Library/LaunchDaemons/com.philandro.anydesk.service.plist

Abdullah
  • 561
  • 1
    On more recent versions it is /Library/LaunchAgents/com.philandro.anydesk.Tray.plist – jamp Dec 15 '18 at 14:31
  • 1
    The solution provided by @Abdullah above worked for me. However, I needed to give myself (username) 'Read & Write' permissions for the 'LaunchAgents' directory in order to edit the file, or else, it was asking to create a duplicate file and then edit it. Thanks a ton! AnyDesk really needs to fix this, because the solution is not always easy for an average user. – Dhananjay Bhardwaj Sep 17 '19 at 08:46
  • @DhananjayBhardwaj you can use this comment to edit it – Merichle Mar 18 '20 at 03:47
18

Open your terminal and type this :

sudo plutil -replace RunAtLoad -bool false /Library/LaunchAgents/com.philandro.anydesk.Frontend.plist

Basically this will set the auto start boolean value in the *.plist file from true to false which as a result would disable the autostart function. It's practically the same thing as the above solutions but much simpler.

User was on version 5.0.1 at the time of this answer.

Works on version 6.3.2

BPDESILVA
  • 280
8

For Windows users, you have to disable the application on startup and change the service startup type to manual.

For example on Windows 10 you should do the following:

  1. Task Manager => Startup tab => right click on AnyDesk and change it to disable.
  2. Control Panel => Administrative Tools => Services => AnyDesk Service => Right click and select properties => Startup type from [Automatic] to [Manual] => also you can press on stop button.

Next time when you want to start the application, windows will ask for permission (UAC) to start the AnyDesk service and also after quitting the application windows will ask for permission (UAC) to stop the service.

3

Open System Preferences > Users & Groups > Login Items

Select AnyDesk, then press the minus button.

macOS Login Items

0

This worked for me since AnyDesk was not listed in my system preferences login programs.

<key>RunAtLoad</key>
<false/>
  • what do I even do with this? Save it in a txt file at my desktop? :( If it is a thankyou comment, it is not an answer. Don't just copy content from other users' answers and post it as their own. – anki Sep 20 '19 at 19:54
-1

try this command

sudo rm /Library/LaunchAgents/com.philandro.anydesk.Frontend.plist