Would you like to learn how to use the command-line to configure Mozilla Firefox as the default browser? In this tutorial, we will show you how to configure Firefox as the default browser of Windows using the command line.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
• Windows 7

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Windows Related Tutorial:

On this page, we offer quick access to a list of tutorials related to Windows.

Tutorial Windows - Configure Firefox as the default browser via command-line

Download and extract the application named SETUSERFTA.

In our example, this is the path to the SETUSERFTA command.

Copy to Clipboard

As an Administrator, start an elevated command-line.

Windows - Elevated command prompt

Access the SETUSERFTA application directory.

Copy to Clipboard

Configure Mozilla Firefox as the default browser.

Copy to Clipboard

An alternative command to configure Mozilla Firefox as the default browser.

Copy to Clipboard

Verify if Mozilla Firefox was configured as the default browser.

GPO - Default browser Mozilla Firefox

In our example, Mozilla Firefox was configured as the default browser of Windows using the command-line.