Connect your PC's Ethernet port directly to the FortiGate's MGMT port using an RJ-45 cable.
Open Windows Network Connections (
ncpa.cpl).Open Internet Protocol Version 4 (TCP/IPv4) Properties on the connected adapter.
Select Use the following IP address and set:
IP address:
192.168.1.100Subnet mask:
255.255.255.0Leave Default gateway and DNS entries blank.
Verification: Open Command Prompt and run ipconfig to confirm your adapter reflects 192.168.1.100.
Open Windows Defender Firewall with Advanced Security.
Ensure firewall profiles (Domain Profile, Private Profile, and Public Profile) are turned off to prevent blocking inbound TFTP UDP port 69 traffic.
Verification: The overview pane displays "Windows Defender Firewall is off" for all three profiles.
Place your downloaded FortiOS firmware file (
image.out) in a dedicated folder (e.g.,FG Firmware).Launch Tftpd64. Under Current Directory, browse to the folder containing
image.out.Set the Server interfaces drop-down to
192.168.1.100.
Verification: Click Show Dir in Tftpd64 and confirm image.out appears in the file directory list.
Connect an RJ-45 to USB console cable to the FortiGate CONSOLE port.
Open PuTTY, select Serial, enter your active port (e.g.,
COM8), and set the speed to9600baud (8-N-1).Power-cycle the FortiGate. When the message
Please wait for OS to boot, or press any key to display configuration menu...appears, press any key immediately.
Verification: PuTTY displays the boot configuration menu listing commands [C], [R], [T], [F], etc.
Type
Fat the prompt.When prompted with
It will erase data in boot device. Continue? [yes/no]:, typeyesand press Enter.
Verification: The console prints Formatting.........done followed by Done. and returns to the menu prompt.
Type
Cto set up connection parameters (TFTP Server IP192.168.1.100, Local IP192.168.1.99, Firmware Image Nameimage.out).Type
Tto initiate the transfer. The unit will displayConnect to tftp server 192.168.1.100 ...followed by hashes (#).Once
Image Received. Checking image... OKappears, choose:Save as Default firmware/Backup firmware/Run image without saving: [D/B/R]?→ Typed.The default and backup firmware will be lost. Continue: [Y/N]?→ TypeY.
Verification: PuTTY shows Programming the boot device now..., Verifying..., and the unit reboots into partition formatting and system initialization.
Open a Windows Command Prompt window and execute:
ping 192.168.1.99 -t
While the FortiGate builds the filesystem and starts daemons, you will see timeouts.
Verification: The command begins receiving continuous replies (Reply from 192.168.1.99: bytes=32...), confirming default management services are operational.
Open a browser and navigate to
[https://192.168.1.99](https://192.168.1.99).Log in with username
adminand leave the password blank.On the Change Password screen:
Leave Old Password blank.
Enter and confirm your new administrator password, then click OK.
Re-login using
adminand the newly created password.On the Automatic Patch Upgrades setup screen:
Select Disable automatic patch upgrades.
Click Save and continue.
Check the I acknowledge box in the confirmation prompt and click OK.
Verification: You are redirected to the FortiGate Web GUI Dashboard.
In the top-right corner of the Dashboard, click on the admin profile name and navigate to Configuration > Restore.
Select Local PC and click Upload.
Browse and select your configuration backup file (
.conf) and click Open.Enter the configuration password if the file is encrypted, then click OK.
On the confirmation dialog (
Restoring a global system configuration will cause the device to reboot...), click OK.
Verification: The browser displays the System Rebooting screen (Please wait while the system reboots.).
Because restoring the backup replaces the default factory IP with your previously configured production settings, DDNS, and custom ports:
Open Command Prompt and ping your restored production domain or IP (e.g.,
ping rcsvillasis.fortiddns.com -t).Once the unit finishes rebooting and resolves on the network, navigate to your custom access URL (e.g.,
[https://rcsvillasis.fortiddns.com:9443](https://rcsvillasis.fortiddns.com:9443)).Log in with your restored administrative credentials (e.g., username
krumayamand your production password).
Verification: You successfully log into the dashboard with all prior firewall policies, VPNs, interfaces, and hostnames intact.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article