As an administrator, you might need to configure Chrome as the default browser on computers in your domain. You must complete these steps to set Chrome as the default browser on domain-joined computers running Microsoft Windows 10 and above. In addition, Windows has recently made some changes that require setting an additional policy to use Chrome as the default browser for web links that appear in Outlook and Teams.
Set Chrome as default browser
The default application association file is an XML file that associates a file type with an application. For example, if you associate .html or .htm files with the Chrome application, then by default Chrome is launched each time the user opens an html or htm file.
For domain-joined computers, you create a single shared XML file that automatically sets Chrome as the default browser application. You must place this file in a shared folder, on your server, that all of the domain-joined computers can access.
Note: If Chrome is not installed on the target computer, the file associations are not applied and users must choose an application when they open a link (http or https) or file (html or htm).
Download the default application association file
It is possible to have various Chrome channels installed side-by-side in Windows. Below are example xml files showing how to set a specific Chrome channel as the default browser to open html, htm, http and https files or links.
Chrome Stable example (chromedefault.xml):
<?xml version="1.0" encoding="UTF-8"?>
<DefaultAssociations>
<Association Identifier=".htm" ProgId="ChromeHTML" ApplicationName="Google Chrome" />
<Association Identifier=".html" ProgId="ChromeHTML" ApplicationName="Google Chrome" />
<Association Identifier="http" ProgId="ChromeHTML" ApplicationName="Google Chrome" />
<Association Identifier="https" ProgId="ChromeHTML" ApplicationName="Google Chrome" />
</DefaultAssociations>
Chrome Beta example ( chromedefault.xml):
<?xml version="1.0" encoding="UTF-8"?>
<DefaultAssociations>
<Association Identifier=".htm" ProgId="ChromeBHTML" ApplicationName="Google Chrome Beta" />
<Association Identifier=".html" ProgId="ChromeBHTML" ApplicationName="Google Chrome Beta" />
<Association Identifier="http" ProgId="ChromeBHTML" ApplicationName="Google Chrome Beta" />
<Association Identifier="https" ProgId="ChromeBHTML" ApplicationName="Google Chrome Beta" />
</DefaultAssociations>
Chrome Dev example ( chromedefault.xml):
<?xml version="1.0" encoding="UTF-8"?>
<DefaultAssociations>
<Association Identifier=".htm" ProgId="ChromeDHTML" ApplicationName="Google Chrome Dev" />
<Association Identifier=".html" ProgId="ChromeDHTML" ApplicationName="Google Chrome Dev" />
<Association Identifier="http" ProgId="ChromeDHTML" ApplicationName="Google Chrome Dev" />
<Association Identifier="https" ProgId="ChromeDHTML" ApplicationName="Google Chrome Dev" />
</DefaultAssociations>
Note: The default association policy is set at each login. The user can change an association after they login, but the change applies to that login session only. The association will be reset to the policy at the next login.
The Group Policy Management console lets you create and manage Group Policy Objects (GPO) for your domain. These GPOs control the policies that are applied to all your domain-linked computers. After you create the GPO, you use security filtering to apply it to the computers in your domain.
In the following example, you create a GPO (Set Chrome as default browser) and apply it to computers in the domain (chromeforwork.com).
- Open the Group Policy Management Console. Go to Start > All programs > Administrative Tools > Group Policy Management.
- In the navigation pane, go to Group Policy Management > Domains > chromeforwork.com.
- Right-click on the domain name (in this example, the name is chromeforwork.com), click Create a GPO in this domain, and Link it here...
- Type the name of the new GPO (in this example, the name is Set Chrome as default browser) and click OK.
- In the navigation pane, go to Group Policy Management > Domains > chromeforwork.com > Group Policy Objects and select Set Chrome as default browser.
- In the Security Filtering pane, click Add.
- In the Select User, Computer, or Group window, type the name of the object you want to add, click Check Names (to verify the name you entered), and click OK.
You can type Domain Computers to add all workstations and servers joined to this domain (as in the example below) or you can specify a different group of computers.
- The GPO now applies to all domain-linked computers.
To set the default associations configuration file for domain-linked computers, you edit the related GPO on your windows server. In the following steps, use the same GPO and domain names from Step 2 (in this example, chromeforwork.com).
- Open the Group Policy Management Console.
Go to Start > All programs > Administrative Tools > Group Policy Management.
- In the navigation pane, click Group Policy Management > Domains > chromeforwork.com.
- Click the Linked Group Policy Objects tab to view all GPOs for this domain.
- Right-click on the GPO you want to select, and click Edit to open the Group Policy Management Editor.
In this example, right-click on Set Chrome as default browser.
- In the Group Policy Management Editor, go to Computer Configuration > Policies > Administrative Template > Windows Components > File Explorer, and double-click Set a default associations configuration file.
- In the Set a default associations configuration file window, select the Enabled option.
- In the Options box, enter the location of your default application association XML file.
This is the XML file that associates file types (such as .htm, .html, http, and https) with the Chrome application. This can be the Google provided sample XML file or one you created yourself.
Note: The file can’t be a local file on the server. It must be at a location that is accessible to every computer in the domain.
On your target computers (that is, the Active Directory domain-joined computers running Windows 10 and above), you can verify that the GPO you created has been applied, and that the computer is using Chrome as the default browser.
The GPO is applied automatically when the policy is refreshed by the Windows Client, or you can run the GPUpdate.exe /force
command to force a manual refresh at any time.
Note: After the policy is downloaded and applied, the computer must be rebooted in order for the policy to take effect.
- On a Windows Client, go to Windows > System32. Right-click rsop.msc and select run as administrator.
- Authenticate with administrator credentials and click Yes.
- Go to Computer Configuration > Administrative Templates > Windows Components > File Explorer to confirm that Set a default associations configuration file is available.
- Open the Set a default associations configuration file to confirm that the setting is enabled and that the XML file location is correct.
- When Chrome is set as the default browser, then all files with htm and html extensions use the Chrome icon.
Set Chrome as the default browser for web links in Microsoft Outlook and Teams
Microsoft has made changes to Windows and now web links in Outlook and Teams open in Microsoft Edge by default. To configure Windows to open web links in Chrome, complete one of the following options.
- Open the Microsoft 365 Apps admin center.
- Go to Customization > Policy Management
- Click Create.
- In the Start with the basics page, enter the name and a description if needed and click Next.
- In the Choose the scope page, select your scope and click Next.
- In the Configure Settings page, type browser into the search box and click Enter.
- From the search results, select Choose which browser opens web links.
- In the Choose which browser opens web links box, select Default Browser from the list.
- Click the Apply.
- In the Configuration Settings page, click Next.
- Review the configuration and click Create and Done.
Using the Group Policy Management console, you can create and manage Group Policy Objects (GPO) for your domain. These GPOs control the policies that are applied to all your domain-linked computers. After you create the GPO, you use security filtering to apply it to the computers in your domain.
In the following example, you create a GPO and apply it to computers in the chromeforwork.com domain.
- Go to Start > All programs > Administrative Tools > Group Policy Management.
- On the left, go to Group Policy Management > Domains.
- Right-click on the chromeforwork.com domain, and click Create a GPO in this domain, and Link it here...
- In the Name field, type the name of the new GPO, for example Set Chrome as default browser, and click OK.
- On the left, go to Group Policy Management > Domains > chromeforwork.com > Group Policy Objects and select Set Chrome as default browser.
- Under Security Filtering, click Add.
- In the Enter the object name to select field, type the name of the object you want to add.
- Click Check Names to verify the name you entered and click OK.
- You can type Domain Computers to add all workstations and servers joined to this domain (as in the example below) or you can specify a different group of computers.
The GPO now applies to all domain-linked computers.
Related topics
More details from Microsoft TechNet:
Google and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.