Has anyone gone thorugh the exercise of bundling the free Forticlient (6.0.x) MSI into a package for mass distribution throughout their enterprise via SCCM? Any pointers, suggestions, gotchas that you ran into that you're willing to share?
We're also trying to figure out how to bundle/pre-package our default Forticlient settings (Connection name, Remote Gateway URL, etc.) into the package - any recommendations on the good way to insert this into the package would be appreciated.
Thanks,
T.
Solved! Go to Solution.
No problem here it is .
[ol]
Here is the Powershell code for the installation itself :
Start-Process "C:\Windows\System32\msiexec.exe" -ArgumentList "/i c:\blablabla\FortiClientVPN.msi /passive /norestart /quiet INSTALLLEVEL=3 DESKTOPSHORTCUT=1" -wait
Start-Process "C:\Program Files\Fortinet\FortiClient\FCConfig.exe" -ArgumentList "-m vpn -f c:\blablabla\config.xml -o import -p YourPassWordForEncryptionIfNeeded" -wait
We had test users running 6.0.10 FortiClient and, at first, this app uninstalled that version (without rebooting) and installed 6.4.3 on top. We had corruption issues on most use cases where the FortiClient was behaving weirdly or not working at all. Clean uninstall and reinstall settled it.
Hope this helps!
Hi!
for enterprise distribution you must use the ForticlientEMS.
There is no official way to create bundles with VPN Configutration.
You can create backups in the FortiClient and restore them to new installations, but you have to do this manually in the GUI.
Best regards
Heino
We are starting to toy with our new EMS console and licences. But we also will be bundling the Free client for BYOD devices for tele-workers and students of our university.
All PCs on our domain (employees) will receive the FortiClientEMS via GPO and everyone else will download a small app we made that installs the Free offline client and then imports an XML config file.
If we didn't have EMS licences we would definately be using our same GPO technique to install the free client on PCs in the domain. I can share specifics if need be!
Hi AlexBeaudet
We don't have EMS licencing and are looking at deploying forticlient and then installing the config from XML using the fcconfig.exe command. I would be interested in hearing your experiences/learning how you cope with the installation of the free client and then importing the XML config file just to see/learn from other people's experiences so if you could share specifics I would be grateful.
No problem here it is .
[ol]
Here is the Powershell code for the installation itself :
Start-Process "C:\Windows\System32\msiexec.exe" -ArgumentList "/i c:\blablabla\FortiClientVPN.msi /passive /norestart /quiet INSTALLLEVEL=3 DESKTOPSHORTCUT=1" -wait
Start-Process "C:\Program Files\Fortinet\FortiClient\FCConfig.exe" -ArgumentList "-m vpn -f c:\blablabla\config.xml -o import -p YourPassWordForEncryptionIfNeeded" -wait
We had test users running 6.0.10 FortiClient and, at first, this app uninstalled that version (without rebooting) and installed 6.4.3 on top. We had corruption issues on most use cases where the FortiClient was behaving weirdly or not working at all. Clean uninstall and reinstall settled it.
Hope this helps!
Many thanks for the information
My pleasure!
Thank you for your above post I was searching for such a solution, in my case I am upgrading users from ver 6.xx to 7.xx, would the above powershell code avoid the issues you mentioned in your last paragraph?
I was facing some issues where the VPN would get upgraded and when the user tries to connect the software reaches 98% and no connection is done; it simply resets the credentials field as if the user never tried to log in. I ended up having to uninstall, reboot and install the updated version from scratch.
Thanks.
I extract the MSI from the EXE and then use the PowerShell App Deploy Toolkit. Then in the Post Installation section I use FCConfig.exe to import the config file I backed up previously.
Helpful links:
FortiClient VPN Silent Install (How-To Guide) – Silent Install HQ
This is for version 7, but you can adapt it for other versions. There's a link on this page that has the Powershell script they're using.
FCConfig.exe info for backing up and restoring the config:
XML Reference Guide | FortiClient 6.0.10 | Fortinet Documentation Library
In the Post-Installation section I add this line to import the config (I believe it requires a logged in user as I've had hit and miss results):
Execute-Process -Path 'C:\Program Files\Fortinet\FortiClient\FCConfig.exe' -Parameters "-m all -f $dirFiles\FortiClientSettings.conf -o import -i 1"
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1740 | |
1108 | |
752 | |
447 | |
240 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.