Skip to main content
JHelio
Staff
Staff
December 23, 2024

Technical Tip: Script to make FortiClient Endpoints connect to the FortiClient EMS server

  • December 23, 2024
  • 0 replies
  • 985 views
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

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT