This week is another follow-up on the posts of the last weeks about customizing Windows 11 devices. This week, however, is focused on customizing the default app accosiations on Windows 11 devices. Customizing the default app associations enables organizations to associate specific apps with file and link types, for their users. Besides that, this post is also an updated version of this post of over four years ago. Even though not a lot has changed, the configuration did become easier. This post goes through the creation of the required app assocations file, folowed with applying that file on Windows 11 devices. This post ends with showing the user experience with the customized app assoications.
Important: My personal opinion is that – as with every other customization – the default app associations should be left untouched, when possible. In most cases the user and their apps will create their own app associations, when needed.
Creating the custom app associations in Windows 11
When looking at the configuration options for the default app associations on Windows 11, all the configurations are already available on Windows 10. The biggest change, however, is that in the meantime the configuration options via Microsoft Intune got slightly better. At least no need for using the ApplicationDefaults/DefaultAssociationsConfiguration policy in a custom configuration profile. That ADMX-backed policy setting is now available in the Settings Catalog and can be used to apply an XML-file with the required configuration. The following four steps go through the actions to configure the required app associations, to export the required XML-file and to encode that XML-file to Base64 format.
- On a Windows 11 device, open Settings > Apps > Default apps and configure the required app associations
- Open Windows Terminal and run
dism /online /export-defaultappassociations:defappass.xmlto export the XML-file with the configured app associations
- Take out the required app assocation that should be configured on the Windows 11 devices
<DefaultAssociations> <Association Identifier="mailto" ProgId="Outlook.URL.mailto.15" ApplicationName="Outlook"/> </DefaultAssociations>
- Open a Base64 encoder, like Base64 Encode and Decode – Online, and encode the content of the exported XML-file with the XML-file with the configured app associations to Base64 format
Important: Different configuration rules apply for organizations that are still into OS deployments. In that case taking out a part of the exported XML-file might cause An app default was reset messages on first boot (see for more information the docs here).
Configuring the custom app associations in Windows 11
When looking at actually applying custom app associations on Windows 11, the ApplicationDefaults/DefaultAssociationsConfiguration policy can be used. That ADMX-backed policy can be used to set the default file type and protocol associations. When set, the default associations are applied during the sign-in on Windows 11. The configuration of that policy can be achieved by using the Settings Catalog. The following eight steps walk through the creation of the Settings Catalog profile, with the required settings.
- Open the Microsoft Endpoint Manager admin center portal and navigate to Devices > Windows > Configuration profiles
- On the Windows | Configuration profiles blade, click Create profile
- On the Create a profile blade, provide the following information and click Create
- Platform: Select Windows 10 and later to create a profile for Windows 10 devices
- Profile: Select Settings catalog to select the required setting from the catalog
- On the Basics page, provide the following information and click Next
- Name: Provide a name for the profile to distinguish it from other similar profiles
- Description: (Optional) Provide a description for the profile to further differentiate profiles
- Platform: (Greyed out) Windows 10 and later
- On the Configuration settings page, as shown below in Figure 1, perform the following actions and click Next
- Click Add settings and perform the following in Settings picker
- Select Application Defaults as category
- Select Default Associations Configuration as setting
- Configure the selected settings with the following values
- Provide the created value with Default Associations Configuration
- On the Scope tags page, configure the required scope tags and click Next
- On the Assignments page, configure the assignment and click Next
- On the Review + create page, verify the configuration and click Create
Important: When customizing the default app associations, the existing associations of the user for the customized app associations will be overwritten.
User experience with the custom app associations in Windows 11
The best place to look at the configuration is by looking at the user experience. Figure 2 provides an overview of the customized app associations on Windows 11. It provides an overview that shows the example configuration that changes the mailto-link to Outlook. Besides that, it seems to imply that there is nothing preventing the user from making adjustments. That is, however, not true. Yes, the user can adjust the configured app association, but with the next sign-in the applied configuration will be back.
Important: After customizing app associations, the user won’t be able to adjust the customized app associations.
For more information about customizing the default app associations on Windows 11, refer to the following docs.