Windows 10: Edge hijacking the .HTM and/or .HTML extention

Discus and support Edge hijacking the .HTM and/or .HTML extention in Windows 10 Gaming to solve the problem; I have gone through re-associating .HTML files to Firefox over and over and over again. But days later, once again Edge is Hijacking the .HTML file... Discussion in 'Windows 10 Gaming' started by Capt. Jake Huddy, May 15, 2024.

  1. Edge hijacking the .HTM and/or .HTML extention


    I have gone through re-associating .HTML files to Firefox over and over and over again. But days later, once again Edge is Hijacking the .HTML file extension.It is a recurring problem.With .PDF files there is a MS Edge Policy [ AlwaysOpenPdfExternally=1 ] but there is no .HTML policy.I have a specific HTML application that denies Edge Use. So I want .HTML to permanently be associated to Firefox.I am tired of going through the PITA process, over and over again, of choosing Settings --> Apps to re-associate the extension back to Firefox.Either Microsoft has to fix the issue but their hubri

    :)
     
    Capt. Jake Huddy, May 15, 2024
    #1
  2. PerOgre Win User

    Can't stop Microsoft Edge from hijacking .pdf and .htm files

    Hi again,

    Before reinstalling Windows I decided to try registry changes. It seems to do the trick!

    Here is what I did:

    1) Start Regedit

    Search for regedit.exe

    Open regedit as administrator by right click on it and choose "run as administrator"

    2) Find keys identifying the hijacking

    a) Expand HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Packages

    b) Locate Microsoft Edge

    In my case

    Microsoft.MicrosoftEdge_38.14393.0.0_neutral__8wekyb3d8bbwe

    Expand Microsoft.MicrosoftEdge_38.14393.0.0_neutral__8wekyb3d8bbwe => MicrosoftEdge => Capabilities

    Look at all the file extension keys and their values

    Make a note of the values for file extensions that Edge hijacks.

    In my case I have these hijacked file extensions:

    .pdf => AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723

    .htm => AppX4hxtad77fbk3jkkeerkrm0ze94wjf3s9

    .html > AppX4hxtad77fbk3jkkeerkrm0ze94wjf3s9

    In my example there where 2 different hijacking keys that Edge uses to hijack my .pdf and .htm files:

    AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723

    AppX4hxtad77fbk3jkkeerkrm0ze94wjf3s9

    Repeat 2b if you have other hijacking apps from Microsoft (other than Edge) i.e. Groove music hijacking .mp3 etc.

    3) Locate those hijacking keys and add strings to make Edge keep off

    a) For each hijacking key

    Expand HKEY_CURRENT_USER\SOFTWARE\Classes\<hijacking key>

    Example: Expand HKEY_CURRENT_USER\SOFTWARE\Classes\AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723

    Select the Hijacking key in the left pane.

    b) In the right pane, right click and select New => String Value

    Set Value Name to NoOpenWith

    (Leave Data empty)

    Repeat b, but the second String Value is named NoStaticDefaultVerb

    Repeat 3 for each hijacking key

    Exit regedit

    Go to Windows Settings, search for "Choose default app for each file type". Find your file extensions and select your favorite apps.

    Done!

    Final note:

    Hijacking might resume when windows is updated, so you might need to go through all these steps again if this happens.

    Somebody should make an app fixing these settings automatically! I see a great market potential!

    Best regards,

    Per
     
    PerOgre, May 15, 2024
    #2
  3. Ramesh Srinivasan, May 15, 2024
    #3
  4. Edge hijacking the .HTM and/or .HTML extention

    How to Stop Edge From Hijacking my PDF or HTML Associations

    How to Stop Edge From Hijacking my PDF or HTML Associations ...every time i run windows 10 the default app of pdf and html be Edge
     
    houssemlameche, May 15, 2024
    #4
Thema:

Edge hijacking the .HTM and/or .HTML extention

Loading...
  1. Edge hijacking the .HTM and/or .HTML extention - Similar Threads - Edge hijacking HTM

  2. Edge hijacking the .HTM and/or .HTML extention

    in Windows 10 Software and Apps
    Edge hijacking the .HTM and/or .HTML extention: I have gone through re-associating .HTML files to Firefox over and over and over again. But days later, once again Edge is Hijacking the .HTML file extension.It is a recurring problem.With .PDF files there is a MS Edge Policy [ AlwaysOpenPdfExternally=1 ] but there is no...
  3. Edge Browser and/or Windows 10 Hijacking Default Apps for PDF, html, etc.

    in Windows 10 Software and Apps
    Edge Browser and/or Windows 10 Hijacking Default Apps for PDF, html, etc.: Hi,I know this question has been asked, but I have had trouble finding a definitive/permanent solution.I'm running Windows 10 Pro, and periodically Edge will suddenly deem itself to be the default app for opening files such as PDF and .html. I do not want to use Edge to...
  4. Edge Browser and/or Windows 10 Hijacking Default Apps for PDF, html, etc.

    in Windows 10 Customization
    Edge Browser and/or Windows 10 Hijacking Default Apps for PDF, html, etc.: Hi,I know this question has been asked, but I have had trouble finding a definitive/permanent solution.I'm running Windows 10 Pro, and periodically Edge will suddenly deem itself to be the default app for opening files such as PDF and .html. I do not want to use Edge to...
  5. Edge Browser and/or Windows 10 Hijacking Default Apps for PDF, html, etc.

    in Windows 10 Gaming
    Edge Browser and/or Windows 10 Hijacking Default Apps for PDF, html, etc.: Hi,I know this question has been asked, but I have had trouble finding a definitive/permanent solution.I'm running Windows 10 Pro, and periodically Edge will suddenly deem itself to be the default app for opening files such as PDF and .html. I do not want to use Edge to...
  6. Edge Hijacking PDFs

    in Windows 10 Customization
    Edge Hijacking PDFs: Microsoft Edge hijacking pdf as default appears to have been a problem for some years now. Having Microsoft advise how to temporarily revert to the users preferred application is unacceptable.As I understand it, Microsoft Edge cannot be uninstalled and will continue to...
  7. How to Stop Edge From Hijacking my PDF or HTML Associations

    in Windows 10 Customization
    How to Stop Edge From Hijacking my PDF or HTML Associations: How to Stop Edge From Hijacking my PDF or HTML Associations ...every time i run windows 10 the default app of pdf and html be Edge https://answers.microsoft.com/en-us/windows/forum/all/how-to-stop-edge-from-hijacking-my-pdf-or-html/fe4af742-09a2-4e05-9eba-c9caed4c8a6d
  8. Edge hijacked by advert

    in Browsers and Email
    Edge hijacked by advert: Looking through news on Sky, I had an advert for antiwrinkle cream appear and stop me shutting down Edge. I went to task manager and shut down Edge, that didn't work, so I restarted W10 and as soon as I opened the browser it was back, I then shut down Windows and on...
  9. Edge Hijacking?

    in AntiVirus, Firewalls and System Security
    Edge Hijacking?: Is this a highjacking? Did scans with Defender, Mbam, Adwcleaner and Hitman Pro, which none detected. Could not open Edge without it appearing. Finally solved with a backdated recovery. 22737
  10. Double click doesn't open htm/html files

    in Windows 10 Software and Apps
    Double click doesn't open htm/html files: Hi, in my new Hp EliteBook 850 G4, I've a very strange issue. I can't try a restore, since company gave me it after configurating it and updating to the last version of Windows 10 Pro 64 bit with Windows Update, and the issue was from the beginning. I've Microsoft Edge,...