Forgotten Sophos Firewall Admin Password: Reset and Recover
If the password for the built-in admin account is genuinely lost, a physical Sophos Firewall does not need to be fully reset to factory settings. On the serial console, entering RESET in uppercase opens a recovery menu. Option 4 resets only the default admin password to its factory value.
⚠️ For password recovery alone, use Option 4 exclusively. Options 1 through 3 delete configurations or other data and are not alternative password-reset methods.
Identify the Actual Login Problem First
Not every failed login requires this recovery procedure:
- The current password is known: Change it normally under Administration > Device access > Default admin password settings. 2 System Configuration > 1 Set password for user admin also requires the current password and therefore is not a recovery method for a forgotten password.
- The password works, but the MFA token is unavailable: Only MFA needs to be skipped or reset. The procedure is documented under Recover MFA for Sophos Firewall.
- WebAdmin and SSH are unreachable: The problem is usually the management IP, routing, or Device Access. Resetting the password does not change these settings. Device Access and Local Service ACL explains the access paths.
- A Named Admin or external login fails: Option 4 applies only to the built-in
adminaccount. Named Admins, RADIUS, and SSO are recovered through the appropriate second administrator or identity provider. - The default admin password is unknown or is definitely rejected: For a physical appliance, follow the serial recovery method in this article.
This distinction prevents an unnecessary reset. In particular, Option 4 alone does not fix a missing login page or a lost MFA token.
Requirements for Serial Recovery
The following are required:
- a physical Sophos Firewall with an RJ45 COM or Micro-USB console port;
- a suitable console cable and a computer with a serial terminal program such as PuTTY;
- the COM port actually in use and a connection speed of
38400baud; - a trusted local management path for the first WebAdmin login;
- access to both appliances in HA because the serial password reset is not synchronized to the peer.
On production or HA systems, prepare the procedure and, where possible, perform it during a maintenance window. Sophos describes Option 4 as a password reset but does not state that it is interruption-free. A current backup remains sensible even though Option 4 is explicitly separate from a factory reset.
Reset the Admin Password Through the Serial Console
Open the Serial Connection
- Connect the computer to the firewall’s RJ45 COM or Micro-USB port.
- On Windows, open Device Manager and identify the COM port under Ports, for example
COM7. - In PuTTY, select Connection type: Serial.
- Under Serial line, enter the identified port.
COM7is only an example and must be replaced with the port shown locally. - Under Speed, enter
38400and start the connection with Open.
On macOS or Linux, another serial terminal program can be used. The correct serial device and 38400 baud are what matter; this is not a normal SSH connection over the network.
Select Only Option 4
Once the serial console is open, enter the following value entirely in uppercase:
RESET
The menu that appears contains several actions with very different effects:
- Option 1 deletes custom configurations.
- Option 2 deletes custom configurations and resets updated pattern signatures.
- Option 3 additionally deletes reports, logs, and personal data and resets updated pattern signatures.
- Option 4 resets the default admin password.
For this procedure, enter Option 4 and confirm the prompt. RESET is not a Linux or Device Console command here; it opens the special serial-console menu. This is why the option number must be checked again before confirmation.
Sign In with the Factory Password and Secure the Account
After the reset, use the existing management IP and configured WebAdmin port. If the default port has not been changed, a local example looks like this:
https://192.0.2.1:4444
192.0.2.1 is a documentation address and must be replaced with the actual management IP. Then sign in with these factory credentials:
Username: admin
Password: admin
The firewall then prompts for a new password. It must contain at least ten characters, including an uppercase letter, lowercase letter, number, and special character, and it must not be a commonly used password or dictionary word. Store the new password in the designated password manager, apply it with Apply, then sign out and sign in again to verify it.
The factory password must not remain active beyond this first login. Do not expose WebAdmin over WAN for this purpose; change the password through the existing trusted management path.
Option 4 is not an MFA reset. Password and MFA recovery are separate actions. If MFA still blocks access after Option 4, use an accessible Device Console and run 2 System Configuration > 7 Reset multi-factor authentication for Admin user. If this access is also unavailable, contact Sophos Support. The complete MFA procedure is documented under Recover MFA for Sophos Firewall.
Special Considerations for HA, Virtual, and Cloud Firewalls
Bring Both HA Appliances to the Same Password State
In an HA cluster, the password reset must be performed separately on both appliances. Resetting only the Primary is not sufficient because this step is not synchronized to the Auxiliary.
- Run Option 4 through the serial console of the current appliance.
- Run Option 4 separately on the peer appliance.
- Sign in to the Primary’s WebAdmin with
admin/admin. - Set a new secure password.
- Verify the HA state and login afterwards.
The reason for this sequence is that the newly set password is synchronized only when both appliances previously had the same password. After both nodes have individually been reset to the factory value, the Primary can synchronize the new password to the Auxiliary again.
Virtual, Software, and Cloud Firewalls
The publicly documented SFOS 22 recovery method explicitly refers to the physical RJ45 COM and Micro-USB ports. It does not establish a general, supported RESET procedure for every hypervisor or provider console used by virtual, software, or cloud firewalls.
If the firewall is already managed in Sophos Central, is online, and is accessible with a Central account that has full administrative rights, WebAdmin can be opened through Central and the local admin password changed there. Otherwise, check the hypervisor or provider console, the existing recovery plan, and Sophos Support before redeploying the instance or restoring a backup.
Checks After Recovery
Signing in is only the first success. Check the following afterwards:
- Sign out and sign in again with the new password.
- Test MFA for the default admin and securely store additional one-time codes.
- Verify a second authorized administration path and any existing SSH public keys. Connect to Sophos Firewall via SSH explains key management.
- Continue to allow WebAdmin and SSH under Administration > Device access only from the intended networks.
- Update the password, responsible people, and recovery procedure in the password manager or emergency runbook.
- Review configuration changes and any Central user identities recorded in the Audit Trail; also check Central access in Sophos Central.
- Keep the backup file, backup password, and SSMK separate but discoverable. A backup restore does not replace the existing default admin password.
FAQ
Does Option 4 Delete the Firewall Configuration?
Can a Backup Restore the Forgotten Admin Password?
Does RESET Also Work on a Virtual or Cloud Firewall?
RESET procedure. First check an existing Central connection with full administrative rights, the platform console, and the recovery method supported by Sophos.