File type associations are not working

ExDeF

Member
Messages
80
Reaction score
10
Hi!
Please tell me after deleting which component the file associations may not work:

Dism.exe /Online /Import-DefaultAppAssociations My Disk:\AppAssociations.xml

p.s. UCPD driver has been removed.
 
There isn't a single component for File Type Associations, it's handled by File Explorer.

The problem is the imported XML (written to \Windows\System32\OEMDefaultAssociations.xml) is a baseline, and the default UWP apps which are provisioned later can overwrite the registry CLSID's. You may need a tool like SetUserFTA to change them again after the install.
 
I run Dism.exe /Online /Import-DefaultAppAssociations My Disk:\AppAssociations.xml
after installing the system and restarting a few times.
It works on the original image.
 
Excluded from removal:
Components > System Apps > File Explorer (Legasy)
Associations work fine.
 
Excluded from removal:
Components > System Apps > File Explorer (Legasy)
Associations work fine.
I remove this component, and it works with these command lines
But I do it in the image, not under Windows (and there's no problem with associating apps like Notepad, etc...)

Code:
Dism /Online /Export-DefaultAppAssociations:"C:\Users\tistou\Desktop\AppAssociations.xml"
Dism /Image:D:\M11W\Mount /Import-DefaultAppAssociations:C:\Users\tistou\Desktop\AppAssociations.xml
 
Back
Top