Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How do I reset GateKeeper policy for one app?

Hi, My system policy is set to 'Mac App store and identified developers'. I used right-click/Open to run an app. How do I reset the policy for that one app so that it won't open if I double-click on it?


Is there a place that lists all the apps that I've overridden the policy for?


Regards, Patrick

iMac (27-inch, Late 2012), OS X Mountain Lion (10.8.2)

Posted on Jan 6, 2013 5:38 PM

Reply
4 replies

Jan 6, 2013 11:21 PM in response to Patrick123

Back up all data.


Launch the Terminal application in any of the following ways:


☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)


☞ In the Finder, select Go Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.


☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.


Select the text on the line below by dragging across it. Don't include the blank space at the end of the line.


sudo spctl --disable

Copy the selected text to the Clipboard (command-C). Click anywhere in the Terminal window, then paste (command-V). Press the space bar.

Now switch to the Finder and and select the application in question. Drag it into the Terminal window. More text will be added to what you entered.


Click in the Terminal window to activate it, then press return.


You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you don’t have a login password, you’ll need to set one before you can run the command.


You can then quit Terminal.

Jan 7, 2013 12:55 AM in response to Patrick123

This is from the manual page for spctl:



EXAMPLES

To check whether Mail.app is allowed to run on the local system:

spctl -a /Applications/Mail.app



To allow Frobozz.app to run on the local system:

spctl --add --label "My Stuff" /Applications/Mail.app



To forbid all code obtained from the Mac App Store from running:

spctl --disable --label "Mac App Store"




As for producing a list, you could see what is returned from running this command:


spctl -a /Applications/*.app


which assesses all the apps in your Applications folder and returns those that are rejected. However, this gives unpredictable results on my system, returning a mixture of Apple and non-Apple software (possibly because my original installation build was a beta when even the App store was not yet a signed vendor!). I'd be interested to know if it returns usable results for you.

How do I reset GateKeeper policy for one app?

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