4

Cisco AnyConnect VPN opens whenever I log in and its screen covers everything for a few minutes and can't be minimized. It's really annoying and I'd like to know if there's something, maybe in its config.plist, that will prevent it from opening on startup. Does anyone know?

I have to use Cisco AnyConnect for work, so I can't delete it.

1
  • Hey! Can you please check the settings in the app itself for the same?
    – anki
    Commented Jul 19, 2019 at 8:23

2 Answers 2

1

In case anyone else comes along with this question, the answer is in the /Library/LaunchAgents/com.cisco.anyconnect.gui.plist file referenced above. But you don't need to toss that file; instead, just change the RunAtLoad setting at the bottom from true to false:

RunAtLoad
3

Yes, I'm pretty sure you can stop apps from opening on startup even though it ignores Login Items. It is most likely in LaunchDaemons.

There are two locations for these, one is for Apple daemons only:

/System/Library/LaunchDaemons

The other is to include 3rd party processes:

/Library/LaunchDaemons

You may also need to remove from:

/Library/LaunchAgents

Just remove the files of the app you don't want to launch on startup and it shouldn't show up on launch anymore.

1
  • 1
    Regarding the OP's specific app, the culprit seems to be:/Library/LaunchAgents/com.cisco.anyconnect.gui.plist. I haven't tested this yet, because an update to the AnyConnect client was just recently released by Cisco and will be percolating downstream shortly.
    – RayInNoIL
    Commented Jan 24, 2020 at 15:28

You must log in to answer this question.