Open Cortana Web Search Links in Google Search Using Chrome or Firefox

Clicking on a web search result in Cortana would always launch Microsoft Edge regardless of what your default browser is. However, you can configure Cortana web search links to open with your default web browser. Additionally, you can automatically redirect the search query to Google search instead of Bing.

In April 2018, Microsoft announced that Edge would be the browser that would launch when searching from Cortana, no matter what your default web browser or https protocol association setting is.

While the user interface doesn’t have an option to change the search engine or browser, there is still a way to make Cortana search using Google instead of Bing, using the new microsoft-edge: URL protocol.

Make Cortana Search Using the Default Browser & and Search with Google instead of Bing

  • Option 1 uses the EdgeDeflector tool. It redirects Cortana web searches to your default browser.
  • Option 2 uses a custom script which redirects Cortana web searches to your default browser and changes Bing URL to Google Search.

Option 1: Using EdgeDeflector utility

EdgeDeflector is a small helper application that redirects Cortana search URLs to the default web browser. It registers itself as a microsoft-edge: URL protocol handler in the registry. EdgeDeflector doesn’t have a UI. The program runs only when you click on Cortana web search results, and doesn’t run in the background permanently.

  1. Download EdgeDeflector and install it.
  2. After you install the program, do a Cortana web search. Click on a search result to see the Open with dialog below:

  3. Select EdgeDeflector from the list, select click Always use this app and click OK.

EdgeDeflector is now the default handler for microsoft-edge: URL protocol.

Note: This program doesn’t redirect Bing to Google search. It just passes on the link to your default browser instead of Microsoft Edge. If you want to redirect to Google search as well as use the default web browser, see Method 2 (using script) below.

For a detailed note on how the program works, check out the author’s blog post Open links force-opened in Microsoft Edge in your default browser | Ctrl blog

Option 2: Using a custom Windows Script

This method uses the same idea as EdgeDeflector. The script registers as the handler for microsoft-edge: protocol, just like how EdgeDeflector works. The script below has been tested in Windows 10 v1809 & v1903.

If you’re using Windows 10 build v1803 and lower, make sure to turn off the Optimize taskbar web search results for screen readers option in Microsoft Edge. Turning off that option would cause microsoft-edge: protocol to be used when clicking Cortana web search results.

By associating our custom scriptCortana2Google.vbs with microsoft-edge: URL protocol, you can redirect the results to your default browser, and use Google search engine (if you prefer) instead of Bing.


  1. Download, unzip and extract the contents to a folder.

  2. Double-click Cortana2Google.reg to run it.
  3. Move the file Cortana2Google.vbs to your Windows directory.
  4. Type a search phrase in Cortana box and click on a web search result. The following “How do you want to open this?” dialog would appear for the first time.
  5. Select “Microsoft Windows Based Script Host”, enable “Always use this app” option and click OK.

    open cortana web search in default browser

  6. The microsoft-edge: URL protocol is now the handled by the script.

    open cortana search results in default browser

    Cortana results would be redirected to your default browser and use Google search engine instead of Bing.

    open cortana search results in default browser

By default, the Cortana search query looks like this:


Our custom script ↓ Cortana2Google.vbs extracts only the search query from the URL and redirects to Google & default browser.

Contents of the Script

'Make Cortana Use Default Browser and Google Search to open search results
'Created by Ramesh Srinivasan for
'Updated on June 14 2019 - Tested on Windows 10 v1903

If wscript.arguments.count = 0 Then Wscript.Quit
Set WshShell = WScript.CreateObject("WScript.Shell")
sArgs = wscript.arguments(0)

'Check if the URL comes from Cortana search action
If lcase(instr(sArgs, "&url="))  0 Then
   sBingURL = Split (sArgs, "&url=")
   sGoglURL = Split (URLDecode (sBingURL(1)), "&")
   sGoglURL(0) = Replace (sGoglURL(0), "", "")
   If lcase (left (sGoglURL(0) , 8) = "https://") Then sGoglURL(0)
   'Check if user pressed F1 help button or passed a non-Cortana web link
   If Instr(sArgs, "")  0 Or Left(sArgs, 19) = "microsoft-edge:http" Then
      WshShell.Run Replace(wscript.arguments(0),"microsoft-edge:", "")
      WScript.echo "Can't open the link. The following URL seems invalid:" & _
      vbCrLf & vbcrlf & sArgs
   End If
End If

Function URLDecode (sInput)
   If IsNull(sInput) Then
      URLDecode = ""
      Exit Function
   End If
   URLDecode = sInput
   URLDecode = Replace(URLDecode, "%25", "%")
   URLDecode = Replace(URLDecode, "%20", " ")
   URLDecode = Replace(URLDecode, "%22", """")
   URLDecode = Replace(URLDecode, "%26", "&")
   URLDecode = Replace(URLDecode, "%27", "'")
   URLDecode = Replace(URLDecode, "%2F", "/")
   URLDecode = Replace(URLDecode, "%3F", "?")
   URLDecode = Replace(URLDecode, "%5C", "\")
   URLDecode = Replace(URLDecode, "%3A", ":")
   URLDecode = Replace(URLDecode, "%3D", "=")
   URLDecode = Replace(URLDecode, "%2B", "+")
End Function

Contents of the REG file

While the REG file adds contents to the current user registry keys only, you need administrator privileges to initially move the script file to C:\Windows. That’s optional as well. If you decide to host the script within your user profile if you’re a standard user, then update the script file path in the REG file and then apply it.

Windows Registry Editor Version 5.00

;Make Cortana Use Default Browser and Google Search to open search results
;Created by Ramesh Srinivasan for
;Created on Oct 14 2016
;Modified on May 12 2019
;Works on Windows 10 v1809



"ApplicationDescription"="A custom script to redirect Cortana search results to default browser."


@="wscript.exe c:\\windows\\cortana2google.vbs %1"



Microsoft doesn’t recommend any kind of web search redirection methods though, as that would disturb the personalized and integrated search experience in Windows 10, delivered by Cortana + Edge + Bing combo. Never mind!

That’s it! You’ve made Cortana use your default web browser (instead of Edge) and search with Google instead of Bing search. Hope you liked these script tweaks!

One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support, my reader. It won't take more than 10 seconds of your time. The share buttons are right below. :)

About the author

Ramesh Srinivasan founded back in 2005. He is passionate about Microsoft technologies and he has been a Microsoft Most Valuable Professional (MVP) for 10 consecutive years from 2003 to 2012.

3 thoughts on “Open Cortana Web Search Links in Google Search Using Chrome or Firefox”

  1. Ramesh, you are my hero! The 2nd method works great, but I cannot figure out why when voice commands are given to search the web, nothing happens, it essentially breaks the functionality. But when typing into Cortana/Search, the browser I want opens up perfectly.

    My debugging skills are limited, just wondered if you had any ideas why this might be? I’m up-to-date on my Win 10 (1607, build 14393.351)

    Wanted to thank you otherwise! Microsoft hiring? You fixed their shortcoming with a bit of script!


Leave a Comment