/depnotify_launchd

A LaunchDaemon kickoff solution for DEPNotify

Primary LanguageShellMIT LicenseMIT

FYI

I am no longer a mac/jamf administrator at my company, as such this project is essentially complete and will not be updated unless something breaks.

DEPNotify via LaunchDaemon

I tried Using the Jamf DEPNotify-starter script but ran into a myriad of problems. I wasn't sure if the problem was Jamf, DEPNotify, the script or our workflow. I spent about 20 hours debugging the cause with no success. Sometimes the entire process would crash, other times the GUI for DEPNotify would freeze but the script would continue execution in the background.

Researching for solutions led me to Updating Our DEPNotify Process With a LaunchDaemon, where I used some his code along with the Jamf script to build a custom workflow. Since our technicians are imaging the devices before sending them to users it is not as imperative to have a fully functioning solution, however my goal with this was to allow them to get as close as possible to a no touch deployment and eventually allow the end users to complete this process, giving the technicians more time to do what matters.

This is not a catch-all solution. It has been tailored to our current workflow, which is subject to change. Please consider looking at the jamf script if you need a more generic solution.

Package Hierarchy Overview

Overview

Workflow

This is subject to change per our new jamf administrator

In our prestage we skip all options except location services and account creation

  1. Technician goes through setup assistant as usual
  2. Creates an account for the user
  3. Mac will auto login to the desktop
  4. Wait
  5. DEPNotify will start within a minute
  6. Technician enters Computer name, assignee AD name, building and department
  7. Device will will self image and restart when finished
  8. Technicians can install additional software in self service or deploy the device

TODO

  • N/A - This project is in maintenance mode

Credits

Thanks to jmahlman for his article on how he created this.

Thanks to Jamf Professional Services for their DEP Script.