This repo provides a basic template for testing a DEP workflow in a virtual machine.
Victor Vrantchan and Owen Pragel. See: https://micromdm.io/blog/troubleshoot-dep/
- VMWare Fusion
- Autodmg
- vfuse
- DEP/MDM
- a serial number of a computer that's in your DEP and assigned to an MDM
- Download a macOS installer (probably 10.13.3) from the Appstore
- Build a never-booted macOS dmg with Autodmg
- Run
vfuse -i <path/to/dmg> -t vm_template.json -s <serial number> --snapshot
- When you are ready to start from the beginning, revert to the first snapshot (saved by the
--snapshot
flag above).- Note: If you are using JAMF as your mdm, delete the computer object in JAMF before attempting to re-enroll.
- Profit!