How to Export and Import Custom Default App Associations for New Users in Windows 10
You can use the default application association-servicing commands to import, export, list, and remove the settings that specify which application opens a file based on the file name extension type or protocol.
See also: Export or Import Default Application Associations | Microsoft Docs
This tutorial will show you how to export and import your custom default app associations in Windows 10 to be applied for each new user afterwards during their first sign in.
You must be signed in as an administrator to be able to export, import, and remove default app associations.
Contents
- Option One: To Export Custom Default App Associations
- Option Two: To Import Custom Default App Associations for New Users
- Option Three: To Remove Custom Default App Associations
This option exports the custom default app associations from your account to an .xml file.
1 Choose all of the default apps you want to open files with. This is what will be exported.
2 When finished, open an elevated command prompt.
3 Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below)
4 You will now have a MyDefaultAppAssociations.xml file on your desktop that is your custom default app associations.
5 You can now close the elevated command prompt if you like, or continue on to Option Two below to import the .xml file.
This option imports your exported custom default app associations from Option One to be applied for each new user afterwards during their first sign in instead of using Windows default app associations.
Users will still be able to make changes to their default apps.
1 If you have not already, copy the exported MyDefaultAppAssociations.xml file from Option One to your desktop.
2 Open an elevated command prompt.
3 Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below)
dism /online /Import-DefaultAppAssociations:"%UserProfile%\Desktop\MyDefaultAppAssociations.xml"
If you renamed the MyDefaultAppAssociations.xml file or it's at another location than your desktop, then you will need to change the part of the command in red below for the new name and/or full path.
4 You can now close the elevated command prompt if you like.
This option removes the imported custom default app associations from Option Two to have Windows default app associations applied for each new user afterwards during their first sign in instead of your custom default app associations.
1 Open an elevated command prompt.
2 Copy and paste the command below into the elevated command prompt, and press Enter. (see screenshot below)
3 You can now close the elevated command prompt if you like.
That's it,
Shawn
Related Tutorials
- How to Choose Default Apps to Open Files with in Windows 10
- How to Add Default Apps to Desktop Context Menu in Windows 10
- How to Restore Default Apps for File Extension Type Associations in Windows 10
- How to Add a New User Account in Windows 10
- How to Fix 'An app default was reset' Error in Windows 10