Skip to main content
DuncanClarke
Visitor III
Jan 30, 2024 3:54 PM UTC
Question

Can't unregister FortiClient on CLI (Windows)

C:\Program Files\Fortinet\FortiClient>fortiesnac.exe -d  =====================================  FortiClient License Details ===================================== License Timeout:       2024-11-14 08:00:00 Feature bitmap :	0x0004517c VPN Timeout:           2023-06-11 08:52:07  No telemetry data available.

C:\Program Files\Fortinet\FortiClient>fortiesnac.exe -u
This EMS has disabled disconnection.

C:\Program Files\Fortinet\FortiClient>fortiesnac.exe -r <CODE>
Failed to register to EMS: This FortiClient is already registered to an EMS.

Any ideas? Currently running 7.0.8 ZTNA

3 replies

AEK
SuperUser
SuperUser
Jan 30, 2024 6:28 PM UTC

This must be done by your EMS admin on EMS server.

AEK
DuncanClarke
Visitor III
Jan 30, 2024 6:43 PM UTC

Thanks for the reply.

 

Unfortunately it’s not listed on the EMS which is the problem. I want to register it, but it won’t let me as it thinks it’s already registered. I was hoping that as the CLI has an unregister option that I could use that. 

At this stage I’m thinking the best solution would be to uninstall the software and reinstall, though I suspect it won’t let me uninstall either. Maybe rebuild the device is the only answer. 

I was hoping there would be a /force or /clear option or similar.

FortiMax_it
Explorer III
Jan 30, 2024 7:44 PM UTC

You can first try to uninstall the Forticlient properly with the appropriate Tool:
https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-download-FortiClient-and-FCRemove- exe-from/ta-p/218955 or if you have the PC in your possession you can try uninstalling it by starting Windows from Safe Mode.

Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
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