Set default browser

Windows 8 and above

To be able to set the default browser as Internet Explorer or Microsoft Edge, please follow these steps:

A. Create default associations file

  1. Open an administrative PowerShell console:

  2. New-Item -Path "\\$env:USERDOMAIN\SYSVOL\$env:USERDNSDOMAIN" -Type Directory -Name "Settings"

  3. $SettingsPath="\\$env:USERDOMAIN\SYSVOL\$env:USERDNSDOMAIN\Settings"

  4. Start-Process Dism.exe -PassThru "/Online /Export-DefaultAppAssociations:$SettingsPath\AppAssoc.xml"

These steps try and create the default associations file in the SYSVOL folder of the domain controller. You can also just execute step 1d and paste the results to a network share accessible by all computers in the domain.

B. Edit the default associations file: (add if not present)

  1. Notepad "$SettingsPath\AppAssoc.xml"

  2. Edit the following entries (.htm, .html, http, https), and remove other entries if they are not needed.

  • Microsoft Edge

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

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

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

<Association Identifier="https" ProgId="AppX90nv6nhay5n6a98fnetv7tpk64pp35es" ApplicationName="Microsoft Edge" />
  • Internet Explorer

<Association Identifier=".htm" ProgId="htmlfile" ApplicationName="Internet Explorer" />

<Association Identifier=".html" ProgId="htmlfile" ApplicationName="Internet Explorer" />

<Association Identifier="http" ProgId="IE.HTTP" ApplicationName="Internet Explorer" />

<Association Identifier="https" ProgId="IE.HTTPS" ApplicationName="Internet Explorer" />
 

  1. Open Group Policy Management Console(gpmc.msc) and switch to editing any existing policy (or creating a new one).

    1. Navigate to Computer Configuration\Administrative Templates\Windows Components\File Explorer

    2. Double click Set a default associations configuration file, set to Enabled, enter path to AppAssoc.xml (e.g. %USERDOMAIN%\SYSVOL\%USERDNSDOMAIN%\Settings\AppAssoc.xml)

  2. Enforce the resultant GPO by linking it to the appropriate domain.

Note: Users will be able to change the browser after this policy is set.

Windows 7

  1. Configure the local machine that will be used to set the GPO.

    1. Open Control Panel \Programs\Default Programs\Set Default Programs and make Internet Explorer as the default program.

  2. Open Group Policy Management Console(gpmc.msc) and switch to editing any existing policy (or creating a new one).

    1. Navigate to <Computer/User> Configuration\Policies\Preferences\Windows Settings

    2. Right click on Registry\New and Select Registry Wizard.From the Registry Browser Window, select Local Computer and click on Next.

    3. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https Select the ProgId value and make sure that the value looks like below: Select ProgID value in Edit String

    4. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https Select the ProgId value and make sure that the value looks like below: Select ProgId fro HTTPS in Edit String

  3. Enforce the resultant GPO by linking it to the appropriate domain.

Note: Users will be able to change the browser after this policy Is set.

Also see...

Set default search engine

Set default homepage

Expand your Office skills
Explore training
Get new features first
Join Office Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×