Wiping and Unmanaging Computers from Jamf Pro

The following workflow can be used to both wipe and unmanage a computer from Jamf Pro. The scope can be set to target individual computers or a group of computers.


A computer with Composer, running the same version of macOS as the target computers

Note: Target computers must be running macOS 10.13 or later to use this workflow.


  1. On a computer with Composer, download the latest available macOS Installer from the Mac App Store. It should download to the Applications folder.

  2. To package the macOS Installer, do the following:

    1. Open Composer and authenticate locally.

    2. Drag the macOS Installer from the Applications folder to the sidebar in Composer. The installer appears under the Packages heading.

    3. In the toolbar, click Build as PKG.

    4. Select a location to save the package, and then click Save.

  3. Upload the package to your distribution point using Jamf Admin, or the Jamf Pro web application if your principal distribution point is cloud-hosted.
    For more information on uploading packages, see the Managing Packages section of the Jamf Pro Administrator's Guide.

  4. Log in to Jamf Pro.

  5. Click Computers at the top of the page.

  6. Click Policies.

  7. Click New.

  8. To configure the General payload, do the following:

    1. Enter a name for the policy in the Display Name field.

    2. Under Trigger, select a policy trigger (e.g., Recurring Check-in).

    3. In the Execution Frequency pop-up menu, select an execution frequency (e.g., Once per computer).

  9. To configure the Packages payload, do the following:

    1. Click Packages in the sidebar.

    2. Click Configure.

    3. Locate the macOS Installer package created in step three and click Add.

  10. To configure the Files and Processes payload, do the following:

    1. Click Files and Processes in the sidebar.

    2. Enter a command in the Execute Command field similar to the following:

      "/Applications/Install macOS High Sierra.app/Contents/Resources/startosinstall" --eraseinstall --newvolumename "Macintosh HD" --agreetolicense &

      Note: You must replace the path to the startosinstall binary in the above command with the path of the package source created in step two.

  11. Click the Scope tab, and then configure the target computers or computer groups.

  12. Click Save.
    The target computers are wiped and reinstall macOS when they meet the conditions specified by the policy trigger configured in step eight.

  13. (Optional) To delete the device records, do one of the following:

    • To delete a single computer record from Jamf Pro:

      1. Click Computers at the top of the page.

      2. Perform a simple or advanced computer search, and then click on the target computer.

      3. Click the Management tab

      4. Click Delete.
        The computer inventory record is deleted from Jamf Pro.

    • To delete a group of computer records from Jamf Pro:

      1. Click Computers at the top of the page.

      2. Navigate to the target computer group by clicking either Smart Computer Groups or Static Computer Groups in the sidebar, and then selecting the target group.

      3. Click View.

      4. Click Action.

      5. Select Delete Computers and click Next.

      6. Click Delete Computers.
        The computer inventory records are deleted from Jamf Pro.

Copyright     Privacy Policy     Terms of Use     Security
© copyright 2002-2022 Jamf. All rights reserved.