How to wipe Mac if it's accidentally deleted out of JAMF with random Recovery Key

New Contributor III

As per the title - if we have a random Recovery Key set and someone accidentally deletes a laptop out of JAMF (and thus removing the option to wipe it and to see the recovery key), how do we wipe and re-build the machine?

Without knowing the recovery key we can't boot into recovery options and wipe the disk.


Valued Contributor

Boot to internet recovery.

How? When we hold down the power button on an M1 mac and open startup options it asks for a recovery key, which we don't have.

Esteemed Contributor II

That should be the Recovery Assistant screen and there will be a menu in the menu bar named "Recovery Assistant" - click it and you should see an item to erase the Mac.

There's not - there's a window that pops up requesting the recovery key with no other options aside from enter the key, shutdown or reboot.

Top Menu bar. There is only one selectable item there, and there you'll find "erase this Mac" as an option.

Thanks but there's nothing in the menu bar..

Click on Recovery Assistant and you will see 3 options, Erase Mac is the 3rd option. 

Esteemed Contributor II

@user-DeoLuXvBmb If you can boot into Recovery Mode and you're on the Recovery Assistant screen you do have an option to erase the Mac if you don't have a user password or recovery key (it's an item in the Recovery Assistant menu item).

But we can't boot into Recovery mode because we don't have the key..

Thanks, I think this is our only option.

Contributor III

Do you mean you are stuck at the activation screen as it's locked to an apple account!?

I had this recently, without the bypass key you are left to contact the account holder for the password. If not that, Apple support to remove the activation lock with appropriate proof or purchase documentation.

On a side note, it was the first time I have ever had a bypass code work ever. Macbook 2020 T2 chip. Nice.

Contributor II

I’ve run into a couple of stances where the personal recovery key doesn’t work… in that instance I go to the top left and there’s an extra option in the drop down for ‘erase’. Didn’t use to be there.


on M1, there’s no network recovery, just local recovery that gets updated when the device updates to the next OS:

New Contributor III

Has anyone done this with an M2?


Esteemed Contributor II

@dpwlg Yes, using Apple Configurator 2 to Restore an .ipsw file works for M2 series Macs as well.

New Contributor III

Did you ever find a solution. This is same issue that I am having and we are stuck on this screen.



New Contributor III

Found a solution that worked for me.

I downloaded this app

followed the instructions to put the machine into DFU mode. Ran the app above forced DFU mode and was then able to reset the device using Apple Configurator.