QuickAdd.pkg fails on one specific computer

jonlju
Contributor

Hi all,

I have a strange problem. We have a Mac that was DEPed, but due to time constraints they set up the Mac anyway using Migration Assistant, naturally I want to enroll this Mac now (though I can't put it through our standard DEP procedure as that would erase the users files etc.). However when using self enrollment, the QuickAdd.pkg installer fails as the Mac says the package is damaged. I've tried using self enrollment on another Mac and it works just fine there.

Any hints as to what could be going on?

1 ACCEPTED SOLUTION

remyb
Contributor

You could in theory just re-run the setup assistant, this won't solve your quickadd problem but it will re-enroll the machine through DEP.

  • reboot the mac into recovery mode
  • open a terminal and run:
    rm /<DISKNAME>/var/db/.AppleSetupDone
    rm -rf /<DISKNAME>/var/db/ConfigurationProfiles
  • reboot

You will now be presented with the default setup assistant, where you are required to create a new account, you can delete this when the process is complete. If the machine is connected to the internet, it will be re-enrolled through DEP.

View solution in original post

2 REPLIES 2

ThijsX
Valued Contributor
Valued Contributor

Did you already tried to first remove the specific device from your JSS?

remyb
Contributor

You could in theory just re-run the setup assistant, this won't solve your quickadd problem but it will re-enroll the machine through DEP.

  • reboot the mac into recovery mode
  • open a terminal and run:
    rm /<DISKNAME>/var/db/.AppleSetupDone
    rm -rf /<DISKNAME>/var/db/ConfigurationProfiles
  • reboot

You will now be presented with the default setup assistant, where you are required to create a new account, you can delete this when the process is complete. If the machine is connected to the internet, it will be re-enrolled through DEP.