Posted on 10-01-2019 05:29 PM
We have 60 computers that were enrolled in JAMF via QuickAdd Packages.
I've set our DEP up and those devices are now "unassigned"
If I choose to check "Automatically Assign New Devices" to our PreStage Enrollment, will that re-enroll JAMF on all devices that are currently "Unassigned", with the given configuration in PreStage?
If so, are there any downsides to doing this? I would think as long as you mimic the things you've done separately, to your PreStage configuration, it would be seamless.
Posted on 10-01-2019 05:38 PM
@adamdressler No, machines won't run the PreStage until you force them to go through Setup Assistant again if they're already enrolled in Jamf Pro. "Automatically Assign New Devices" means that as new devices are added to your ABM/ASM account, and from there assigned to your Jamf Pro system, they will be added to your PreStage at that time.
Posted on 10-01-2019 05:56 PM
Great to hear! Thanks.
Posted on 12-16-2019 01:44 PM
How do you force a machine to go through setup assistant again?
Posted on 12-16-2019 01:57 PM
@nycnewman Usually that takes a wipe and reinstall of the OS to kick it in. Though I can't be 100% certain there isn't some other unapproved method to make it happen.
Posted on 12-16-2019 02:02 PM
You can run the "sudo profiles renew -type enrollment" command, that will re-trigger DEP enrollment
Posted on 12-16-2019 02:06 PM
I should add that if the image on the Mac is over a year old, you will have to delete the apsd.keychain file in /Library/Keychains and then restart the Mac. Then the command will work
Posted on 12-16-2019 02:06 PM
@nelsoni Does that work if the device wasn't originally enrolled or partially enrolled with DEP in the first place? If so, that would be good news, but I was under the impression that simply renews however the management profile came down in the first place, which, in the case of @dresslah's situation, was with a QuickAdd.pkg, not via DEP.
If it would work in this case to actually re-enroll them via a DEP method, then that would be a nice development.
Posted on 12-16-2019 02:09 PM
if the Macs are apart of DEP and assigned to a Prestage then they will enroll. Being a part of a quickadd may change the behavior but I have never attempted that. I have used the command on hundreds of Macs that were never apart of DEP until we sighned up and got our customer numbers added to our ASM portal. Once that was done the command just worked.
Posted on 12-16-2019 02:11 PM
you could remove the MDM profile in JAMF and then run the command if you are worried of interference
Posted on 12-16-2019 06:56 PM
@dresslah Once/if those devices get assigned to your pre-stage and you remove/re-enroll them through the profiles command they may re-run any policies you have set for new enrollments through your pre-stage. Also if you have a splashbuddy/depnotifiy config, that will kick off regardless of what's already installed
@mm2270 The' jamf deleteSetupDone' command should delete the setup file so on the next restart you're prompted with the initial user account device initialization process without deleting the user that's already set up on that device
Posted on 08-31-2021 04:29 AM
Hello, I am looking to create my first PreStage enrollment but already have most of the devices from ABM registered with Jamf so if I check "Automatically Assign New Devices" the devices which are present in BOTH ABM and Jamf will not be registered again right?
But what happens if a device exists in ABM but it's not present in Jamf? Say that we bought a device for a user, they did not register with Jamf but the machine is present in ABM. Once I enable the PreStage this machine will go through the enrollment process? What will happen with their data? Thank you