Fix: FortiClient Install or Update Blocked by ThreatLocker

Fortinet logo

Short answer: if FortiClient will not install, update, open or connect on a computer protected by ThreatLocker, the FortiClient files are usually being denied by application control, or FortiClient needs admin rights the user does not have. Check the ThreatLocker Unified Audit for denies on that computer, then permit FortiClient through a certificate-based application that covers all versions, not a one-off hash rule. Background updates pushed by FortiClient EMS or FortiSASE run as SYSTEM and do not show the user a request box, so an administrator has to find and permit them.

A distribution business rolled FortiClient out to almost a hundred computers protected by ThreatLocker. Their IT coordinator then found that FortiClient updates were blocked, first when she ran the installer and later when the update was pushed silently from the FortiClient cloud console. On a couple of newly added laptops, staff without admin rights got a Windows prompt for administrator credentials every time they opened FortiClient. Each fix that only covered one computer, or one exact installer file, had to be repeated at the next update. Here is what we found and how to fix it properly.

Fixed by Kenn Cruz, Ellen Sawa-an and Rohan Colley at GCIT. Written up by Elliot Munro, CISO.

Symptoms

One or more of the following happens on a computer running ThreatLocker:

  • The FortiClient installer or update starts and then stops, or nothing seems to happen at all.
  • The ThreatLocker Blocked Items window lists the FortiClient installer, for example forticlientsetup_7.4.6_x64.exe in C:\Windows\fortiemsinstaller\, with the action Denied.
  • FortiClient asks for administrator credentials when a standard user opens it, and closes if they choose No.
  • The VPN worked before an update and now will not open or connect.

ThreatLocker Blocked Items showing forticlientsetup_7.4.6_x64.exe denied in the fortiemsinstaller folder

When ThreatLocker elevation is set up for FortiClient, users see a notice like this instead of a Windows admin prompt:

For your convenience, ThreatLocker has elevated forticlientsecurity.exe to run as a local administrator.

ThreatLocker notification: ThreatLocker has elevated forticlientsecurity.exe to run as a local administrator

People search for this as “ThreatLocker blocking FortiClient”, “FortiClient update blocked”, “FortiClient asks for admin password” or “FortiClient will not install”.

Affected Software

  • Application: FortiClient VPN and FortiClient 7.x, including versions deployed and upgraded by FortiClient EMS or FortiSASE
  • Platform: Windows 10 and Windows 11
  • Related Services: ThreatLocker Application Control and Elevation Control

Cause

ThreatLocker only lets approved software run. FortiClient brings three separate problems with it:

  • Each update is a new set of files. If FortiClient was approved by file hash, the approval only covers that exact version. The next release has different hashes, so it is denied again. In this case an earlier one-off approval had been created as its own hash-based application, which is why the block came back at every update.
  • Silent updates do not ask anyone. When FortiClient is upgraded by FortiClient EMS or FortiSASE, the installer downloads and runs in the background under the SYSTEM account. ThreatLocker denies it, but there is no pop-up on screen, so the user has nothing to request. When the user did submit requests, they were for unrelated Windows Update files that happened to be blocked at the same time.
  • Allowing is not elevating. Application Control decides whether a program can run. Elevation Control decides whether it can run with admin rights. Learning mode creates allow rules, but it does not elevate anything. When an elevation policy for FortiClient was removed from a newly added laptop, FortiClient fell back to a normal Windows admin prompt that standard users could not get past.

Resolution

For the person using the computer

  1. If a ThreatLocker box appears when you install or open FortiClient, use it to send a request, and add a note such as “FortiClient VPN update”. See ThreatLocker Blocked an App? How to Request Approval for the steps.
  2. If nothing appears, note the time you tried and tell your IT team. Background updates are often blocked without any message.
  3. Do not ask for local admin rights to get around the block. Your IT team can permit FortiClient safely.

For administrators using ThreatLocker

  1. In the ThreatLocker portal, open the Unified Audit, filter to the computer and Any Deny, and look for paths such as C:\Windows\fortiemsinstaller\, C:\Program Files\Fortinet\FortiClient\ and the Windows Installer process. Check the publisher certificate on the denied files is Fortinet’s.
  2. Under Application Control > Applications, check for a built-in FortiClient application that matches all versions by certificate. Add new FortiClient files to that application, or to your own application that matches on Fortinet’s publisher certificate and path, rather than creating a new hash-only application.
  3. Apply the permit at the right level. If FortiClient is standard across the business, apply it to the whole organisation or the workstation group, not one computer, so the next update works everywhere.
  4. If standard users get an admin prompt when opening FortiClient, find the program that is asking (for example forticlientsecurity.exe) in the audit and create an Elevation policy for it, matched on certificate and path. Avoid elevating every FortiClient file.
  5. For a single urgent device, a short Learning mode window can let an update finish. Check afterwards what rule it created, because Learning mode tends to create one-off hash rules that do not help the next update.
  6. Deploy policies, restart the computer, and confirm FortiClient opens, connects and shows the expected version. If an install was interrupted, Windows Installer error 1618 (another installation is in progress) can block a repair until the computer is restarted.

Important Notes

  • Plan for updates. Before you push a new FortiClient version from EMS or FortiSASE, test it on one computer and watch the ThreatLocker audit for denies.
  • Never permit by path alone for installer folders. Folders like C:\Windows\Temp\ are shared by many programs. Combine the path with Fortinet’s certificate.
  • New computers are the risky ones. Devices still in Learning mode, or newly moved to Secured, are where FortiClient allow and elevation rules are most often missing.
  • Same pattern, other apps. The same approach fixes blocked updates for other software. See Fix: Microsoft Teams Update Blocked by ThreatLocker.

If application control keeps getting in the way of the tools your team needs, book a free consultation and we will help you tune it without weakening your security.

Was this article helpful?
Ready to secure and simplify your IT? Talk to a GCIT expert today.