Updating FortiClient VPN through Intune or ConfigMgr
Good morning
We've been experiencing some issues updating the FortiClient VPN through platforms like Microsoft's ConfigMgr and Intune.
These platforms are used because users cannot update the client manually, because it needs elevated rights to do. Deploying updates through the platforms mentioned above allows the updates to be run as SYSTEM instead of the local user, however, to successfully update the FortiClient VPN, the VPN itself needs to be shutdown.
Shutting down the VPN client is the stumbling block. To shut it down, a user needs elevated privileges to right-click on the tray icon and click "shutdown". There is no way to do that via the command line in a programmatic way, that I'm aware of.
We have attempted to just stop all the services of the VPN client, but they all automatically restart when forcefully closed, which makes sense.
I'm looking to understand how others keep the VPN client updated through a management platform like ConfigMgr or Intune, or any suggestions on how to do it more reliably.
Thanks.
