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 in the following link to the scripts section of Jamf Pro under Settings > Computer Management > Scripts > New https://github.com/jamf/JamfConnectUninstall/blob/master/JamfConnectUninstall.sh
Create a new policy, 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.
This policy can be used to uninstall Jamf Connect during start-up if a device cannot login. To do so, edit the policy to remove the install via Self Service and change the trigger to Start-Up.
Under the Scripts payload, chose the script we created in step 1.
Under the Scope tab, scope to a test computer. Click Save.
If not using Self Service proceed to testing. If you want to deploy using Self Service, edit the policy and under the Self Service tab check the Make the policy available in Self Service checkbox.
At minimum, customize the following fields:
Self Service Display Name
Button Name - "Uninstall"
Save the Save the policy and begin testing.