Skip to main content
adriellousada
Staff
Staff
February 19, 2026

Technical Tip: How to resolve the 'spctl command failed' error during FortiClient installation on macOS

  • February 19, 2026
  • 0 replies
  • 101 views
Description This article describes how to identify and fix the FortiClient installation failure on macOS laptops, caused by Gatekeeper blocking.
Scope FortiClient macOS.
Solution

Devices running macOS may encounter issues when installing FortiClient. The error typically occurs during the execution of scripts in the final installation step, as shown below.

 

Screenshot 2026-02-09 at 10.48.39 AM.png

 

Immediately after the installation fails, a generic error message is displayed.

 

Screenshot 2026-02-09 at 10.48.44 AM.png

 

To investigate the issue, follow these steps:
  1. Search for and open the 'Console' application.
  2. In the menu on the left, select 'Log Reports'.
  3. Several files will be listed. Locate and open the file named 'fctinstallpost.log'.


Screenshot 2026-02-09 at 10.49.17 AM.png

 

  1. Scroll down to the log entry corresponding to the time of the installation attempt.
  2. If the error 'spctl command failed' appears, the issue is caused by a restriction that may have been configured manually or through MDM.


Screenshot 2026-02-09 at 10.49.34 AM.png

 

Once the problem is identified, adjust the macOS 'Privacy & Security' settings by changing the option 'Allow applications downloaded' from 'App Store' to 'App Store and identified developers'.

 

Screenshot 2026-02-09 at 10.50.14 AM.png

 

After this change, the installation should complete successfully.


Note: On devices managed via MDM, this modification must be applied through MDM policies. The procedure may vary depending on the MDM vendor.

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!