Removing iMac from MDM List

After 5 years of use, I just noticed that my iMac is still “owned” by my previous employer. I’m trying to start using an external SSD as my startup drive and I got the “enroll in remote management prompt” when I started setup.


I’ve seen community discussions that all point to the original company needing to remove my iMac’s serial number from their/Apple’s MDM service list in order to transfer ownership to me.


Here are my questions:


1: Is there an Apple Support article detailing how the company would do this? (The company has gone off the rails since I left and I want to send along instructions to make things easier for whomever’s doing IT. I just can’t seem to find an article that describes what I imagine needs to happen.)


2: Will anything happen to the data on my computer? If it will require wiping the HD to transfer ownership to myself, can I then restore it from Time Machine?


3: For now, is there any way I can ensure they can’t remotely access my data?


4: Once they say they’ve completed this process, how do I verify that they no longer have access?


To be clear, I was told to keep the computer when I was laid off. I’m quite embarrassed I had no idea they still had remote access for all this time.


Thank you for your help!!

iMac 27″, macOS 15.3

Posted on Mar 11, 2025 2:54 PM

Reply
4 replies
Sort By: 

Mar 12, 2025 11:56 AM in response to Sha-Sha-Shaw

Let me see if I can shed some light on this.


To start, you are experiencing retroactive automated device enrollment (enforcement). It is possible the original owner (your old company) released the asset from Apple Business Manager (ABM). However, if your device was never erased to trigger a call to Apple Activation Server, you are now seeing the retroactive enforcement. Since you are describing the prompt appears after you installed an OS on an external drive, then I suspect they DID NOT release the device. Please note, to fully reset the device, an erase will be required. I will get to that. I also suspect the boot drive is not on Sonoma yet.


Ok, here is the nickel tour. Apple's device management framework has three major components. There is ABM (or ASM (Apple School Manager) if you are an education customer), an MDM (the platform that manages the devices), and Apple's Activation Servers. We have no control over the activation servers but just understand that all modern Apple hardware MUST contact the Activation Server on initial setup. The MDM is what is used to perform management of the device. This includes app installation, patch management, configuration profiles, etc. ABM/ASM establishes chain of custody (ownership of hard and soft assets). Chain of custody appears to be your current problem. The device you have is linked in chain of custody to your prior employer. They legally own the device in the eyes of Apple. Only the prior employer can break that link. The process is relatively simple, but the prior employer is the only entity that can do this.


1: Log into ABM

2: Go to the Devices tab

3: Search for the serial number of the device in question

4: Release the device


Releasing the device breaks the chain of custody, telling the Apple Activation Servers that the device is no longer legally bound to an organization. In a gross simplification, the device will now follow a "retail" activation. Ah, but if your device hit Apple's activation server WHILE the device was still a link in the chain or custody, the activation record is now cached to the device. The only way to reset this association is by erasing the device and reinstalling the operating system.


Now to your specific questions:


1: Start here. The action needed is a device Release. It takes seconds and it removes the device from chain of custody.


2: Back up your data immediately to ensure you are not locked out. Retroactive enrollment will allow an 8 hour deferral and then it is mandatory. If the device is still in ABM but not associated to an MDM, you will be stuck in a loop and you will not get your data. If the device is in ABM AND associated to an MDM, then your device will enroll into the business' MDM.


3: If you allow the device to enroll, the company is the device's admin. They can do a lot. But they are not god. Exact device location is not possible without issuing a Lock command. However, your IP address is recorded so a generalized location can be derived. Also, camera and microphone cannot be remotely triggered. Ideally, don't let the device enroll.


4: You can query your chain of custody with the following command in Terminal (you must have an admin account on the Mac as you will need to enter your password to execute the command):


sudo profiles show -type enrollment


You should get your chain of custody record as a result, showing association to your prior company. Once they release the device, the same command should return no results and the device will no longer be linked to a company. But remember, you should erase the device after it is released to clear the activation cache. Back up your data.


