Active DirectoryGroup Policy

How to Set Microsoft Edge as default browser

In this post I will show you how to set Microsoft Edge as default browser on your computer. We all know that Microsoft Edge is now out of preview and you can download the stable version of Edge.

With that said, the admins might want to set Edge as a default browser for all Windows 10 joined AD-domain computers. Yes that’s possible, just follow the rest of the post to create and deploy GPO to accomplish this.

Click this link to download the latest version of Microsoft Edge for your Windows 10 computer. To know about Edge deployment using SCCM, refer these posts.

On your domain controller, create a new application association file that contains the below info.

<?xml version="1.0" encoding="UTF-8"?>

<DefaultAssociations>

  <Association ApplicationName="Microsoft Edge" ProgId="MSEdgeHTM" Identifier=".html"/>

  <Association ApplicationName="Microsoft Edge" ProgId="MSEdgeHTM" Identifier=".htm"/>

  <Association ApplicationName="Microsoft Edge" ProgId="MSEdgeHTM" Identifier="http"/>

  <Association ApplicationName="Microsoft Edge" ProgId="MSEdgeHTM" Identifier="https"/> 

  <Association ApplicationName="Microsoft Edge" ProgId="MSEdgePDF" Identifier=".pdf"/>

</DefaultAssociations>

Copy the file on a share folder.

Create a GPO

Launch Group Policy Management console. In this example, we will deploy the new policy on the domain level. You may choose to apply the GPO at OU level as well.

So right click on the domain and click Create a GPO in this domain, and Link it here…

Create GPO for Edge

Since you are creating the GPO to set Edge as default browser, specify the GPO name as MSEdge Default browser. Click OK.

Specify the GPO Name

Right click the GPO that you just created and click Edit.

Edit the GPO

Set Microsoft Edge as default browser

In the GPMC editor, browse to Computer Configuration > Administrative Templates > Windows Components > File Explorer. Double click Set a default associations configuration file policy setting.

Set Microsoft Edge as default browser

Select Enabled to enable the policy setting. You can add a comment as well. Next enter the network path of the Default Associations Configuration File. Click OK.

Set Microsoft Edge as default browser

The Set a default associations configuration file policy setting is now enabled.

Set a default associations configuration file policy

Login to a Windows 10 client, open the Command Prompt and force the Group Policy update with gpupdate /force command.

Group policy update

Notice that under Default apps, we have successfully set the default web browser as Microsoft Edge.

Microsoft Edge Default Apps

Verification

If you have a multiple Windows 10 clients and you want check the default browser (Microsoft Edge) for each device, you can execute the following SCCM query:

select SMS_R_System.Name, SMS_G_System_DEFAULT_BROWSER.BrowserProgID from SMS_R_System inner join SMS_G_System_DEFAULT_BROWSER on SMS_G_System_DEFAULT_BROWSER.ResourceID = SMS_R_System.ResourceId order by SMS_R_System.Name

Result :-

Youssef Saad

Hi, I am Youssef Saad from Morocco. I’m currently working on Microsoft Endpoint Configuration Manager and focused on it for more than 3 years. I have also worked in a multiple Microsoft products like MDT, Intune, MBAM. I do my best to publish the maximum of posts and help the communities in a different forums.

Related Articles

One Comment

  1. Since we are only entering .html .htm .http .https .pdf will all the other file types not listed here remain untouched, and retain their current association?

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button