Description
If the Jamf Connect menu bar launch agent is installed, it will reopen the Jamf Connect app anytime it is closed. If an end user needs to quit the app without having it relaunch we can add a key to the launch agent plist following the steps below to modify how many times the launch agent will launch.
Quitting the Menu Bar app
On the device of the user that needs the change, click shift/enter + Command + G to open 'Go to folder.'
Enter: /Library/LaunchAgents/
Open the Jamf Connect Launch Agent (com.jamf.connect.plist) and add the key below.
<key>LaunchOnlyOnce</key>
<true/>Use the command below to set the ownership of the plist file back to root:wheel:
sudo chown root:wheel /path/to/com.jamf.connect.plist
Move the .plist to the /Library/LaunchAgents folder, and reload the app:
launchctl unload /Library/LaunchAgents/com.jamf.connect.plist launchctl load /Library/LaunchAgents/com.jamf.connect.plist