Favicon

You are here: Home > Device Management > Apple > macOS > Troubleshooting > Trigger DEP Re-enrollment

Trigger DEP Enrollment on a Mac Already Set Up

Trigger Apple DEP re-Enrollment on a Mac already set up — bypass a factory reset using a Terminal command with Apple Business.

1 min read

TL;DR

You can trigger Apple DEP enrollment on an already set up Mac without a factory reset by adding it to Apple Business and running sudo profiles renew -type enrollment in Terminal.

When a Mac is turned on and goes through the initial setup before being added to Apple Business, it misses the DEP check-in that normally happens at first boot. In most cases, the standard fix is a factory reset — but if you need to avoid wiping the device, there is an alternative.

By adding the Mac to AB and running a single Terminal command, you can trigger DEP enrollment on a device that is already set up.

Warning

This method triggers MDM enrollment, but Smart Enrollment does not apply fully. Automations that run at first boot — such as automatic admin account creation — will not execute. Configure those settings manually after enrollment if needed.

1
Add the Mac to Apple Business

In Apple Business, add the device and assign it to Applivery as the MDM server. Make sure a DEP profile is assigned to the device in Applivery before proceeding.

If you need help with this, refer to DEP configuration in Applivery.

2
Run the enrollment command

On the Mac, open Terminal and run the following command:

sudo profiles renew -type enrollment

Enter the admin password when prompted. This triggers the DEP check-in and sends the MDM enrollment profile to the device.

3
Complete enrollment

A system prompt will appear asking the user to allow device management. Follow the on-screen steps to complete enrollment.

Once done, the device will appear under Devices in the Applivery Dashboard.

Key Takeaways

  • DEP enrollment can be triggered on an already set up Mac without a factory reset.
  • The process requires adding the Mac to Apple Business and assigning an MDM server.
  • A specific Terminal command (`sudo profiles renew -type enrollment`) initiates the DEP check-in.
  • Manual configuration of first-boot automations (like admin accounts) may be necessary.
  • User interaction is required to complete the MDM enrollment profile installation.

You can trigger DEP enrollment on an already set-up Mac without wiping it. Add the Mac to Apple Business, assign Applivery as MDM, and run a specific Terminal command.

On the Mac, open Terminal and run `sudo profiles renew -type enrollment`. You'll be prompted for the admin password to proceed.

Add the Mac to Apple Business and assign Applivery as its MDM server. Crucially, ensure a DEP profile is already assigned to the device in Applivery.

No, Smart Enrollment does not fully apply. Automations like automatic admin account creation will not execute and require manual configuration after enrollment.

A system prompt will appear asking to allow device management. Follow the on-screen steps to complete enrollment, and the device will then show in the Applivery Dashboard.

Yes, this method allows you to trigger DEP enrollment on an already set-up Mac without wiping it. You'll use a Terminal command after configuring it in Apple Business.

Last updated: May 12, 2026