Skip to main content
samata
New Member
Jan 14, 2026 9:42 AM UTC
Question

IPSec VPN for laptops

I am now planning to deploy IPSec VPN to laptops and I have the application packaged and the IPSec configuration deployed to the registry. The problem I am having now is with the Preshared Key.... I cannot deploy that via GPO and I can't enter that manually on every computer. How you guys handling this?

3 replies

AEH
Visitor III
Jan 14, 2026 10:35 AM UTC

Dear @samata ,

As far as i know , There is no documented way to inject a PSK via GPO/registry because FortiClient expects it from the profile source (EMS (if deployed) or local config).

So you can either go for EMS deployment or configure it locally (manually) or using XML backups. You can also explore using certificates instead of PSKs if possible.

 

Best regards.

Translate
eng_jathin
New Member
Jan 14, 2026 10:43 AM UTC

Hello,

First you configure one FortiClient and then export it’s configuration. Take XML file and make any further customizations. Use the GPO to install this XML file on each machine by running this command:

"C:\Program Files (x86)\ Fortinet\Forticlient\fcconfig.exe"

 

 

Jathin Jayakumar

Translate
AEK
SuperUser
SuperUser
Jan 14, 2026 11:14 AM UTC

I'm not 100% sure but I don't think PSK or other password can be deployed via this method, because for security reasons FCT's PSK or password encryption is client dependent and can't be decrypted on another client (as far as I remember).

Translate
AEK
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024