IT staff only
Runbook: Mac decommission for resale or surplus
Before touching the Mac
- Release the serial number in Apple School/Business Manager.
- Unmanage and delete the computer record in Jamf Pro.
- If Jamf Conditional Access was used: retire the Microsoft Entra ID / Intune device record.
- Confirm the user’s data is backed up or no longer needed.
On the Mac
sudo zsh remove-beyondtrust.sh: restores normal admin/sudo behaviorsudo zsh remove-jamf.sh: framework, apps, Jamf Connect, Conditional Access (details)- Restart (
sudo shutdown -r now): clears per-user agents still in memory sudo zsh verify.sh: expectNo / Nofor enrollment andnoneeverywhere else- Sign out of Apple ID / iCloud; disable Find My (clears Activation Lock).
- Erase:
- Apple silicon or T2: System Settings → General → Transfer or Reset → Erase All Content and Settings
- Intel without T2: Recovery → Disk Utility erase → Reinstall macOS
After erase
- At Setup Assistant, confirm no Remote Management screen appears. If it does, the ABM/ASM release has not propagated or was missed.