Description
This article provides steps for uninstalling Jamf Connect via Script.
Note:
Jamf Connect can also be uninstalled by using the uninstaller package provided in the Jamf Connect DMG.
See: https://learn.jamf.com/bundle/jamf-connect-documentation-current/page/Uninstalling_Jamf_Connect.html
The configuration profiles for Jamf Connect can remain on the computer(s) for ease of redeployment but if we don't intend on ever reinstalling Jamf Connect, we might as well remove the configuration profiles from the computer(s) as well.
Uninstalling Jamf Connect using a Script
Copy the script from Jamf's Github to the scripts section of Jamf Pro under Settings > Computer Management > Scripts > New.
Create a new policy in Jamf Pro:
Name the policy something to identify it as a Jamf Connect uninstall policy.
For the trigger/distribution method:
If we are using Self Service: leave the trigger empty and set the policy to Once per Computer
If distributing automatically, use the recurring check-in trigger and set to Once per Computer.
Under the Scripts payload, chose the script we created in step 1.
(Optional) If you want to deploy using Self Service, on the Self Service tab check the box for Make the policy available in Self Service.
At minimum, customize the following fields:
Self Service Display Name
Button Name - "Uninstall"
Under the Scope tab, scope to a test computer.
Click Save.
