| Description | This article describes how to avoid upgrade failures and broken agents when using bulk provisioning tools. |
| Scope | FortiDLP. |
| Solution |
Several users have observed problems with installing the Windows Reveal Agent using bulk provisioning tools.
Symptoms:
Affected users:
Unaffected users:
Root Cause: The problem is caused by the fact that the Agent process has to run as the local SYSTEM user and that the majority of bulk provisioning tools work by triggering the Windows Installer (msiexec.exe) also running as the SYSTEM user.
Note: Those users installing or upgrading the MSI package manually, or invoking msiexec as a standard Administrator user are unaffected, as in this case the installer cleanly terminates the agent process and drivers.
Resolution: The only way to repair a system once it is in this state is to perform a hard purge of all Reveal application and driver binaries, as well as clear any associated registry entries. Fortinet Support can provide either Powershell or Command Prompt batch scripts that can perform these actions.
Once the agent has been fully purged, it should be possible to push a new agent installer and automatically pick up the existing enrollment configuration.
It is important to ensure that any upgrade pushed via a SYSTEM user includes the MSIRMSHUTDOWN=2 flag to msiexec. This ensures that the Windows Restart Manager cleanly terminates the agent process before upgrading. This has been included as standard in all versions of the auto-update process and is included in agent 4.0.1 or later MSI packages.
If using SCCM as a provisioning tool, ensure that the instructions in this article have been followed correctly, paying particular attention to the setting on setting the deployment type to use the upgrade code to prevent SCCM from trying to downgrade after an agent auto-update has taken place. |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2025 Fortinet, Inc. All Rights Reserved.