As for your final point, it is possible that they DON'T have your device under management. This is not entirely their fault. Retroactive MDM enrollment was only released with Sonoma. Many Apple Admins would simply issue an unmanage from the MDM and call it a day. Since Sonoma, that is no longer enough. Retired, sold, decommissioned, or gifts company assets need to be released from ABM and then erased to allow for a fresh chat with the activation server. To check, go to System Settings and search for Profiles (click on Install, view, or remove configuration profiles). Are there any profiles in the list? If no, then the device was unmanaged (performed by the MDM) but not released (performed in ABM).


Once the device is released you should consider a clean install of the device to ensure the cached activation record is reset. The device will be free and clear of the prior company.


Hope this was helpful.


Reply

Mar 13, 2025 10:50 AM in response to Sha-Sha-Shaw

Yep, the release is what you need. As for your follow up questions:


1.) Once released and unmanaged, will restoring my data from a Time Machine backup restore the activation cache too? Should I manually back things up instead?


I will be honest, I am not 100% sure of this. However, I am 98% sure that the answer is no. Time Machine is user data, not device data. And activation will occur before the prompt to restore from Time Machine. A warning however. Time Machine can and will restore an MDMs agent if it installs one, and can also restore the LaunchAgent and LaunchDaemon associated to the MDM. You can just toss them after restore. Just a word of caution.



2.) "Ideally, don't let the device enroll." I did let the new external drive setup enroll in device management before I saw your message (see more below), but not before I backed it up with Time Machine. Should I try to restore the pre-enrollment version to the new external drive setup from Time Machine?


I would suggest waiting for them to release the device. That is probably the best path. If they issued the unmanage, that is great. But the device is still in chain of custody to that business and the device may seek to be enrolled again if the device is still assigned to the pre-stage.


3.) The old boot drive is seemingly unmanaged (no Device Management profiles) but still unreleased from the company according to Terminal. Is it at risk of being locked up?


If the boot drive is on Sonoma, then it is possible that retroactive enrollment can occur. We were never able to figure out exactly what triggers it, but eventually the machine will prompt. We suspect it is after an "appreciable" change to the device, but we've had machines in the lab and one will prompt while another will take weeks or only prompt after an update. Still a gray area. But, if they are able to release the asset from ABM, you will be in the clear after an erase install.


Good luck with the Release. It seems they are responsive so with luck you will be in the clear soon.

Reply

Mar 12, 2025 1:59 PM in response to Strontium90

This is extremely helpful! Thank you so much!


Just a few points of clarification:


1.) Once released and unmanaged, will restoring my data from a Time Machine backup restore the activation cache too? Should I manually back things up instead?


2.) "Ideally, don't let the device enroll." I did let the new external drive setup enroll in device management before I saw your message (see more below), but not before I backed it up with Time Machine. Should I try to restore the pre-enrollment version to the new external drive setup from Time Machine?


3.) The old boot drive is seemingly unmanaged (no Device Management profiles) but still unreleased from the company according to Terminal. Is it at risk of being locked up?


Okay, now for my musings on some things you've presented to me, if you're curious:


Yes, indeed the boot HD within the iMac is running Sequoia while the new external drive is running Sonoma. I'd like to think that I erased it and started with a clean OS, but it's hard to remember. I was uh... pretty distracted by *things* when I was laid off in 2020.


I was chugging along without enrolling just fine on the new external drive until I needed to restart for an unrelated issue. Once I did, I was locked into that enrollment loop and I went ahead with it. Immediately Mosyle popped up and started installing applications and things. I interrupted it and put it in the trash, but Device Management now shows ten or so profiles and says it's managed by my previous employer.


On the old HD, Device Management shows no profiles installed and doesn't say it's managed. Your Terminal query does show my old employer's information, however. So it does seem unmanaged but not released.


Again, thank you. You explained everything in a way I could actually understand and I feel like I can interact with their IT team from a knowledgeable position. Lets hope they don't try to act like they didn't give this thing to me 🤞.

Reply

Removing iMac from MDM List

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.