Page 1 of 4 123 ... LastLast
    Default App Associations - Export and Import for New Users in Windows

    Default App Associations - Export and Import for New Users in Windows

    How to Export and Import Custom Default App Associations for New Users in Windows 10
    Published by
    2015-07-22
    Designer Media Ltd

    Published by


    Brink's Avatar
    Administrator

    Posts: 17,517

    Show Printable Version 


    How to Export and Import Custom Default App Associations for New Users in Windows 10

    information   Information
    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.

    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






    Default App Associations - Export and Import for New Users in Windows OPTION ONE Default App Associations - Export and Import for New Users in Windows
    To Export Custom Default App Associations

    Note   Note
    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)

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

    Click image for larger version. 

Name:	export_default_app_associations.png 
Views:	445 
Size:	22.0 KB 
ID:	25452

    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.






    Default App Associations - Export and Import for New Users in Windows OPTION TWO Default App Associations - Export and Import for New Users in Windows
    To Import Custom Default App Associations for New Users

    Note   Note
    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)
    Note   Note
    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.


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

    Click image for larger version. 

Name:	import_default_app_associations.png 
Views:	326 
Size:	21.8 KB 
ID:	25453

    4. You can now close the elevated command prompt if you like.






    Default App Associations - Export and Import for New Users in Windows OPTION THREE Default App Associations - Export and Import for New Users in Windows
    To Remove Custom Default App Associations

    Note   Note
    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)

    Dism.exe /Online /Remove-DefaultAppAssociations

    Click image for larger version. 

Name:	remove_default_app_associations.png 
Views:	285 
Size:	18.9 KB 
ID:	25454

    3. You can now close the elevated command prompt if you like.



    That's it,
    Shawn



  1. Joined : Jul 2015
    Posts : 6
    Windows 10 Pro x64
       2015-08-18 #1

    you test the import option after Windows reinstallation?
      My System SpecsSystem Spec


  2. Joined : Oct 2013
    Posts : 17,517
    64-bit Windows 10 Pro build 15014
       2015-08-18 #2

    Hello VandIT,

    As long as the apps you have set as default are installed, it'll work.
      My System SpecsSystem Spec


  3. Joined : Jul 2015
    Posts : 6
    Windows 10 Pro x64
       2015-08-18 #3

    it does not work, after reinstalling and import of MyDefaultAppAssociations.xml, I am asked what program, I want to set as the default ...
      My System SpecsSystem Spec


  4. Joined : Oct 2013
    Posts : 17,517
    64-bit Windows 10 Pro build 15014
       2015-08-18 #4

    Is the app you had set as default selected to continue to use as the default app?

    Just to note, this will only affect new accounts that you added after importing.
      My System SpecsSystem Spec


  5. Joined : Jul 2015
    Posts : 6
    Windows 10 Pro x64
       2015-08-18 #5

    Brink said: View Post
    Is the app you had set as default selected to continue to use as the default app?
    NO

    Brink said: View Post
    Just to note, this will only affect new accounts that you added after importing.
    how can I understand that? Create an account? Why it does not work with existing account?
      My System SpecsSystem Spec


  6. Joined : Oct 2013
    Posts : 17,517
    64-bit Windows 10 Pro build 15014
       2015-08-18 #6

    I'm not sure what you mean by how you can understand that?

    It doesn't work with existing accounts, because this will only set the default associations for new users created afterwards. See the information box at the top of the tutorial to help.
      My System SpecsSystem Spec


  7. Joined : Aug 2015
    Posts : 5
    Windows 10 Pro
       2015-11-14 #7

    Brink said: View Post
    I'm not sure what you mean by how you can understand that?

    It doesn't work with existing accounts, because this will only set the default associations for new users created afterwards. See the information box at the top of the tutorial to help.
    Does it work if add the exported commands in autounattend.xml file, for clean install?
      My System SpecsSystem Spec


  8. Joined : Oct 2013
    Posts : 17,517
    64-bit Windows 10 Pro build 15014
       2015-11-14 #8

    SunLion said: View Post
    Does it work if add the exported commands in autounattend.xml file, for clean install?
    Hello SunLion, and welcome to Ten Forums.

    I've never tried it, but it won't hurt to give it a try.

    If you do, please let us know how it went.
      My System SpecsSystem Spec


  9. Joined : Jul 2015
    Posts : 147
    Windows 10 x64
       2015-11-14 #9

    SunLion said: View Post
    Does it work if add the exported commands in autounattend.xml file, for clean install?
    I've never used it in an unattend file, but I do have it run in a script on first login, so I suspect it would work in an unattend file, too.

    This is the only automated way to keep default file associations for new users after Sysprep is run. This was actually changed in Windows 8 (and kept the same in Windows 10), but since so few people deployed Windows 8, few people know about this change from Windows 7.
      My System SpecsSystem Spec


 
Page 1 of 4 123 ... LastLast


Similar Threads
Tutorial Category
Default File Type Associations - Restore in Windows 10
How to Restore Default Apps for File Extension Type Associations in Windows 10 A default app is the program that Windows uses automatically when you open a particular file type or protocol. This tutorial will show you how to restore the...
Tutorials
When plugging iphone in to import pictures. Difference from Windows 8
In Windows 8, I would plug my phone in and it would display all the pictures on the phone and highlight the new ones. I would then click IMPORT. Boom. Done. With Windows 10 it doesnt seem as straight forward. I plug my phone in and sometimes...
Software and Apps
No way to import bookmarks in Spartan?
Can't find an option to import bookmarks in Spartan. Please let me know if I am missing it. Thanks.
Browsers and Email
No way to import bookmarks?
In the Edge browser is there no way to import bookmarks? They've shown up in Spartan but not this time with 10122. Jim
Browsers and Email
Firefox - Import and Export Bookmarks via HTML
How to Import and Export Bookmarks via HTML in Firefox This tutorial will show you how to easily export and import your bookmarks in the Mozilla Firefox web browser using HTML files. As well as acting as a backup of your bookmarks this is also...
Tutorials
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 00:03.
Find Us
Twitter Facebook Google+



Windows 10 Forums