Page 1 of 1

Opening Edge URL launches Search instead

Posted: 04 Jul 2022, 13:42
by macrod00d
Hi All,

I have a very simple code to launch Edge with a specific URL:

Code: Select all

Run microsoft-edge:https://www.google.com
The URL is a company internal site, it works for thousands of users, but one user reported an issue where the URL is just going into a Bing search instead of actually going to the URL.
It also appends this before the URL:

--disable-quic --edge-redirect=Windows.Protocol microsoft-edge:https://www.google.com
image.png
image.png (33.93 KiB) Viewed 1033 times
I have no idea why it is doing this just for this one user out of thousands. His edge version is 103.0.1264.44, but I have other users on the same version for whom it is working.

Any ideas how I can troubleshoot this? It's such a simple command I'm not sure what to even try, googling those parameters which got pasted into the bing search hasn't yielded any ideas so far. Any help would be much appreciated!

Re: Opening Edge URL launches Search instead

Posted: 05 Jul 2022, 00:19
by Rohwedder
Hallo,
maybe the search engine was preset in Edge, untested.
Change your default search engine in Microsoft Edge:
https://support.microsoft.com/en-us/microsoft-edge/change-your-default-search-engine-in-microsoft-edge-cccaf51c-a4df-a43e-8036-d4d2c527a791

Re: Opening Edge URL launches Search instead

Posted: 05 Jul 2022, 14:34
by macrod00d
Rohwedder wrote:
05 Jul 2022, 00:19
Hallo,
maybe the search engine was preset in Edge, untested.
Change your default search engine in Microsoft Edge:
https://support.microsoft.com/en-us/microsoft-edge/change-your-default-search-engine-in-microsoft-edge-cccaf51c-a4df-a43e-8036-d4d2c527a791
Yes the search engine is set to Bing on edge, but that's not really the issue here. I'm trying to navigate to a specific URL, but its just pasting the URL into bing instead of navigating to it (and also including some extra command flags which presumably Edge should be capturing).

Re: Opening Edge URL launches Search instead

Posted: 05 Jul 2022, 15:10
by macrod00d
Adding some extra information:

This command is the one that fails causing the URL to just be pasted into bing with some commandline params:

Code: Select all

Run microsoft-edge:https://www.google.com/search?q=testingNormalEdge
However all of these methods seem to work fine, the only downside is they open a new edge window instead of just a new tab on the latest existing Edge window:

Code: Select all

Run "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --app=http://google.com/search?q=testingDirectEdge
Run, msedge.exe "http://google.com/search?q=testingEdgeCommaNewWindow" " --new-window"
But anyway, this one seems to work on this particular users machine. Im just doing testing now to see if it causes issues for anyone else, but looks like this might be a fix for my unknown problem. Honestly I'd rather know why that first command didnt work for proper understanding...

Code: Select all

Run, msedge.exe "http://google.com/search?q=testingEdgeComma"