Hello,
I am looking for a way to do a factory reset of a Fortigate from a Fortimanager.
I haven't found anything in the documentation about this.
Am I missing something or is it really not done?
Thanks in advance for your feedback.
Regards,
hello, I have some similar request with remote factory reset of the FortiGate from FortiManager. As I have a HA (active-passive) it it enough to issue command "execute factory-reset" just on primary node and both cluster members will be reset to factory defaults? If not what would be the proper procedure for having both node of the HA cluster reset to factory default remotely?
Hi @alazic ,
No, running "execute factoryreset" (No dash in it) on Primary device will not factory reset both units.
What you can do:
1) Connect to the FGT HA cluster via SSH.
2) After login to the Primary unit, run "exe ha manage" command to login to the slave unit. You did not tell us what your FGT version is. The command is changed a little so you can use the question mark to tell what the correct command is.
Here is the KB for the command:
3) Run "exe factoryreset" on the slave device first.
4) Run "exe factoryreset" on the primary device later.
NOTE:
After the factory reset, you will lose the connection to the FGT devices via FMG. You have to access to the FGT devices directly.
User | Count |
---|---|
2640 | |
1401 | |
810 | |
686 | |
455 |
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 2025 Fortinet, Inc. All Rights Reserved.