How to find and export all default apps? DISM Export-DefaultAppAssociations only returns partial information.

PlasticBezel 1 Reputation point
2021-02-03T18:01:18.067+00:00

When I use the command "Dism /Online /Export-DefaultAppAssociations:"F:\AppAssociations.xml" I only get an XML with only partial file types and their associations. I am running the command in a CMD shell using an admin account with admin access. I change the "F:" target to an existing folder where I have full rights. The resulting XML only lists maybe 2 dozen files types, none of which I'm interested in. Is there any way to dump all file associations to an XML or any way to find the file associations in the registry?

My main concern is a pair of third-party programs that opens specific file types... lets say that the file types are ABC and ABCD files. When I use the DISM command above, I do not see any references to the ABC or the ABCD files.

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Joy Qiao 5,792 Reputation points Microsoft Employee Moderator
    2021-02-04T04:23:02.543+00:00

    Hi,

    Did you run that command line with administrator privilege?

    I tried DISM export command on my side, all of the default app file associations almost 100 have been exported on existing account.

    dism /online /Export-DefaultAppAssociations:"%UserProfile%\Desktop\MyDefaultAppAssociations.xml"

    Do you want to export a special app file association as I noticed you said none of which you interested in?

    Bests,

    ============================================

    If the Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.