User migration with DEPNotify

charlesj
New Contributor

I have some new machines coming in for users and wondering best approach to get user data from the old machines.

Using DEP and a prestage the user creates their accounts and wondering is a migration assistant restore post DEPnotify enrollment would mess up the Drive Ownership and secure tokens of these users?

2 REPLIES 2

bigben54
New Contributor III

I can confirm Migration Assistant breaks things. I.e. if the user receives a DEP Mac, creates the first account on the machine with the same username as the old one, and then hooks up the old one and migrates... the user is no longer managed (and i think something else broke but has been a minute). The only way to fix this was removing the profile and reenrolling, which on recent Macs also means walking the user through disabling SIP, running the enrollment command, and turning SIP back on. http://rachelviniar.com/non-removable-mdm/

 

As for alternatives, there is https://www.alectrona.com/migrator which is a paid product, but they also had a preso at JNUC and have an older version of the app on their github. It's a fairly straightforward script that uses DEPNotify as the frontend. I've been backwards engineering something like it, but don't have working version to share.

 

https://reg.jamf.com/flow/jamf/jnuc2021/virtualhome/page/sessioncatalog/session/1618499101515001yhYP

 

https://github.com/alectrona/migrator

 

Interested to hear what others are doing

bigben54
New Contributor III