Skip to main content

Uninstalling Jamf Connect via Script

Updated over a week ago

Description

This article provides steps for uninstalling Jamf Connect via Script.

Note:

Uninstalling Jamf Connect using a Script

  1. 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

  2. Create a new policy, name the policy something to identify it as a Jamf Connect uninstall policy.

  3. 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.

  4. Under the Scripts payload, chose the script we created in step 1.

  5. Under the Scope tab, scope to a test computer. Click Save.

  6. 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.

  7. At minimum, customize the following fields:

    1. Self Service Display Name

    2. Button Name - "Uninstall"

  8. Save the Save the policy and begin testing.

Did this answer your question?