I found this FortiNet FortiGate 100D but I forgot the password.

Or I never knew it.

The pinhole just reboots the device, and I’ve never used a FortiGate appliance. I really want to get into the CLI and eventually the WebUI, but I need to factory reset this thing.

Here’s how:

We will login to the CLI with a user and password that is only good for about 15sec after the system fully boots. From there, we can run a command to reset the device.

 Brief overview:

  1. Console in
  2. get SN from boot (FG100D3G13802616)
  3. boot/reboot device
  4. login within 15 seconds

 

To get into CLI:

Serial line to connect to COM1 (or, if your computer has multiple serial ports, the name of the connected serial port)
Speed (baud) 9600
Data bits 8
Stop bits 1
Parity None
Flow control None

 

The credentials for your CLI will be:

user: maintainer

pass: bcpb***************** (your serial number)

 

For example:

if your SN is FG100D3G13802616

your password for maintainer will be bcpbFG100D3G13802616

 

How to reset

When you are logged in, type the following to perform a reset:

exec factoryreset

It will ask you to confirm, and then it will reboot.

 

The system name of mine had changed to reflect the serial number when the initial factory image booted up.

See below for image overview of my shell session:

 

 


5 Comments

Chris Kelly · April 5, 2019 at 3:30 pm

the last config method worked but it seemed like it only worked after modifying “edit” with “edit admin”

AlexT · September 17, 2018 at 5:24 pm

Default Username: admin
Default Password: (none)

AlexT · September 17, 2018 at 4:56 pm

Looks like the article is good for the older FortiOS version 5. I got FortiOS version 6.0

config system admin

(admin) # edit

(admin) # edit admin

(admin) # set password ( no brakets and minimum-length=8)

(admin) # end

exit

Login with admin account
Execute factory reset

exec factoryreset

Mani · April 6, 2018 at 8:17 am

I tired this did not work for me. Unknown action

    Alex · July 3, 2018 at 1:47 am

    Update admin password

    config system admin

    edit

    set password

    end

    exit

    Login with admin account
    Execute factory reset

    exec factoryreset

Leave a Reply

Avatar placeholder