Edge executable file location in registry

Page 1 of 2 12 LastLast

  1. Posts : 521
    Win7 Pro X64, Win10 Pro x640
       #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!
      My Computer


  2. Posts : 6,839
    22H2 64 Bit Pro
       #2


    Edge executable file location in registry-registry-seek.jpg
      My Computer


  3. Posts : 521
    Win7 Pro X64, Win10 Pro x640
    Thread Starter
       #3

    Callender said:

    Edge executable file location in registry-registry-seek.jpg
    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!
      My Computer


  4. Posts : 6,839
    22H2 64 Bit Pro
       #4

    I'm running W10 1909 64bit with Chromium Edge 32bit installed.

    That key you asked about:


    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\""
    I cannot suggest which entry or entries to modify. I just posted a list of locations that were found.
      My Computer


  5. Posts : 6,839
    22H2 64 Bit Pro
       #5
      My Computer

  6.   My Computers


  7. Posts : 3,274
    Win10
       #7

    Try to see if this works; first backup the key, if it doesn' work reverse the change .
    key:

    Code:
    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
    note that all our extra parameters go BETWEEN the msedge.exe program path and --single-argument %1 as shown above
    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).
      My Computers


  8. Posts : 521
    Win7 Pro X64, Win10 Pro x640
    Thread Starter
       #8

    das10 said:
    Try to see if this works; first backup the key, if it doesn' work reverse the change .
    key:

    Code:
    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
    note that all our extra parameters go BETWEEN the msedge.exe program path and --single-argument %1 as shown above
    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 - - -

    Callender said:
    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?
      My Computer


  9. Posts : 3,274
    Win10
       #9

    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
      My Computers


  10. Posts : 521
    Win7 Pro X64, Win10 Pro x640
    Thread Starter
       #10

    das10 said:
    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).
    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

    Code:
    HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache
    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.

    Thanks!
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:34.
Find Us




Windows 10 Forums