Stop Pulse Secure from opening at startup

I have installed Juniper's Pulse Secure VPN utility and it automatically opens at startup. Unfortunately, the app doesn't behave like any other, i.e., I cannot disable it through:

System Preferences → Users & Groups → Login Items

I've done some research on the Internet and I found that the file that is responsible for the startup opening is:

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

If I delete the file, Pulse Secure doesn't open at startup, but whenever I open it, it won't work as expected (won't 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 content of the file if it's of some aid:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<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 </array> <key>KeepAlive</key> <true/> <key>Disabled</key> <false/>
</dict>
</plist>

3 Answers

Using Automater, create an app to run the following script during boot:

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

This prevents Pulse from launching at boot.

Save this .app file, and add it to your Login Items

1

I copied PulseTray.app into Applications so I could run it from Spotlight:

sudo cp -r /Applications/Pulse\ /Applications/

It appears with a terminal showing output, but I just hide this in the dock and forget about it.

Change the bold <false/> to <true/>.  I tested it just now on my MacBook macOS Sierra and it stopped the auto launch at bootup.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "">
<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 </array> <key>KeepAlive</key> <true/> <key>Disabled</key> **<false/>**
</dict>
</plist>
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like