Today I was enrolling a Fortigate 60C. A collegae of my grabbed the device before I did and changed the password without writing it down. This is how to reset the device to factory default.
First of all, in my case the reset button didn’t work. You can disable the reset button, also ignoring it the first 30 seconds after booting. So I had to find another strategie.
This is how to fix this, before you go any further. Make sure you have a serial cable and connect your laptop and the device. Connect using the following :
|Com port||The right one 🙂|
Now reboot the device (unplug the power and wait > 10 seconds before putting power back in). After booting enter the following username : maintainer and the password is bcpb and SERIALNUMBER. You can find the serial on the back of the device ofcourse.
Ok we are in now. This is how to change the admin password :
config system admin edit admin set password pietjepuk end
Because someone fingled with the device I decided to do a factory reset immediatly with the following command :
After this you can login in with the admin useraccount without any password.