How to change and force the default browser in Windows 11

Who I am
Philippe Gloaguen
@philippegloaguen
SOURCES CONSULTED:

support.microsoft.com

Author and references

When Windows 10 was first released, Microsoft forced users to use Edge for everything. Users could change their default browser but web requests from other apps or the operating system were directed to Edge. To get around this, users have been using the Edge Deflector app but it doesn't work on Windows 11 and Microsoft is forcing users to use Chromium Edge.

Windows 11 default browser

Chromium Edge is the stock browser on Windows 11 and you can change it to any other browser of your choice from the Settings app. The only problem is that although it is possible to change the default browser in Windows 11, the operating system will still send some requests to Edge. Specifically, the search from the Start menu or the Windows search will go to Edge and not the default browser. To solve this problem, there is a script.



How to change default browser in Windows 11

Before forcing Windows 11 to use the default browser, you need to set it up.

  • Open the Settings app with the Win + I keyboard shortcut.
  • Go to App.
  • Select Default apps.
  • Select Default Browser and select your preferred browser.

Now that you've set your default browser, you can force Windows 11 to use it for everything.

  • Visit the .
  • Copy the script to the clipboard.
  • Open PowerShell with administrator rights.
  • Paste it into PowerShell and hit Enter.
  • When a new window opens, tap any key on the keyboard to close it.
  • Web searches will now be redirected to your default browser.

If you feel you want to undo the change or if it is causing problems for your system, you can remove the script. All you have to do is run the script again. Copy it from Github, paste it into PowerShell and tap Enter. The new window that opens will indicate that the script has been removed and you will be good to go.



add a comment of How to change and force the default browser in Windows 11
Comment sent successfully! We will review it in the next few hours.