Skip to main content
BusinessUser
Explorer
September 24, 2023
Solved

Retrieve configuration even if you forget password?

  • September 24, 2023
  • 4 replies
  • 4092 views

If you forget the password into the firewall.

Or if you forget the ip address to go in

Is there any way to retrieve the running configuration without factory resetting it?

Best answer by srajeswaran

As Faridul mentioned, maintainer account can be used to reset password. Ref:https://community.fortinet.com/t5/FortiGate/Technical-Tip-Resetting-a-lost-admin-password/ta-p/197045

4 replies

srajeswaran
Staff
Staff
September 24, 2023

If you forget the password and don't have any other active password for the device, login is not possible and can't download the configuration backup. If the device is managed by FortiManager, you can get the configuration from Fortimanager.

If you forget the IP, please check any connected swicth/PC for ARP table or GW, there are very high chances the firewall is GW and you can get the IP.

FaridulAlam
Explorer III
September 24, 2023

Have you tried to password reset using "maintainer" username?

Or, you can try FortiOS boot option during OS loading time by pressing "spacebar" key. There might be an option to retrieve old config and backup/alternate OS to boot.

BusinessUser
Explorer
September 24, 2023

I thought the maintainer account is for factory reset only?

Or is it for password recovery as well?

srajeswaran
Staff
Staff
September 24, 2023

As Faridul mentioned, maintainer account can be used to reset password. Ref:https://community.fortinet.com/t5/FortiGate/Technical-Tip-Resetting-a-lost-admin-password/ta-p/197045

Rajan_kohli
Staff
Staff
September 24, 2023
KumarV
Staff
Staff
September 24, 2023

To add on, On some devices, after the device boots, only an entry window of 14 seconds or less is available to type in the username and password.

 

Verender