Skip to main content
mturic
Staff & Editor
Staff & Editor
August 16, 2020

Technical Tip: FSSO TS-Agent deployment via CLI

  • April 16, 2026 at 12:20 PM
  • 0 replies
  • 5747 views
Description
This article describes how to deploy FSSO TS-Agent via CLI.
This can be useful for automated (silent) installations that can be pushed on remote servers via GPO.

This feature is possible with the MSI installer version.

Solution
Example of CLI install switches/syntax.
TSAgent_Setup_5.0.0291.msi /qn COLLECTORAGENTLIST="x.x.x.x:8002,x.x.x.x:8002" PORTPOOLRANGES="15000-35000" MAXPORTRANGESPERSESSION="2" PORTNUMPERALLOC="200" LOGLEVEL="0" SSLMODE="1" PSK="P@$$w0rd!" /log "C:\temp\file.txt"
Configurable options.
COLLECTORAGENTLIST                      <----- IP addresses of FSSO Collector Agents with specified FSSO CA listening ports, separated by comma.

PORTPOOLRANGES                          <----- Port allocation pool range, in format 20000-39999.

MAXPORTRANGESPERSESSION                 <----- Maximum number of port allocation ranges .

PORTNUMPERALLOC                         <----- Maximum number of ports per port allocation range.

LOGLEVEL                                <----- TS-Agent logging level.
0 – Debug
1 – Info
2 – Warning
3 – Error
4 - None
SSLMODE                                 <----- Enable Secure Communication (only available with FortiAuthenticator).
1 – Enabled
2 - Disabled
PSK                                     <----- Secure Communication preshared key, required only when SSLMODE is set to enabled, secure communication to the FSSO Collector Agent.
Once the CLI command is executed, the log file shows the successful result (error status = 0):
MSI (s) (98:90) [16:13:59:537]: Product: Fortinet SSO Terminal Server Agent v5.0.0291 -- Installation completed successfully.
MSI (s) (98:90) [16:13:59:537]: Windows Installer installed the product. Product Name: Fortinet SSO Terminal Server Agent v5.0.0291. Product Version: 5.0.0291. Product Language: 1033. Manufacturer: Fortinet. Installation success or error status: 0.

Related Articles

Technical Tip: How to setup TS-Agent configuration

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