Temporarily disable gatekeeper

I am trying to create a bootable installer for a 2009 iMac. It used to have High Sierra installed installed, but it was in my son's possession and somehow the OS has been wiped clean. I want to re-install High Sierra from a bootable flash drive. I tried downloading it on another iMac using the AppStore, but I got an error message that said Gatekeeper was preventing it from downloading. I am using Catalina and want to know if I can temporarily disable Gatekeeper.

iMac 27″, macOS 10.13

Posted on Jan 12, 2023 1:52 PM

Reply
Question marked as Top-ranking reply

Posted on Jan 12, 2023 2:05 PM

The steps to disable Gatekeeper are as follows:

Step 1: Open Terminal quickly by pressing Command Space and then find Terminal.


Step 2: Type in the Terminal command line below to request disable Gatekeeper on Mac.

sudo spctl --master-disable


Step 3: Enter the user password on your Macbook. Note that it will not display the password when you enter it. Just enter it and press Enter. And the password is correct, and then Terminal will return the result like the picture.


Step 4: Check if Gatekeeper has been disabled successfully by typing the command below and pressing Enter.

spctl --status

When Terminal returns assessments disabled, you have successfully disabled Gatekeeper.


To re-enable Gatekeeper, you also open Terminal as instructed above. Then enter this command line to request to enable Gatekeeper.

sudo spctl --master-enable

How to disable Gatekeeper and SIP on Mac 2023 | Lucid Gen

Similar questions

7 replies
Question marked as Top-ranking reply

Jan 12, 2023 2:05 PM in response to onilvehs

The steps to disable Gatekeeper are as follows:

Step 1: Open Terminal quickly by pressing Command Space and then find Terminal.


Step 2: Type in the Terminal command line below to request disable Gatekeeper on Mac.

sudo spctl --master-disable


Step 3: Enter the user password on your Macbook. Note that it will not display the password when you enter it. Just enter it and press Enter. And the password is correct, and then Terminal will return the result like the picture.


Step 4: Check if Gatekeeper has been disabled successfully by typing the command below and pressing Enter.

spctl --status

When Terminal returns assessments disabled, you have successfully disabled Gatekeeper.


To re-enable Gatekeeper, you also open Terminal as instructed above. Then enter this command line to request to enable Gatekeeper.

sudo spctl --master-enable

How to disable Gatekeeper and SIP on Mac 2023 | Lucid Gen

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Temporarily disable gatekeeper

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