sodcalculator

10 Tech How-To

Fix Profiles MDM Wants to Make Changes on MacBook

Guide 10-57090 · Updated · Step by step

This guide walks you through the causes and fixes for the recurring “Profiles MDM wants to make changes” prompt on macOS. This usually appears when a Mobile Device Management (MDM) profile is installed, partially removed, or stuck in a pending state. You’ll learn how to inspect the profile, remove it properly, and, when necessary, erase the Mac to clear a stubborn enrollment.

What You’ll Need

  • Administrator access to the MacBook (an admin username and password).
  • If the Mac is company-owned, the IT department’s permission and the removal credentials they issued.
  • For the full-erase fix: a backup of important files (Time Machine or cloud backup) and a stable internet connection.

Step-by-Step

1. Check What the Profile Actually Is

  1. Open System Settings (or System Preferences on older macOS) from the Apple menu.
  2. Click General then Device Management (on macOS Ventura and later) or Profiles (on Monterey and earlier).
  3. Look for any profile listed. If it says MDM or shows your organization’s name, click it and read the description. Note whether it says “Enrolled” or “Pending.”
  4. If the profile is not there but the prompt still appears, it means the enrollment record is partially left behind in the system’s configuration database.

2. Try Removing the Profile Through System Settings

  1. In the same Device Management or Profiles pane, select the MDM profile.
  2. Click the – (minus) button or Remove Profile.
  3. Enter your admin password when asked.
  4. Restart the MacBook and see if the prompt is gone. If the profile was user-installed (not forced by an organization), this usually works.

3. Remove the Profile Using Terminal (When the Button Is Greyed Out)

  1. Open Terminal (Finder > Applications > Utilities > Terminal).
  2. Type sudo profiles list and press Enter. Enter your admin password when prompted.
  3. Look for the profile identifier (a string like com.company.mdm) under the “attribute: name” section.
  4. Type sudo profiles remove -identifier com.company.mdm (replace the identifier with the one you found) and press Enter.
  5. If that fails, try sudo profiles remove -type configuration to remove all configuration profiles, then restart.

4. Reset the MDM Enrollment Record (For Stuck Pending Profiles)

  1. Open Terminal again.
  2. Run sudo defaults delete /Library/Preferences/com.apple.MCX 2>/dev/null; sudo rm -rf /Library/Managed\ Preferences and press Enter. This clears the managed preference cache.
  3. Then run sudo rm -rf /var/db/ConfigurationProfiles and press Enter. This deletes the stored profile database.
  4. Restart the Mac. The prompt should stop appearing if the MDM server is no longer reachable.

5. Erase the Mac and Reinstall macOS (Last Resort)

  1. Back up all important files to an external drive or cloud service.
  2. Restart the Mac and hold Command + R to enter Recovery Mode.
  3. Open Disk Utility, select the internal drive, and click Erase. Use APFS format (or Mac OS Extended if on an older Intel Mac).
  4. Quit Disk Utility, choose Reinstall macOS, and follow the on-screen steps.
  5. During setup, if asked to enroll in MDM, skip it if possible (on personal Macs) or enter the credentials provided by your IT department (on company Macs).

Common Mistakes

  • Deleting the wrong profile: Removing a non-MDM profile (like a VPN or Wi-Fi cert) can break other services. Always confirm the identifier before removal.
  • Using Terminal without sudo: Profile commands require root privileges. Forgetting sudo will result in a permissions error.
  • Erasing without backing up: A full erase wipes everything. If you skip the backup, you lose all local files.
  • Ignoring the prompt and continuing: Clicking “Allow” repeatedly may re-enroll the Mac or install a new profile. Always choose “Not Now” or “Cancel” until you’ve removed the profile.

Tips

  • If the Mac is company-owned, contact IT first. They can remove the enrollment remotely, which is safer than manual deletion.
  • Check if the prompt appears only after a specific app update. Some apps trigger profile checks; updating the app may clear the flag.
  • Use sudo profiles status -type enrollment in Terminal to see the exact enrollment state. It shows “Enrolled” or “Not enrolled.”
  • Keep macOS up to date. Apple has fixed several MDM-profile bugs in recent releases.

Troubleshooting

If the profile reappears after removal: The Mac is likely still communicating with the MDM server. Check your network settings and ensure the server is not pushing the profile again. If you are on a personal network, try a different Wi-Fi or Ethernet connection, then remove the profile again.

If Terminal says “Profile not found”: The identifier you typed may be wrong. Run sudo profiles list again and copy the exact string. Some identifiers are long and include dots and dashes.

If the erase option is greyed out in Recovery: This happens when Find My Mac (Activation Lock) is enabled. You must sign in with the Apple ID that was used to enable it, or the Mac will remain locked. If you don’t know the Apple ID, contact Apple Support with proof of purchase.

If the prompt still appears after a full erase: The Mac is enrolled in Apple’s Automated Device Enrollment (ADE). This is common for Macs bought through a business or school. The only way to remove it is through the organization’s MDM server or Apple Business Manager. Without their help, the prompt will persist after every wipe.

If you get a “Cannot verify” error during profile removal: This usually means the certificate that signed the profile has expired. Try the Terminal method (step 3) instead of the GUI, as it bypasses certificate verification.

Frequently Asked Questions

Q: Is it safe to ignore the prompt?
A: Yes, for a short time. The Mac will keep asking, but ignoring it won’t damage anything. However, the underlying profile remains, so the prompt will return after every login and sometimes during app installs.

Q: Will removing the MDM profile delete my files?
A: No. Removing a profile only deletes the configuration settings it manages (like Wi-Fi passwords or VPN settings). Your documents, photos, and apps stay intact.

Q: Can I remove an MDM profile without an admin password?
A: No. Profile removal requires administrator privileges. If you don’t have the admin password, you’ll need to ask the person who set up the Mac.

Q: Why does the prompt appear even though I never enrolled my Mac?
A: The Mac may have been enrolled automatically during setup if it was purchased through a business or education program. It can also happen if you restored from a backup that contained an old MDM profile.

Q: Does erasing the Mac void the warranty or break the hardware?
A: No. Erasing and reinstalling macOS is a standard software procedure and does not affect the hardware warranty.

Q: What if the Mac is stolen and the MDM prompt appears?
A: If the Mac is reported stolen, the MDM prompt is a security feature. Do not attempt to bypass it. Return the device to the owner or authorities.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →