Windows 11 often resets file associations to Microsoft Edge for HTML, HTM, SVG, and other web-related file types after a feature update or a cumulative update. This happens because Microsoft designates Edge as the default handler for these formats, and update processes may silently restore that association. If you prefer another browser such as Chrome, Firefox, or Brave to open HTML files by default, you must take deliberate steps to block Edge from reclaiming that role. This article explains the root cause of the automatic reassignment and provides exact steps to lock your preferred browser as the default for HTML and related file types.
Key Takeaways: Prevent Windows 11 from Resetting HTML File Associations to Edge
- Settings > Apps > Default apps > Choose defaults by file type: Manually set each file extension .html, .htm, .svg, .pdf to your preferred browser.
- Settings > Apps > Default apps > Microsoft Edge > Manage: Remove Edge’s default status for all web-related file types in one place.
- Group Policy or Registry edit for Windows 11 Pro/Enterprise: Disable the ‘Prevent Microsoft Edge from being the default browser’ policy to stop updates from reverting your choices.
Why Windows 11 Reassigns HTML Files to Edge After Updates
Windows 11 uses a set of default app associations that are baked into the operating system image. When you install a feature update like Windows 11 23H2 or a monthly cumulative update, the system may reapply those built-in associations for certain high-priority file types. Microsoft Edge is classified as a critical component for the web platform, so .html, .htm, .svg, .pdf, and .xht files are often reset to Edge even if you had previously changed them.
The reset occurs because the update process overwrites the user-specific association registry keys under HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts with system defaults. This is not a bug; it is by design to maintain compatibility with Microsoft’s web ecosystem. However, you can override this behavior using per-user settings, group policies, or registry modifications.
File Types Affected by the Default Reset
The following extensions are most commonly reassigned to Edge after a Windows update:
- .html and .htm – Hypertext Markup Language files
- .svg – Scalable Vector Graphics files
- .pdf – Portable Document Format files (Edge is the default PDF reader)
- .xht and .xhtml – XHTML files
- .webp – WebP image files (if associated with a browser)
Steps to Set Your Preferred Browser as Default for HTML Files
The following method works for all editions of Windows 11, including Home. It sets the file association for each extension individually and prevents Edge from being the default for those types.
- Open Default Apps Settings
Press Windows + I to open Settings. Go to Apps > Default apps. This page lists all installed applications and their associated file types. - Search for Your Preferred Browser
In the search box under “Set defaults for applications,” type the name of your preferred browser, for example, “Chrome” or “Firefox.” Click the browser name from the results. - Change the .html Association
On the browser’s detail page, scroll down to the list of file types. Locate .html. Click the current default entry (likely “Microsoft Edge”) and select your browser from the pop-up. Click Set default. - Repeat for .htm, .svg, and .pdf
Change each of these file types to your preferred browser using the same method. You must do this for every extension you want your browser to handle. - Verify the Association
Close Settings. Right-click any .html file on your desktop or in File Explorer, choose Open with > Choose another app, and confirm your browser is selected. Check the box “Always use this app to open .html files” and click OK.
Alternative Method: Change Associations by File Type
You can also set defaults directly from the file type list without navigating through each app’s page.
- Open Choose Defaults by File Type
Go to Settings > Apps > Default apps. Scroll down and click Choose defaults by file type. - Locate .html in the List
The list is alphabetical. Scroll to the .html entry. Click the current default app (for example, “Microsoft Edge”) and select your browser from the menu. - Apply the Same Change for .htm and .svg
Repeat the selection for .htm and .svg. Each extension must be changed individually.
Prevent Windows From Resetting Associations Using Group Policy
Windows 11 Pro, Enterprise, and Education editions include Group Policy Editor. You can use it to stop Windows from automatically setting Edge as the default browser for web files.
- Open Local Group Policy Editor
Press Windows + R, typegpedit.msc, and press Enter. If the command is not found, you are on Windows 11 Home and must use the registry method below. - Navigate to the Edge Policy Folder
Go to Computer Configuration > Administrative Templates > Windows Components > Microsoft Edge. - Enable the Policy to Block Edge as Default
Double-click Prevent Microsoft Edge from being the default browser. Set it to Enabled. Click OK. - Apply the Policy
Close Group Policy Editor. Open a Command Prompt as administrator and rungpupdate /forceto enforce the policy immediately.
Registry Alternative for Windows 11 Home Users
If you do not have Group Policy Editor, you can achieve the same result by modifying the registry. Incorrect changes can damage your system, so back up the registry before proceeding.
- Open Registry Editor
Press Windows + R, typeregedit, and press Enter. Click Yes on the User Account Control prompt. - Navigate to the Edge Policies Key
Go toHKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge. If the Edge key does not exist, right-click the Microsoft key, select New > Key, and name it Edge. - Create the DWORD Value
Right-click in the right pane, select New > DWORD (32-bit) Value. Name it DefaultBrowserSettingEnabled. Set the value to 0. - Restart Your PC
Close Registry Editor and restart your computer for the change to take effect. After restart, Windows will no longer force Edge as the default browser for HTML files.
Common Issues After Changing HTML File Associations
HTML Files Still Open in Edge After a Windows Update
If a feature update or cumulative update reverts your associations, you need to apply the Group Policy or registry change described above. Without that policy, updates may overwrite your user settings. After applying the policy, run gpupdate /force and then manually re-assign your browser using the Settings method.
Your Browser Does Not Appear in the Default Apps List
Some browsers do not register themselves correctly during installation. Reinstall the browser from its official website. During installation, ensure the option to “Set as default browser” is checked. If the browser still does not appear, open the browser’s own settings page and look for a “Make default” button.
Edge Keeps Opening PDF Files Even After Changing .pdf Association
Windows 11 may have a separate default for PDF readers under Settings > Apps > Default apps > PDF. Change that entry to your browser or another PDF reader. Also check that your browser’s PDF handling setting is enabled. For example, in Chrome, go to Settings > Privacy and security > Site Settings > Additional content settings > PDF documents and turn on “Download PDF files instead of automatically opening them in Chrome” if you want a different behavior.
Default Browser Association Methods Compared
| Item | Settings App (Per-User) | Group Policy / Registry (System-Wide) |
|---|---|---|
| Editions supported | Windows 11 Home, Pro, Enterprise, Education | Windows 11 Pro, Enterprise, Education (Registry works on Home) |
| Persistence after updates | May be reset by feature updates | Survives all updates unless policy is removed |
| Scope | Affects only the current user account | Affects all users on the device |
| Ease of use | No administrative rights needed | Requires admin rights; Registry edit is more technical |
| File types controlled | All registered extensions for the chosen browser | Prevents Edge from being default for all web-related types |
Using the Settings app gives you quick control without elevated privileges but may need reapplication after major updates. The Group Policy or Registry method provides a permanent block that stops Edge from reclaiming default status even after feature updates. For most business users, combining both approaches offers the most reliable result: apply the registry policy once, then set your preferred browser in Settings.