Prevent Windows 10 from resetting your default apps

Windows 10 is well known for resetting apps which the user has set by default. After various updates and build upgrades, Windows 10 resets the default browser back to Edge, the email app back to the Universal Windows Platform Mail app. The same happens for Photos, Groove Music and so on. If you are getting annoyed by having your file associations reset to default Metro apps after certain updates, here is how you can try to prevent it.


Actually, updates are not the only reason why Windows 10 resets your default apps. When no file association has been set by the user, or when an app corrupts the UserChoice Registry key while setting associations, it causes file associations to be reset back to their Windows 10 defaults. The UserChoice key stores an encrypted hash which indicates that the association was set by the user and not by some malware. It is a part of the new protection mechanism which exists in the operating system since Windows 8.

For instance, Photos may take over your image file associations after an update, or due to the above mentioned reason. When this happens, Action Center notifies you that an app default was reset: w10-photos-takeover-3

To fix this manually, you can apply a simple Registry tweak. For the Photos app for example, the following steps need to be done:

  1. Open Registry Editor.
  2. Go to the following Registry key:
    HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Packages\Microsoft.Windows.Photos_16.122.14020.0_x64__8wekyb3d8bbwe\App\Capabilities\FileAssociations

    Windows 10 prevent file associations reset
    Tip: You can access any desired Registry key with one click.
    Note: The above key is only applicable if you have version v16.122.14020.0_x64 of the Photos app installed, which is the current version on my PC as of this writing. If you have any other version or build number, choose the appropriate key. It will be in this format:

    Microsoft.Windows.Photos_nn.nnn.nnnnn.n_x64__8wekyb3d8bbwe

    Where the nnn… is a placeholder for the actual version/build number. Also watch out for the x64/x86 portion.

  3. In the right-pane, look at the value of the image file type, e.g. .jpg. In the screenshot below, it is AppX43hnxtbyyps62jhe9sqpdzxn1790zetc: Windows 10 prevent file associations jpeg
  4. Now go to the following key:
    HKEY_CURRENT_USER\SOFTWARE\Classes\VALUE_FROM_THE_PREVIOUS_STEP

    In our case it is

    HKEY_CURRENT_USER\SOFTWARE\Classes\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc

    AppX43hnxtbyyps62jhe9sqpdzxn1790zetc

  5. Create a new string value here named NoOpenWith and don't set its value data (leave it empty): Windows 10 stop file associations reset nopoenwith

This will prevent the Photos app from taking over image files type associations! You need to repeat these steps for every app which takes over your default apps. After that, Windows 10 will not change your default file associations.

To save your time, you can use the following Registry tweak, which is tested and works in Windows 10 build 10586 as of this writing:

Windows Registry Editor Version 5.00

;-------------------
;Microsoft.3DBuilder
;-------------------
;File Types: .stl, .3mf, .obj, .wrl, .ply, .fbx, .3ds, .dae, .dxf, .bmp
;... .jpg, .png, .tga
[HKEY_CURRENT_USER\SOFTWARE\Classes\AppXvhc4p7vz4b485xfp46hhk3fq3grkdgjg]
"NoOpenWith"=""

;-------------------
;Microsoft Edge
;-------------------
;File Types: .htm, .html
[HKEY_CURRENT_USER\SOFTWARE\Classes\AppX4hxtad77fbk3jkkeerkrm0ze94wjf3s9]
"NoOpenWith"=""

;File Types: .pdf
[HKEY_CURRENT_USER\SOFTWARE\Classes\AppXd4nrz8ff68srnhf9t5a8sbjyar1cr723]
"NoOpenWith"=""

;File Types: .svg
[HKEY_CURRENT_USER\SOFTWARE\Classes\AppXde74bfzw9j31bzhcvsrxsyjnhhbq66cs]
"NoOpenWith"=""

;File Types: .xml
[HKEY_CURRENT_USER\SOFTWARE\Classes\AppXcc58vyzkbjbs4ky0mxrmxf8278rk9b3t]
"NoOpenWith"=""

