Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
Ralf_Lauerwald
New Contributor

Information: Remove Old VPN with FCConfig.exe

Hi,

 

just for those who need it.

We updated our Forticlient via GPO Msi and also deployed a new VPN tunnel for the employes with a custom installation.

We had the problem that we now have 2 tunnels in the Forticlient and don't wan't to start every FC and delete the old Tunnel manualy.

 

I found out that you can use the FCConfig.exe with Parameters.

We build a Batch and run it with the FC GPO and the old tunnel was deleted.

 

It has to look like this:

 

"C:\Program Files (x86)\Fortinet\FortiClient\FCConfig.exe" -m vpn -f "TUNNELNAME;ssl;TUNNELNAME;ipsecman;" -o delete_connection -i 1

 

Hope someone can use this.

 

Andreas

1 REPLY 1
Chris_Lin_FTNT

Good hack, Ralf!

Labels
Top Kudoed Authors