New
#1
Edge executable file location in registry
Where do I find the C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe path in the registry?
Thanks!
Where do I find the C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe path in the registry?
Thanks!
Ok great. Thank you. For some reason I don't have the HKLM\Software\Classes\microsoft-edge\etc. key.
You are running Edge Chrome, right?
My issue...I am running Edge v90 with command line parameters to enable the new extensions menu, tab search, tab stirp, etc. that for some reason don't have dedicated flags to enable.
e.g. "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --enable-features=msExtensionsHub,msTabSearch,ScrollableTabStrip,msWorkspaces,WindowNaming
I added the features to the end of the taskbar, start menu and desktop Edge icons. When I run edge by clicking the icons, Edge launches with these parameters.
However.....if I launch edge by clicking *.url internet shortcuts as well as htm, html, mhtm, mhtml files that are saved to my local drive (as edge is the default url, html, mhtml handler), this action bypasses the shortcut with parameters to activate the new features and opens edge without the tab search, scrollable tab bar, and most importantly, extensions menu. There is no way to modify the msedge.exe file in Program Files to add the parameters, just the shortcuts mentioned above.
From this reddit post, I found if the apps path in the registry is modified with the same parameters as above, Edge (or Chrome) can be run with the enabled features.
Can I ALWAYS run Chrome with some flags enabled on Windows? : chrome
What I would like to do is find the correct app path registry keys that are associated with C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe and add the parameters in the registry key to have chrome.exe always launch with the features, even with url or html files.
Does my approach make sense? Which of the registry keys you listed above would I modify? I cannot find the first key and that seems to be the one most likely to modify. Would I modify the app paths keys instead or as well?
Or....would I go to HKLM\Software\Classes\Internet Shortcut\ (and other files) and modify the Shell\Open\command msedge.exe string instead?
Thanks!
I'm running W10 1909 64bit with Chromium Edge 32bit installed.
That key you asked about:
I cannot suggest which entry or entries to modify. I just posted a list of locations that were found.Code:Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\microsoft-edge] @="URL:microsoft-edge" "URL Protocol"="" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\microsoft-edge\shell] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\microsoft-edge\shell\open] [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\microsoft-edge\shell\open\command] @="\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" \"%1\""
Try to see if this works; first backup the key, if it doesn' work reverse the change .
key:
note that all our extra parameters go BETWEEN the msedge.exe program path and --single-argument %1 as shown aboveCode:HKCR\MSEdgeHTM\shell\open\command ORIGINAL COMMAND: "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --single-argument %1 NEW COMMAND: "C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --enable-features=msExtensionsHub,msTabSearch,ScrollableTabStrip,msWorkspaces,WindowNaming --single-argument %1
The command MSEdgeHTM key should hopefully work for most common associations such as url, htm, html etc.
For PDF files, you can try the command which appears under:
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MSEdgePDF
(again if it doesn't work as aove, reverse it).
That works! Thank you! saved URL files/internet shortcuts open with parameters.
Only difference is that I added the "--enable-features=msExtensionsHub,msTabSearch,ScrollableTabStrip,msWorkspaces,WindowNaming" strings to HLKM rather than HKCR sets of keys.
Question....I posted a reply/follow up question to this thread a week ago. Any idea to the question I posed?
Change "Open with" list items
Thanks!
- - - Updated - - -
Please see the 2nd to the last post below. That solution works!
- - - Updated - - -
@Brink, would the solution in this post be worth creating a tutorial or adding to an existing tutorial about enabling Edge features in as parameters, otherwise not available as flags?
Re: Your question regarding "..how do you get the default browser (in this case, Edge) to show up as "Microsoft Edge" rather than "Internet Browser" ? ", I have no idea about how to do it.
I haven't yet tried your method of addig "Open With" for .url files, but there is another NirSoft utility called MuiCacheView which seems able to change friendly "Application Names".
MUICacheView - Edit/delete MUICache items
which shows this entry
Application Path:
C:\Windows\System32\ieframe.dll.FriendlyAppName
Application Name:
Internet Browser
This is the only direct reference to the name "Internet Browser" that I could find anywhere.
Perhaps, changing that "Application Name" might give you what you are looking for.
For eg. if I change this entry
C:\Program Files\Internet Explorer\IEXPLORE.EXE.FriendlyAppName Internet Explorer
to
C:\Program Files\Internet Explorer\IEXPLORE.EXE.FriendlyAppName Internet Explorer2
then, when Right-Clicking on an .htm file, I do get Open With Internet Explorer2 instead of Internet Explorer (the icon remains the same).
However, I have not done any extended testing which might or might not reveal any problems/bugs with this change.
nb: I would be cautiously on the lookout for any unforeseen consequences that it might have, so I personally would make my usual backup image and proceed thenceforth.
(pn: MuiCacheView doesn't seem to work for all 'friendly' application names).
Last edited by das10; 01 May 2021 at 10:57. Reason: corrections
Thank you for the reply. MUICacheView does have change the name of "internet browser" to "microsoft edge" (or whatever else you want). The associated registry key is
If I change "internet browser" to "microsoft edge", the associated house icon does not change. Do you know where the appropriate registry key to change to the edge icon would be? I searched ieframe.dll in the registry and turned up scores and scores of choices.Code:HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache
Thanks!