How to disable Gatekeeper Mac M1

How to disable Gatekeeper Mac M1. Error “is damaged and can’t be opened. You should move it to the trash” is one of the most common mistakes MacBook users make. In the article below, we will guide you to turn off Gatekeeper to help you fix this error as quickly as possible.

How to disable Gatekeeper Mac M1
How to disable Gatekeeper Mac M1

What is Gatekeeper?

Gatekeeper is known as the security system of the MacOS operating system. They are responsible for code signing and verifying the applications you download before running on the operating system to prevent malicious software from running.

As is known, MacOS only accepts apps downloaded from the App Store and manufacturers affiliated with Apple. Therefore, if you want to download another application from any source, you need to disable Gatekeeper. 

2. Method 1 using Terminal commands (Recommended)

How to disable Gatekeeper

Instructions to turn off Gatekeeper on Terminal, do the following:

Step 1: Turn on Spotlight (Command + Space) and press search for Terminal.

Step 2: Copy the command line into Terminal and enter the machine’s password.sudo spctl --master-disable

Step 3: Enter again spctl --statusto see if the command has been executed or not.

Step 4: If the interface is displayed, assessments disabledit means you have successfully turned off Gatekeeper. 

How to enable Gatekeeper

To enable Gatekeeper, do the following:

Step 1: Copy this command line into Terminal.sudo spctl --master-enable

Step 2: Check if the command has been executed as instructed above with the commandspctl --status

Step 3: If the interface is displayed, assessments enabledit means you have successfully enabled Gatekeeper. 

3. Use pre-made CMD files

In addition, if you do not want to use the command on the Terminal, you can use the instructions to turn off Gatekeeper with the CMD file available below:

Step 1: Download the file Gatekeeper_tools_maclife.dmg

Step 2: You access the downloaded file and run the file GateKeeper_Tool .command inside.

Step 3: The interface appears with 4 options, option 1 is to turn off GateKeeper. You enter the number 1 and press Enter and enter the password to log in to the machine.

You can access Security & Privacy to check if the error is damaged and can’t be opened. 

What are GateKeeper and SIP? 

GateKeeper literally means Gatekeeper, and in MacOS, this is a built-in feature that helps keep the security and safety of the data and files on your Macbook.

SIP (System Integration Protection) aka system integration protection, it prevents users with root access (with sudo command) from modifying certain locations on the primary partition. SIP helps protect the core area of ​​the drive where the operating system is installed from the risk of operating system failure. Toggling SIP you need to enter Recovery Mode to perform, so it can be said that SIP is also a Mac’s advanced protection feature.

Many applications will be warned that they cannot be opened because they do not belong to the AppStore

In other words, both of these tools help to increase strict security and act as a Machine guard, alerting if something is suspected to be malicious and denying access to external applications to avoid problems. unnecessary.

To access Gatekeeper settings do the following:

  • Step 1: Click on the Apple Logo => Select System Preferences (System Preferences) 

  • Step 2: Select Security & Privacy
  • Step 3: In the General Setting column, there will be an option to Allow apps downloaded from: if Gatekeeper is on, there are only 2 options: App Store and App Store and identified developers (identified developers).

Whenever you open an app downloaded outside of the App Store for the first time, Gatekeeper will issue a warning or prevent the app from opening. If the software has been verified by Apple to be safe, you should have no trouble running it. However, if macOS can’t confirm that the app is free of malware, Gatekeeper will prevent you from opening it.

And of course, for the software on the AppStore, of course, it will be blocked immediately. You will not be able to install external applications if Gatekeeper is enabled. Similarly, SIP is also a layer of security. Therefore, if you need to install external applications, first turn off Gatekeeper and SIP! Follow the steps below:

How to completely disable GateKeeper and SIP on MacOS

a. Turn off Gatekeeper using Terminal

To disable Gatekeeper, the fastest and simplest way is to use Terminal (This is an interface that allows you to enter and execute advanced commands for Macbook quickly).

To disable Gatekeeper, follow these steps:

  • Step 1: Open Terminal by pressing Command + Space to open Spotlight, then type search “Terminal” and double-click the application to open it.

  • Step 2: Enter the following command: “sudo spctl –master-disable”
sudo spctl --master-disable
sudo spctl –master-disable
  • Step 3: Press Enter and enter your admin password when the Pass and key line appears (When you enter the password, it will not appear but you just enter it) then press Enter again to finish the shutdown process. Gatekeeper.

After you turn off Gatekeeper, you will have 1 more place in the Allow apps downloaded from section, which is Anywhere – You check this box to allow you to download it. apps outside the AppStore already. You can also use this method to check if Gatekeeper is definitely turned off (if not, there will be no 3rd option).

b. Enable Gatekeeper with Terminal

When you want to re-enable protection and re-enable Gatekeeper again, you can easily enable it with a simple Terminal command.

To enable Gatekeeper, follow these steps:

  1. Similar to the above, you press  Command + Space to open Spotlight, then type search “Terminal” and double-click the application to open.
  2. Enter the following command:
    sudo spctl --master-enable
  3. Press Enter and enter your admin password if prompted. And finally press Enter again to confirm.

When you re-enable Gatekeeper protection, the  Anywhere option that you found in  System Preferences => Security & Privacy => General will  now not available anymore. That’s also a way you check if the cream has successfully activated Gatekeeper.

c. How to check Gatekeeper status using Terminal

If you are not sure about the current status of Gatekeeper and want to check if the desired changes have occurred, besides going into System Preferences to check as above, you can use another command.

To check the Gatekeeper status, follow these steps:

  • Step 1: Press Command + Space to open Spotlight, then type search “Terminal” and double-click the application to open.
  • Step 2: Enter the following command: spctl –status

  • Step 3: Finally press Enter to check. If the result is: assets disabled, you have successfully turned off Gatekeeper, and if it is enabled, you are still turning on that protection mode!
Or the easiest you can still check in General under Security & Privacy settings. If you have the Anywhere option, you have turned off Gatekeeper protection, and if you don’t see this option, you are protected by Gatekeeper!

How To Disable SIP Using Terminal in Recovery Mode

Disabling SIP is not done right on the MacBook interface but needs to enter Recovery Mode to install. You can disable SIP as follows:

  • Step 1: Restart (or Restart the machine if it is on) and hold the Command + R key combination until the Apple logo appears and wait until it enters Recovery Mode. In some new models, this box is not displayed, remember to select the User you log in and enter the password, the box will appear as below!

  • Step 2: In Recovery Mode, select Utilities => Select Terminal
  • Step 3: Type in the command line: csrutil disable and press Enter

  • Step 4: If the machine shows the line Successfully disabled System Integrity Protection, you have successfully turned off SIP.
  • Step 5: Finally type reboot and then Enter to restart the machine is done.

And similar to the above if you want to re-enable SIP, change the command line above to: csrutil enable is okay!

Although sometimes you need to disable Gatekeeper and SIP to install external applications, most of the time you don’t need to do so. Because Gatekeeper and SIP tools will help your MacBook avoid malware penetration. Therefore, when you turn off this protection, you should also be more careful in choosing software when downloading. Apple’s built-in safety measures are always there to help, but sometimes too many limitations can get in the way. If you want to disable an important security feature, you should always learn the tool you’re working on and the potential consequences involved first. 

Above is a guide to turn off Gatekeeper with 2 simplest ways. Hopefully this post will help you solve the error is damaged and can’t be opened when downloading applications from different sources on MacOS.
Ngolongtech hopes this article would help you! 
Visit to update the most practical and useful tips for Mac and Windows!

Sponsored Links: