Forum Discussion
New Downloads and Collections Menus
And when it open it, the manual feature we enable by modifing a shortcur, are ignored.
i search a way (who resist to edge update) to "force" these feature even in this case.
- HotCakeXJan 27, 2021MVPCan you share it please
- WittycatJan 27, 2021Iron Contributorexactly, to be update proof, i have pushed a script who apply the reg update through GPO, like that if edge update remove the flags one reboot and the flags are back
- HotCakeXJan 27, 2021MVP
eddiezato wrote:
HotCakeX wrote:
is "--single-argument %1" only a place holder?I think it is.
so about that,
"%1" represent the file used as param of the msedge command. So basically it's your "MSEdgHTM" file. If you remove it, open a MSEdgeHTM file will just open msedge.exe without opening the file inside it.
"--single-argument :"
https://chromium.googlesource.com/chromium/src/+/master/base/command_line.h
The single-argument switch prevents unexpected parsing of arguments from other software that cannot be trusted to escape double quotes when substituting into a placeholder (e.g., "%1" placeholders populated by the Windows shell).
So its purpose is to be sure that the next argument (%1) will be interpreted correctly as a single argument.
It's probably better to keep it.
- HotCakeXJan 27, 2021MVPAh good thing I didn't do it then xD
just modified the current registry, but hey, it's exactly what you wanted - WittycatJan 27, 2021Iron ContributorWarning in stable version of W10 (2009), if you rename MSEdgeHTM to MSEdgeHTM2 it will reset automatically the setting to MSEdgeHTM (in my case the MSEdgeHTM2 is the backup of MSEdgeHTM (since i use the stable version))
I don't have found (for now) a way to prevent this auto reset of the settings. - eddiezatoJan 27, 2021Iron Contributor
HotCakeX wrote:
is "--single-argument %1" only a place holder?I think it is.
HotCakeX wrote:
and could this be done for Edge canary? not sure what its registry path is in "HKEY_CLASSES_ROOT"Sorry, I'm using Canary without installation. So I don't have much to say about it's paths in Registry.
But you always can modify exe-path in command.

- HotCakeXJan 26, 2021MVPThank you, that worked!
is "--single-argument %1" only a place holder?
and could this be done for Edge canary? not sure what its registry path is in "HKEY_CLASSES_ROOT" - eddiezatoJan 26, 2021Iron Contributor
This path contains settings for default browser. For me it is:
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice] "ProgId"="MSEdgeHTM""MSEdgeHTM" leads us to:
[HKEY_CLASSES_ROOT\MSEdgeHTM\shell\open\command] @="\"C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe\" --single-argument %1"We can modify this command. Or duplicate whole registry key "MSEdgeHTM" to "MSEdgeHTM2", then change command in "MSEdgeHTM2" and set "ProgId" to "MSEdgeHTM2".
- HotCakeXJan 26, 2021MVPThis only applies to Edge stable?
how to add the features/flags in that registry path? - eddiezatoJan 26, 2021Iron Contributor
Wittycat wrote:
when you click on a link and edge is closed, it search somewhere in the os what is the default browser and open it.For Windows it is in the Registry, but I recommend changing it only to those users who fully understand what they are doing.
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\Shell\Associations\URLAssociations\{http|https}\UserChoice