Skip to main content
All CollectionsDevice management & compliance automationMac MDM
Remove a non-removable MDM profile from macOS without a complete wipe(macOS)
Remove a non-removable MDM profile from macOS without a complete wipe(macOS)
Updated over 6 months ago

Disabling and Enabling System Integrity Protection

System Integrity Protection (SIP) in macOS protects the entire system by preventing the execution of unauthorized code. The system automatically authorizes apps that the user downloads from the App Store. The system also authorizes apps that a developer notarizes and distributes directly to users. The system prevents the launching of all other apps by default.

During development, it may be necessary for you to disable SIP temporarily to install and test your code. You don’t need to disable SIP to run and debug apps from Xcode, but you might need to disable it to install system extensions, such as DriverKit drivers.

To disable SIP, do the following:

  1. Restart your computer in Recovery mode.

  2. Launch Terminal from the Utilities menu.

  3. Run the command csrutil disable.

  4. Restart your computer.

    How to Disable System Integrity Protection (SIP) – Intego Support

Remove a non-removable MDM profile from macOS without a complete wipe

Open the integrated terminal and type:

cd /var/db/ConfigurationProfiles
sudo rm -rf *
mkdir Settings
touch Settings/.profilesAreInstalled

Enable System Integrity Protection

To reenable SIP, do the following:

  1. Restart your computer in Recovery mode.

  2. Launch Terminal from the Utilities menu.

  3. Run the command csrutil enable.

  4. Restart your computer.

Warning

Disable SIP only temporarily to perform necessary tasks, and reenable it as soon as possible. Failure to reenable SIP when you are done testing leaves your computer vulnerable to malicious code.

Did this answer your question?