© JAMF Software, LLCIf You Build it, They Will Come 1:30 - 2:15 PMUP NEXT
View Slide
© JAMF Software, LLCMark LamontProfessional Services EngineerJigsaw24Jack HollisterApple Enterprise Solutions ArchitectJigsaw24
© JAMF Software, LLCIf You Build it, They Will Come!Presentation agenda:OverviewAutomated Device Enrolment buildsAutomated NON Device Enrollment buildsPolicy driven reprovisioning
© JAMF Software, LLCAre you an organisation with…Devices of various OS levelsSome assigned in ABM/ASM and JamfSome, probably lots, not….Need a common build and rebuild methodThen this talk is for you..
© JAMF Software, LLCFirst UpOut of the box DEP build….
© JAMF Software, LLCAutomated Device Enrolment BuildHow to setup automated provisioning of aDEP ready MacIdeal for use with Jamf Connect Login, NoMAD or ADBindingNo end user account created during the build
© JAMF Software, LLCAutomated Device EnrolmentFirstly a custom package is needed….
© JAMF Software, LLCAutomated DE Build - PackageRequired componentsNoMAD LoginNoMAD settings profileBranding graphics
© JAMF Software, LLCAutomated DE Build - PackagePackage Post Install Script
© JAMF Software, LLCEnrollment PrestageA prestage is needed….
© JAMF Software, LLCMax image dimensionsAutomated DE Build - PrestageAdd the package toEnrollment packages
© JAMF Software, LLCMax image dimensionsAutomated DE Build - PrestageSet local Useraccount creationtoSkip Account Creation
© JAMF Software, LLCPost Enrollment PolicyA build policy is needed….
© JAMF Software, LLCAutomated DE Build - PolicyOne policy required torun the buildrun on Enrollment Completeongoing frequencyRuns the build script
© JAMF Software, LLCAutomated DE Build - ScriptWhat does it do?waits until any required input ismadeRuns policies using customtriggersDisplays status updatesSets login window type
© JAMF Software, LLCAutomated DE Build - Master ScriptLet’s break it down
© JAMF Software, LLCAutomated DE Build - ScriptWait until user input completed
© JAMF Software, LLCAutomated DE Build - ScriptWrite to Notify screen
© JAMF Software, LLCAutomated DE Build - ScriptInstall an application
© JAMF Software, LLCAutomated DE Build - ScriptReset Login window
© JAMF Software, LLCAutomated DE Build - Demo Time
© JAMF Software, LLCPart 2…. Non Device Enrollment BuildTeaching (your) grandmotherto suck eggs is an Englishlanguage saying that refers to aperson giving advice to anotherperson in a subject with which theother person is already familiar(and probably more so than thefirst person)
© JAMF Software, LLCNON DE Build - UsesWhat’s this used for?For devices NOT DEP capable but you…Want a common OS levelWant to erase with a common methodWant to build with same build as the DEP devices
© JAMF Software, LLCNON DE Build - OverviewStages:1. Wipe and install clean macOS2. Install extra workflow packages3. Enroll in Jamf4. Apply buildIt’s OK, it’s mostly automated!
© JAMF Software, LLCLet’s get startedBack to basics…..
© JAMF Software, LLCNON DE Build - Your starter for 10How do we get this process started?Mac Deploy Stickhttps://twocanoes.com/products/mac/mac-deploy-stick/
© JAMF Software, LLCThe ExtrasA couple of packages…..
© JAMF Software, LLCNON DE Build - Package #1Components:NoMAD LoginNoMAD settings profileQuickAdd.pkgControl script LaunchDaemon for script
© JAMF Software, LLCNON DE Build - Package #1Post install scriptLaunchDaemon has to be loaded during package installPost install script does this
© JAMF Software, LLCNON DE Build - Package #1QuickAdd PackageManagement user different to the DEP userUsed in Smart Group later
© JAMF Software, LLCNON DE Build - Package #2GraphicsCommon graphics package
© JAMF Software, LLCThe ExtrasThe control script…..
© JAMF Software, LLCNON DE Build - Control ScriptCheck _mbsetupuser is active
© JAMF Software, LLCNON DE Build - Control ScriptSetup NoMAD
© JAMF Software, LLCNON DE Build - Control ScriptCheck Jamf contactable
© JAMF Software, LLCNON DE Build - Control ScriptSwitch Login Window to NoMAD LoginCreate .AppleSetupDoneKill loginwindow
© JAMF Software, LLCNON DE Build - Control ScriptInstall the QuickAdd packageEnrolls device in Jamf Sends enrollment triggerStarts the build process
© JAMF Software, LLCUser Logon post buildIt’s built, now what happens?User logs in using:Jamf ConnectNoMADAD Bound
© JAMF Software, LLCMDM Profile ApprovalMDM Profile needs approvingFull MDM functionality not available without this
© JAMF Software, LLCMDM Profile ApprovalSo how can we force approval?Can’t force approval but…Can guideRepeatedly until they give up…
© JAMF Software, LLCUAMDM Smart GroupSmart Group to scope approve MDM policyUser Approved MDM not YesManaged by non-DEP management user
© JAMF Software, LLCUAMDM PolicyApprove MDM PolicyScoped to the Smart GroupRuns at login and checkin
© JAMF Software, LLCUAMDM ScriptWhat does the script do?Checks if the MDM profile is approvedRuns the user facing approval screens
© JAMF Software, LLCUAMDM ScriptCheck MDM Profile approved
© JAMF Software, LLCUAMDM ScriptRun the approval processIf approved - do nothingIf not - Start user process
© JAMF Software, LLCUAMDM ScriptThe processLaunch Jamf HelperAlternatively use DEP Notify Open Profiles paneApprove!
© JAMF Software, LLCNon DE Build - Finally its Demo time
© JAMF Software, LLCPart 3…… Rinse and Repeat
© JAMF Software, LLCThat was amazing…What now?Now the devices are in JamfDeploy policy driven erase and rebuildSelf Service or remote execution policy Conditionally deploy the NON DEP workflow packagesAutomatically switch between Non DEP and DEP!50
© JAMF Software, LLCPolicy Driven Device ReprovisioningWhat’s required?Graham Pugh’s Erase-install scripthttps://github.com/grahampugh/erase-installA couple of Extension Attributesand of course smart groups and policies!
© JAMF Software, LLCErase-Install scriptWhat does it do?Downloads the appropriate OS install packageCan be locked to a specific version if requiredWill perform the erase and installDisplays user messaging when startingIt has other functionality but not talking about them today
© JAMF Software, LLCRequired Extension AttributesTwo extension attributes required….
© JAMF Software, LLCExtension Attribute #1Installer valid EATo record if OS installer is:1. Downloaded2. Valid versionEqual to or higher than installed OS version
© JAMF Software, LLCExtension Attribute #2Is the device DEP capable?EA that records if device has DEP record in AppleProfiles show -type enrollment
© JAMF Software, LLCRequired PackageOne package required….
© JAMF Software, LLCPackage RequiredDeploy Extras packageNeed to deploy the non-DEP packagesDeployed as a single package
© JAMF Software, LLCRequired Smart GroupsFour Smart Groups required….
© JAMF Software, LLCSmart Group #1Installer download requiredOS > 10.13.4Add APFS requirement if HFS devices in estateInstaller not downloaded or not valid
© JAMF Software, LLCSmart Group #2Non DEP Extra packages requiredHave valid OS installerNot DEP capable
© JAMF Software, LLCSmart Group #3Erase Ready GroupsTwo separate groups for erase readyOne for DEP devicesOne for Non DEP devices
© JAMF Software, LLCSmart Group #4One last group….Non-DEP to DEP
© JAMF Software, LLCRequired PoliciesFour policies are required….
© JAMF Software, LLCPolicy #1OS Installer downloadDownloads the OS installerOverwrites existingScoped to download requiredVersion options setRuns inventory when complete
© JAMF Software, LLCPolicy #2Deploy Extras packageDeploy the extras packagesScoped to extras required smart group
© JAMF Software, LLCPolicy #3Remove Extras packageWhen devices added to DEPDelete the extras packageBuild method will now be DEP
© JAMF Software, LLCPolicy #3Remove Extras packageRemoves the packagesRemoves Jamf receipt
© JAMF Software, LLCPolicy #4The big one!Erase and installCan be Self ServiceCan be force deployedCan be event triggerScoped to the Erase ready groups
© JAMF Software, LLCWrap upNearly there ….
© JAMF Software, LLCProcess Flow Diagram
© JAMF Software, LLCBefore you ask..Does this work with 10.15?YES!
© JAMF Software, LLCLive usesHas this been deployed?Ark schools trust30 + school locationsFew new DEP MacsSeveral hundred non DEP MacsDevices from 2012 and up
© JAMF Software, LLCAnd finally some links1. Neil Martin's MacADUK 2019 Presentation2. twocanoes.com mac-deploy-stick3. Graham Pugh's erase-install4. montysmacmusings blog
© JAMF Software, LLCThank you for listening!Give us feedback bycompleting the 2-questionsession survey in the JNUC2019 app.UP NEXTYour Internal Beta Test Program2:45 PM