Skip to content

Latest commit

 

History

History
72 lines (41 loc) · 4.95 KB

README.md

File metadata and controls

72 lines (41 loc) · 4.95 KB

ReEnroller

GitHub release (latest by date) GitHub all releases GitHub latest release GitHub issues GitHub closed issues GitHub pull requests GitHub closed pull requests

Download: ReEnroller

Easily migrate a computer from one Jamf Pro server to another.

alt text

Use ReEnroller to build a package to take a macOS device enrolled in one Jamf Pro server and enroll it into another.

  • Ability to add (and then remove) a wifi profile to the package. This can help maintain a WiFi connection while migrating.
  • Machine attempts to fail back to original server if enrollment in the new server fails.
  • Specify the number of attempts and interval between attempts for enrolling in the new server.
  • Can also be used for initial enrollments.
  • Enroll into a specific site.
  • Can automatically create a policy to verify enrollment in the new server.
  • Select a policy to run after a successful enrollment.

Important:

  • apiMDM_removal script requires an API client to run.
  • When deploying to machines running macOS 13+ be sure to deploy ReEnrollerNotifications.mobileconfig before the package.
  • After enrolling in the new server the user must approve the MDM profile for macOS 10.13 and above.
  • Big Sur and later that fail back to the source server will not automatically (re)install the MDM profile.

* Be sure to view the help (question mark in the lower right) for detailed usage instructions.

Thanks @fauxserve for coming up with the idea and initial bash version.

History

  • 2024-10-05: Fix issue calling automated device enrollment.

  • 2024-07-27: Fix authentication issue. Update apiMDM_removal script to use an API client and authenticate MDM removal request with a bearer token.

  • 2023-12-10: Fix authentication issue with Jamf Pro 11.

  • 2023-04-20: Remove check for SSL verification. Require a trusted server certificate. Better notification if package install fails.

  • 2022-11-07: Add ability to suppress notifications about a background process ReEnroller installs.

  • 2022-02-25: Change default options for management account to not create and not hide (mdm enrollment will handle the management account). Support bearer token authentication for API access in Jamf Pro 10.35 and later.

  • 2021-09-08: Fixed issue where re-enrollment would not complete.

  • 2021-09-05: Fixed issue where an attempt to backup/restore existing configuration profiles was done and shouldn't be.

  • 2021-07-21: Fixed issue with call automated device enrollment setting was ignored.

  • 2021-02-17: Fixed issue that related to migrations from Jamf School.

  • 2021-02-14: Code update/cleanup. Removed option to push the package to a client from the App. Added ability to mark the device as migrated on the source server by writing to either the Asset Tag, User Name, Phone, Position, or Room attribute. If the migration fails the the device successfully fails back to the source server the attribute will indicate the failure. Added the ability to control when the MDM profile is removed, if at all, during the re-enrollment process.

  • 2020-11-19: Brought create seperate packages button back into view, minor logging additions.

  • 2020-10-05: Added ability to migrate from Jamf School to Jamf Pro, ability to skip the health check that verifies the server is available, ability to call device enrollment (since installing profiles with the profiles command no longer works with Big Sur), modified apiMDM_ removal script for Big Sur. Recon now runs with the endUsername flag.

  • 20-07-27: Fixed device signature error that would occur when calling the remove mdm profile policy.

  • 20-06-30: Cleaned up logging and added checks to see if backup files exist before attempting to delete them.

  • 20-06-05: Added ability to use unsigned mobileconfig profiles (app no longer crashes). Jamf Pro URL and user are now saved between launches. Added ability to enroll using an unsecure (http) URL, provided the server is configured to allow this.

  • 20-03-20: Fixed issue where the sites button would not populate.

  • 20-02-14: Additional logging, including the version of the app. UI updates to include removal of xml tags in alerts. Modified process of downloading the jamf binary from the destination server.

  • 19-11-14: Fixed issue that prevented the re-enrollment process from working if the ReEnroller app was on the machine prior to running the package.