Export and Import Default App Associations in Windows 10

Export and Import Default App Associations in Windows 10: Windows support different programs to open a particular type of application, for example, a text file can be opened with notepad as well as WordPad and you can also associate a particular type of file to open with your favorite programs. For example, you can associate the .txt files to always open with notepad. Now once you associate the file type with the default application, you want to stay them as it is but sometimes Windows 10 resets them to Microsoft-recommended defaults.

Export and Import Default App Associations in Windows 10

Whenever you upgrade to a newer build, Windows typically reset your app associations to default and thus you lose all your customization and app associations in Windows 10. In order to avoid this scenario you could export your default app associations and whenever needed you can easily import them back. So without wasting any time let’s see How to Export and Import Default App Associations in Windows 10 with the help of the below-listed tutorial.

Export and Import Default App Associations in Windows 10

Make sure to create a restore point just in case something goes wrong.

Method 1: Export Custom Default App Associations in Windows 10

1.Press Windows Key + X then select Command Prompt (Admin).

command prompt admin

2.Copy & paste the below command into cmd and hit Enter:

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

Export Custom Default App Associations in Windows 10

Note: As soon as you hit Enter, there would be a new file on your desktop with the name “DefaultAppAssociations.xml” which would contain your custom default app associations.

DefaultAppAssociations.xml would contain your custom default app associations

3.You can now use this file to import your custom default app associations at any time you want.

4.Close the elevated command prompt and then restart your PC.

Method 2: Import Custom Default App Associations for New Users in Windows 10

You can either use the above file (DefaultAppAssociations.xml) to import your custom default app associations or import them for a new user.

1.Login to your desired user account (Either your user account or the new user account).

2.Make sure to copy the above-generated file (DefaultAppAssociations.xml) to the user account you just logged into.

Note: Copy the file to the desktop for the particular user account.

3.Now copy & paste the following command into cmd and hit Enter:

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

Import Custom Default App Associations for New Users in Windows 10

4.As soon as you hit Enter you will set a custom default app associations for the particular user account.

5.Once done, you can now close the elevated command prompt.

Method 3: Completely Remove Custom Default App Associations

1.Press Windows Key + X then select Command Prompt (Admin).

command prompt with admin rights

2.Copy & paste the below command into cmd and hit Enter:

Dism.exe /Online /Remove-DefaultAppAssociations

Completely Remove Custom Default App Associations

3.Once the command finish processing, close the elevated command prompt.

Recommended:

That’s it you have successfully learned How to Export and Import Default App Associations in Windows 10 but if you still have any questions regarding this tutorial then feel free to ask them in the comment’s section.

Related Articles

Leave A Comment?

This site uses Akismet to reduce spam. Learn how your comment data is processed.