By Manny Fernandez

September 7, 2026

FortiGate Quick Tip: Restoring the Two Free FortiTokens After a Factory Reset

FortiGate Quick Tip: Restoring the Two Free FortiTokens After a Factory Reset

Ran execute factory reset on a FortiGate and now the two free FortiToken Mobile licenses are gone from User & Authentication > FortiTokens? Good news: nothing was actually lost. Here is the fast fix.

Why This Happens

The two free tokens are FortiToken Mobile trial licenses, tracked under a license string that looks like FTMTRIALXXXXXXXX. That license lives against your FortiGuard entitlement, not in the local config file. A factory reset wipes the local config user fortitoken table, so the GUI shows zero tokens, but the trial entitlement itself is untouched. You just need to pull it back down.

The Fix

Step 1: Confirm FortiGuard reachability.

The trial download is a live request to FortiGuard, so the unit needs to be registered and able to reach FortiGuard first. Check the License Information widget on the Dashboard, or confirm the serial number shows as registered on the Fortinet Support portal, before moving on.

Step 2: Import the trial tokens (GUI).

Go to User & Authentication > FortiTokens > Create New > Mobile Token. You may also see an Import Free Trial FortiToken button on the same page. Enter the activation code below, hyphens included, then click OK.

0000-0000-0000-0000-0000

Step 2 (alternative): Import the trial tokens (CLI).

execute fortitoken-mobile import 0000-0000-0000-0000-0000

Step 3: Verify.

Both tokens should reappear in the FortiTokens list under the FTMTRIAL license, ready to assign to users or admin accounts.

A Note on VDOMs

If VDOMs are enabled, the trial tokens live in the management VDOM, which is root by default. Run the import from there.

Common Errors

Error Meaning Fix
-7571 Unit not registered, or no FortiGuard reachability yet Confirm registration on the Support portal and internet/FortiGuard path, then retry
-7566 Malformed activation code Re-enter as 0000-0000-0000-0000-0000, hyphens included

AI Data Leakage: Myths, Reality, and Locking It Down With Local Models

AI Data Leakage: Myths, Reality, and Locking It Down With Local Models

Learn what AI data leakage really means, which myths to ignore, and how to lock down local models with Ollama, host firewalls and FortiGate...

Read More
The Dark Web: The Good, the Bad and the Ugly (Myths vs. Reality)

The Dark Web: The Good, the Bad and the Ugly (Myths vs. Reality)

Dark web myths debunked: what is real, what is hype, what to avoid, how to stay legal, and how to block Tor on a...

Read More
FSSO Mobility Agent on VDI: Identify Chromebook Users Behind Parallels RAS with FortiAuthenticator

FSSO Mobility Agent on VDI: Identify Chromebook Users Behind Parallels RAS with FortiAuthenticator

Run the FSSO Mobility Agent in a VDI golden image so FortiGate identifies Chromebook users on Parallels RAS, and know when the TS Agent...

Read More