all,
I recently tried to setup edge as a default bowser in a login script.
#Edge
Set-ItemProperty 'HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice' -name ProgId IE.HTTP
Set-ItemProperty 'HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice' -name ProgId IE.HTTPS
#Chrome
# Set-ItemProperty 'HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice' -name ProgId ChromeHTML
# Set-ItemProperty 'HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice' -name ProgId ChromeHTML
However, when I attempt to open a link in an email, I get a prompt on 'how I would like to open this? ' no matter which browser I set as default?
Is is possible to set a registry key to turn off these prompts in windows?
Ta,
X

Note: I'm unsure if the following will solve your problem, but it's better to use a
ProgIdvalue ofMSEdgeHTMfor Microsoft Edge (for bothhttp://andhttps://):Note:
At least in URL shortcuts and
Start-Processcalls with URLs the above is effective for me on my Windows 11 22H2 system, without prompting.However, you will get a
Select an app to open this .<ext> filedialog on opening HTML files.