Description | This article describes a script that can be used to make FortiClient endpoints connect to the FortiClient EMS server. |
Scope | FortiClient EMS v7.2.4 version and FortiClient Endpoint v7.2.5 version for Windows OS. |
Solution |
A FortiClient Endpoint may disconnect from the FortiClient EMS Server for different reasons.
One option in Windows OS environments is to use GPO rules to deploy a script with the following instructions:
c:\Program Files\Fortinet\FortiClient\FortiESNAC.exe -r|--register <address/invitation> [-p|--port <port>]
To only connect to the FortiClient EMS server, the following simple instruction can be used:
c:\Program Files\Fortinet\FortiClient\FortiESNAC.exe -r X.X.X.X -p 8013
Where X.X.X.X is the IP address of the FortiClient EMS server.
These instructions can be used as a script and be deployed by GPO rules to other endpoints to connect by telemetry to the FortiClient EMS server.
Related documents: FortiClient (Windows) CLI commands | FortiClient 7.4.2 | Fortinet Document Library FortiClient (macOS) CLI commands | FortiClient 7.4.2 | Fortinet Document Library FortiClient (Linux) CLI commands | FortiClient 7.4.2 | Fortinet Document Library |