Description |
This article describes how to restore the FortiGate GUI access when the FortiToken Mobile application is deleted or the FortiToken QR code expires. |
Scope | FortiGate. |
Solution |
Take FortiGate recent backup files: 'FortiGate_7-6_3401_202408270401.conf'.
In any text-editing application such as notepad, go to the 'config system admin' section, confirm the admin account and remove the following line:
set two-factor Fortitoken set email-to "xxxx@fortinet.com"
Next, go to 'config user fortitoken' and remove the following lines:
Remove the following lines:
set seed "xxxxx"
After removing these from both configuration settings, re-image with the same config backup file firmware version:
See this article for re-imaging instructions.
After re-imaging the FortiGate device or VM deployment:
Perform a backup restore with the modified backup file without FortiToken. It will then be possible to access the FortiGate. |
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.