Last active
April 13, 2021 20:03
-
-
Save riteshkawadkar/28172d98bbfcf526056aeacdab731ffc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # dism /online /Export-DefaultAppAssociations:"path\to\defaultassociations.xml" | |
| # Use Export on system whose default app associations you wish to copy | |
| # Use Import on User profile where you want your app to be associated | |
| dism /online /Import-DefaultAppAssociations:"path\to\defaultassociations.xml" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <DefaultAssociations> | |
| <Association Identifier=".pdf" ProgId="AcroExch.Document.DC" ApplicationName="Adobe Acrobat Reader DC" /> | |
| <Association Identifier="mailto" ProgId="Outlook.URL.mailto.15" ApplicationName="Outlook" /> | |
| </DefaultAssociations> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have compiled a basic file for you, to set the default associations of Outlook and Adobe Reader - defaultassociations.xml
You can always use Export command for exporting new file