;-------------------
;Microsoft Photos
;-------------------
;File Types: .3g2,.3gp, .3gp2, .3gpp, .asf, .avi, .m2t, .m2ts, .m4v, .mkv
;... .mov, .mp4, mp4v, .mts, .tif, .tiff, .wmv
[HKEY_CURRENT_USER\SOFTWARE\Classes\AppXk0g4vb8gvt7b93tg50ybcy892pge6jmt]
"NoOpenWith"=""

;File Types: Most Image File Types
[HKEY_CURRENT_USER\SOFTWARE\Classes\AppX43hnxtbyyps62jhe9sqpdzxn1790zetc]
"NoOpenWith"=""

;File Types: .raw, .rwl, .rw2 and others
[HKEY_CURRENT_USER\SOFTWARE\Classes\AppX9rkaq77s0jzh1tyccadx9ghba15r6t3h]
"NoOpenWith"=""

;-------------------
; Zune Music
;-------------------
;File Types: .aac, .adt, .adts ,.amr, .flac, .m3u, .m4a, .m4r, .mp3, .mpa
;.. .wav, .wma, .wpl, .zpl
[HKEY_CURRENT_USER\SOFTWARE\Classes\AppXqj98qxeaynz6dv4459ayz6bnqxbyaqcs]
"NoOpenWith"=""

;-------------------
; Zune Video
;-------------------
;File Types: .3g2,.3gp, .3gpp, .avi, .divx, .m2t, .m2ts, .m4v, .mkv, .mod
;... .mov, .mp4, mp4v, .mpe, .mpeg, .mpg, .mpv2, .mts, .tod, .ts
;... .tts, .wm, .wmv, .xvid
[HKEY_CURRENT_USER\SOFTWARE\Classes\AppX6eg8h5sxqq90pv53845wmnbewywdqq5h]
"NoOpenWith"=""

Here you can download ready-to-use reg files:

Download Registry Files

After you have applied this tweak, you need to open Control Panel > Default Programs and set file associations or app defaults as you prefer. None of the built-in Universal Apps should reset the file associations from now on.

That's it.

