Stop Pulse Secure from Opening at Mac Startup

I have installed Pulse Secure VPN utility version 5.2.5, and it automatically opens at startup. Unfortunately, the application does not behave like any other, i.e. I can not disable it through:

System Preferences → Users & Groups → Login Items 

I did some research on the Internet, and I found that the file that is responsible for opening the launch:

 /Library/LaunchAgents/net.pulsesecure.pulsetray.plist 

If I delete a file, Pulse Secure does not open at startup, but every time I open it, it will not work properly (it will not connect to any VPN).

Does anyone know how to prevent it from opening at startup and make it work at the same time?

I attach the contents of the file if it helps:

 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>net.pulsesecure.pulsetray</string> <key>LimitLoadToSessionType</key> <array> <string>Aqua</string> </array> <key>ProgramArguments</key> <array> <string>/Applications/Pulse Secure.app/Contents/Plugins/JamUI/PulseTray.app/Contents/MacOS/PulseTray</string> </array> <key>KeepAlive</key> <true/> <key>Disabled</key> <false/> </dict> </plist> 
+6
source share
3 answers
  • delete /Library/LaunchAgents/net.pulsesecure.pulsetray.plist so that it doesn’t autoboot every time you start

Every time you need the Pulse Secure VPN Utility

  1. Show package contents in application bundle: Pulse Secure

  2. Go to /Applications/Pulse Secure.app/Contents/Plugins/JamUI

  3. Double click on PulseTray

Or from the terminal:

 open /Applications/Pulse\ Secure.app/Contents/Plugins/JamUI/PulseTray.app 

When finished, close PulseTray again.

+14
source

Here is the main idea of ​​the solution:

https://kb.pulsesecure.net/articles/Pulse_Secure_Article/KB26679

The system configuration switch is not installed on the Mac to prevent Pulse Secure from starting automatically.

So, we have to use Automator , create an application to run the following script at boot time:

 launchctl unload –w /Library/LaunchAgents/net.pulsesecure.pulsetray.plist 

OR (depends on another version of Pulse Secure, the plist file has a different name)

 launchctl unload –w /Library/LaunchAgents/net.juniper.pulsetray.plist 

Here's how to do it:

First , create an Automator app.

Screenshot for creating an Automater application

Save it as an application, say StopPulseSecure.app .

And then add this application to your login items:

 System Preferences → Users & Groups → Login Items 

Done!

+4
source

As shown on the page , enter terminal:

 launchctl unload /Library/LaunchAgents/net.juniper.pulsetray.plist 
0
source

Source: https://habr.com/ru/post/1015501/


All Articles