Restore Default File Type Associations in Windows 10  

Page 45 of 46 FirstFirst ... 3543444546 LastLast

  1. Posts : 43,004
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #440

    Try clearing the root one after exporting the key.. I guess that's what you're planning on.

    Otherwise try one of the uninstallers I suggested. Scans may function differently.. or the scan may not pick up the unexpected association 'cos it's not linked in a way the tools can pick up.

    I guess it's too late to use a System Restore point to correct the original problem.. expecially as you've probably created a number with the bulk crap tool...
      My Computers


  2. Posts : 33
    Windows 10 Home 22H2 19045.3930
       #441

    Bingo! That seems to have done it! Perhaps deleting both was the key? Either way, everything looks back to normal and it's not showing in Settings (although I'm not sure if that's a bad thing? Haha) :

    Restore Default File Type Associations in Windows 10-screenshot-2023-12-23-201235.jpg

    Checked Veracrypt and everything is still working though.

    Thank you, Brink and dalchina, much appreciated! Have a great Christmas.

    - - - Updated - - -

    dalchina said:
    Try clearing the root one after exporting the key.. I guess that's what you're planning on.

    Otherwise try one of the uninstallers I suggested. Scans may function differently.. or the scan may not pick up the unexpected association 'cos it's not linked in a way the tools can pick up.

    I guess it's too late to use a System Restore point to correct the original problem.. expecially as you've probably created a number with the bulk crap tool...
    Ooops, sorry, posted that before seeing your reply. That was going to be the next thing, not System Restore, but use viBoot and keep going back in time with my Macrium images to see if I could spot it. I first noticed it Thursday gone. I've read enough on here to know to take regular backups! Haha I keep a years worth on multiple drives. Probably overkill, but you never know.

    Thanks again to you both.
      My Computer


  3. Posts : 68,988
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #442

    Great news @Cuspate.
      My Computers


  4. Posts : 57
    Windows 10 Pro 22H2
       #443

    Hello fellow sufferers,

    unfortunately, the file associations has become quite confusing in recent years.
    Is there a good overview somewhere which registry keys play a role and in which order these are processed?

    To test, I gave a file the ending .jjk and then linked it to Notepad with the option "Always use this app...".
    Keys or values were created in the following locations:

    HKCU\Software\Classes\.jjk\
    HKCU\Software\Classes\jjk_auto_file\
    HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jjk\
    HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts\ value: "Applications\notepad.exe_.jjk"
    HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts\ value: "Applications\jjk_auto_file_.jjkk"


    Not used in my example, but is also used in other situations: HKCU\Software\Classes\SystemFileAssociations\
    and apart from the third mentioned branch (FileExts), everything is possibly also (or exclusively) set under HKLM.

    Does anyone have good reading material on how this works in detail?
    If I understand it correctly, built-in tools like ftype, assoc and dism (GPO/DefaultAssociationsConfiguration) (still) cannot handle UserChoice.
    So there's nothing left but edit it manually and using SetUserFTA to set it or does anyone have another tip for a good tool that takes everything into account?

    Many thanks for any advice!
    Regards, Martin
      My Computer


  5. Posts : 68,988
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #444

    mfessler said:
    Hello fellow sufferers,

    unfortunately, the file associations has become quite confusing in recent years.
    Is there a good overview somewhere which registry keys play a role and in which order these are processed?

    To test, I gave a file the ending .jjk and then linked it to Notepad with the option "Always use this app...".
    Keys or values were created in the following locations:

    HKCU\Software\Classes\.jjk\
    HKCU\Software\Classes\jjk_auto_file\
    HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.jjk\
    HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts\ value: "Applications\notepad.exe_.jjk"
    HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\ApplicationAssociationToasts\ value: "Applications\jjk_auto_file_.jjkk"


    Not used in my example, but is also used in other situations: HKCU\Software\Classes\SystemFileAssociations\
    and apart from the third mentioned branch (FileExts), everything is possibly also (or exclusively) set under HKLM.

    Does anyone have good reading material on how this works in detail?
    If I understand it correctly, built-in tools like ftype, assoc and dism (GPO/DefaultAssociationsConfiguration) (still) cannot handle UserChoice.
    So there's nothing left but edit it manually and using SetUserFTA to set it or does anyone have another tip for a good tool that takes everything into account?

    Many thanks for any advice!
    Regards, Martin
    Hello Martin,

    When you (current user) set a default app for a file type using "Open with", that user choice is saved to the registry key below.

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\<file type>\UserChoice
      My Computers


  6. ahi
    Posts : 3
    Windows 10
       #445

    Hello,

    I accidentally changed the default association for a .sav file and now I can't seem to go back to the original setting. Could you please add .sav to the list?

    Thank you for this very helpful thread.
    Josh
      My Computer


  7. Posts : 68,988
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #446

    ahi said:
    Hello,

    I accidentally changed the default association for a .sav file and now I can't seem to go back to the original setting. Could you please add .sav to the list?

    Thank you for this very helpful thread.
    Josh
    Hello Josh, and welcome.

    The REG file below will clear the user choice you just set to restore the default.

    sav.reg

    Code:
    Windows Registry Editor Version 5.00
    
    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.sav\UserChoice]
      My Computers


  8. ahi
    Posts : 3
    Windows 10
       #447

    Thank you for your quick reply.
    I did everything as described in the tutorial, but the extension is still associated to the app I set by mistake.

    I merged the .reg file (admin), got a message confirming that "Keys and values were successfully added to the registry", restarted my computer, but nothing changed.
    I checked the default app for .sav files, still the wrong one.
    I checked the default app for ".reg" files, it is set on Registry Editor, as it should be. Tried merging and restarting again, still not working.
    I checked the registry, and there is no "UserChoice" section, only "OpenWithList" and "OpenWithProgids" (I see the undesired app in "OpenWithList)".

    Any clue on what could be going wrong here?

    Thank you for your help again!
      My Computer


  9. Posts : 68,988
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #448

    ahi said:
    Thank you for your quick reply.
    I did everything as described in the tutorial, but the extension is still associated to the app I set by mistake.

    I merged the .reg file (admin), got a message confirming that "Keys and values were successfully added to the registry", restarted my computer, but nothing changed.
    I checked the default app for .sav files, still the wrong one.
    I checked the default app for ".reg" files, it is set on Registry Editor, as it should be. Tried merging and restarting again, still not working.
    I checked the registry, and there is no "UserChoice" section, only "OpenWithList" and "OpenWithProgids" (I see the undesired app in "OpenWithList)".

    Any clue on what could be going wrong here?

    Thank you for your help again!
    Ok. Let's try the REG file below. It's more thorough.

    sav.reg

    Code:
    Windows Registry Editor Version 5.00
    
    [-HKEY_CLASSES_ROOT\.sav]
    
    [-HKEY_CLASSES_ROOT\SystemFileAssociations\.sav]
    
    [-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.sav]
      My Computers


  10. ahi
    Posts : 3
    Windows 10
       #449

    Now it works.
    Thank you very much!
      My Computer


 

Tutorial Categories

Restore Default File Type Associations in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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 07:41.
Find Us




Windows 10 Forums