Configure Default Browser in Regedit
This article provides a direct guide on how to configure default browser protocols, specifically HTTP and HTTPS, using the Windows Registry Editor (Regedit). By navigating to specific registry paths and updating the target application identifiers (ProgIDs), you can associate web protocols with your browser of choice.
Step 1: Identify Your Browser’s ProgID
Before modifying the registry, you need the Programmatic Identifier (ProgID) of your desired browser:
- Google Chrome:
ChromeHTML - Microsoft Edge:
MSEdgeHTM - Mozilla Firefox:
FirefoxURLorFirefoxHTML - Brave Browser:
BraveHTML
Step 2: Open the Registry Editor
- Press
Windows Key + Rto open the Run dialog box. - Type
regeditand press Enter. - Click Yes if prompted by User Account Control (UAC).
Step 3: Configure UserChoice for HTTP and HTTPS
In Windows, user-specific protocol associations are stored under the
UrlAssociations key.
For HTTP:
In the Registry Editor address bar, navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoiceDouble-click the ProgId string value in the right pane.
Set the Value data field to your browser’s ProgID (e.g.,
ChromeHTML).Click OK.
For HTTPS:
Navigate to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoiceDouble-click the ProgId string value in the right pane.
Set the Value data field to the identical ProgID used for HTTP.
Click OK.
Step 4: Configure Protocol Handlers (System-Wide Fallback)
To ensure system-level components recognize the browser, update the base protocol handlers:
Navigate to:
HKEY_CLASSES_ROOT\http\shell\open\commandDouble-click the (Default) value.
Set the value to the full path of the browser executable followed by
"%1".
Example for Chrome:"C:\Program Files\Google\Chrome\Application\chrome.exe" -- "%1"Repeat the same step for the HTTPS key at:
HKEY_CLASSES_ROOT\https\shell\open\command
Step 5: Apply and Verify Changes
- Close the Registry Editor.
- Restart the Windows Explorer process via Task Manager or reboot your computer to ensure the new registry settings take effect.
- Click any web link in an external application (such as an email client or text document) to confirm that it opens in your specified browser.