18 thoughts on “Prevent Windows 10 from resetting your default apps

  1. elrond

    If I understand correctly, these reg entries might stop working after any app update (new version). This shouldn’t have happened in the first place or the very least there should have been a simple option to disable this behavior (prevent Store apps from taking over file associations without asking). More than likely, it’s another way to force users to use their crappy apps, as most users don’t know how to change things back, let alone edit the registry.

    So if you are getting annoyed by having your file associations reset… don’t use a crappy OS like Windows 10 where you can’t even control your file associations.

    Well-loved. Like or Dislike: Thumb up 24 Thumb down 5

    Reply
    1. Sergey Tkachenko Post author

      Well, you definitely will not have any Windows 10 related issue if you decided to not use it. Such method can “fix” issues with any software!

      Well-loved. Like or Dislike: Thumb up 10 Thumb down 6

      Reply
  2. Mark

    I don’t use movies and tv app and it was driving me crazy, Windows kept changing the defaults back to it. This works and I am slightly less crazy. Thanks

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
    1. Sergey Tkachenko Post author

      You are welcome.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  3. Uwe

    This does not work – in perspect of Windows 10 letting you alone and letting you choose your own applications. If you apply these changes (which I did weeks ago) Windows ten will then set old Windows 8 applications as default for your pictures and music. Just html and pdf seem to be alone (because Microsoft missed to have app for these files in Win 8 or handled html different)….

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  4. G.Schoorl

    This fix might be fine for who understand computers. At 68 years of age I have not the capability to try and change things as you suggest. I believe it was the latest update that caused this problem but I am not able to uninstall this update It happened today when on start up it installed KB3140741. All my apps were changed back to microsoft settings and every time I rest the apps the setting are changed automatically. Why can’t I just uninstall this update.
    This is freakish control by microsoft who are only interested in one thing, that is to take over the world.

    Well-loved. Like or Dislike: Thumb up 8 Thumb down 0

    Reply
    1. Kim Taylor

      Microsoft = Jack-booted thugs of the computer world. Their arrogance is second to none.

      Like or Dislike: Thumb up 1 Thumb down 1

      Reply
  5. Shadoi

    Is there a way to script telling the computer to choose default apps? In our business we use Adobe Reader XI and Mozilla Firefox on Win 10. Both I personally configure to be the default app in their respective settings then deploy them as msi’s in gpo’s. Can’t believe Windows would say they are corrupt when Windows itself is corrupt.

    Like or Dislike: Thumb up 1 Thumb down 0

    Reply
    1. Bob

      Starting with Windows 8, the operating system no longer cares about default app preferences set inside the apps. All defaults must be configured from Default Program Control Panel otherwise they get ignored.

      Like or Dislike: Thumb up 0 Thumb down 0

      Reply
  6. David

    When you right click over a file, choose “open with” and then “choose another app”, you get a list of applications, and a check box on the bottom for “always choose this app to open — files”. Which is the simplest way to choose default programs. After applying this tweak, the check box no longer appears.

    Like or Dislike: Thumb up 1 Thumb down 1

    Reply
  7. Lavi

    Just turn off all the notification

    Poorly-rated. Like or Dislike: Thumb up 0 Thumb down 4

    Reply
  8. Chloe

    Thanks for this. I was having a problem with Windows 10 resetting the default on all my image files, but nothing else. Weird. Anyway this appears to have fixed the problem after a reboot, so here’s hoping it sticks! :)

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  9. Carlo

    I see this being a nightmare to manage and maintain for any real length of time.
    If what I’m reading is correct, every time Microsoft decides to update these default components, these registry key changes that we are performing here become invalid.
    You will need to start the process from the beginning, finding the new application hash key for the updated version, create a new registry entry into your gpo, test it, and push it out all over again.
    This will become never ending and even more time consuming.
    If you are like most IT administrators, you don’t have the time, and probably are under staffed as well, to be checking this out every time Microsoft decides to push out updates.
    Hopefully a better solution is found soon.

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
    1. Adam

      The “better solution” you are hoping for is to get Microsoft to quit resetting the chosen defaults. But don’t hold your breath. They’re doing it intentionally.

      The only reason Windows should EVER need to ask me again how I want to open a file type for which I have already chosen a default app is if said app gets uninstalled. And that USED to be the way it was. But not any more. Microsoft is pushing its new “Metro” apps and they’re trying to force users to use them by constantly resetting file associations.

      The notification that pops up is that “an app caused a problem with the default app setting for .nnn files, so it was reset to” whatever app they choose. The problem I have with this notification is that I have on occasion had one or more (as many as 4 different notifications at once) file types reset when I didn’t even have any applications open. So it seems the “app” that keeps causing the problem is Windows itself (or Windows Update), and it is causing the “problem” by design, not by accident.

      Well-loved. Like or Dislike: Thumb up 4 Thumb down 0

      Reply
  10. DaveWS

    This no longer seems to work with the Anniversary update. I checked, my registry settings are still set as above, even the version of Edge (14.14393) agrees, but W10 is still changing my PDF and HTML defaults when it pleases.

    Like or Dislike: Thumb up 3 Thumb down 0

    Reply
    1. CESDewar

      I have read dozens of websites with solutions, and have applied ALL of them, but the fixes are still constantly being reset. Every morning, I have to go through all the associations and reset them manually – I have tried setting up REG files to reset things automatically, but still, nothing works. I am seriously debating getting rid of win10 and going back to Win7 for this reason alone as Win7 worked fine for me – the “enhancements” in Win10 are more for novices, not experienced users, and It seems Microsoft is hiring more and more novice programmers who don’t understand the importance of providing preference settings for things they change, or at least ways to reset them (even if it does require editing the registry to do it).

      Like or Dislike: Thumb up 3 Thumb down 0

      Reply
  11. Emerson

    Which reg file do you import first?

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply
  12. zakius

    I liked file and URI associations the most probably on 8.1
    If whatever added itself to list of apps opening this kind it would ask if you want to change at first use, nothing reset, nothing broke

    Like or Dislike: Thumb up 0 Thumb down 0

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *