Answers

How do I erase a Mac mini and set it up again without walking over?

Erasing a Mac is one click. Erase All Content and Settings restarts the Mac into Setup Assistant, and there it can’t be reached over the network again.

Leave a MacBook running RigValet plugged into the mini. After the erase, RigValet walks Setup Assistant again and turns Screen Sharing and Remote Login back on.

Why an erase strands a headless Mac

Erase All Content and Settings needs macOS Monterey or later on a Mac with Apple silicon or a T2 chip. When it finishes, Apple says the Mac restarts and “a setup assistant then guides you through the setup process, as if you’re setting up your Mac for the first time.”

That is the right result for a Mac you’re selling. For a Mac mini in a closet or a rack, it means the network services you used to erase it are gone. Someone has to bring a keyboard.

The other ways, and where each stops

PathNeedsStill stops at
Erase All Content and SettingsAn admin password on the running MacSetup Assistant
Restore with Apple ConfiguratorA second Mac, a cable, and hands on the power buttonSetup Assistant
MDM erase with Automated Device EnrollmentApple Business Manager and an MDMThe Setup Assistant screens your MDM can’t skip
RigValetA MacBook and a cable left plugged inNothing. It walks setup again.

The loop

  1. Erase the Mac mini from System Settings, or from a Screen Sharing session.
  2. It restarts into Setup Assistant.
  3. RigValet, still connected by the cable, walks Setup Assistant and creates the account.
  4. Screen Sharing and Remote Login come back on. The mini is reachable again.

We run this loop on our own Mac minis every day. It suits test labs that need a clean Mac, anyone testing first-run flows, and a mini you’re resetting before handing it on.

Limits

  • One MacBook drives one Mac mini at a time.
  • If Activation Lock is on, activation still needs the owner’s Apple Account.
  • The MacBook needs SIP turned off. Why, and what it means.

Sources

Related

One-time purchaseRequires turning off SIP. By purchasing you agree to the Terms.