Opening Edge URL launches Search instead

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
macrod00d
Posts: 3
Joined: 04 Jul 2022, 13:36

Opening Edge URL launches Search instead

Post by macrod00d » 04 Jul 2022, 13:42

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 925 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!

Rohwedder
Posts: 7552
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Opening Edge URL launches Search instead

Post by Rohwedder » 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

macrod00d
Posts: 3
Joined: 04 Jul 2022, 13:36

Re: Opening Edge URL launches Search instead

Post by macrod00d » 05 Jul 2022, 14:34

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).

macrod00d
Posts: 3
Joined: 04 Jul 2022, 13:36

Re: Opening Edge URL launches Search instead

Post by macrod00d » 05 Jul 2022, 15:10

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"

Post Reply

Return to “Ask for Help (v1)”