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

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 3
AEK
SuperUser
SuperUser

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

AEK
AEK
DuncanClarke

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

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- ... or if you have the PC in your possession you can try uninstalling it by starting Windows from Safe Mode.

Labels
Top Kudoed Authors