In this post I show how you can configure default apps using Intune for windows 10. By configuring default apps you configure which application will be used to open a specific file type or will be used to send an email or other tasks. In windows 10, some default applications are set to open certain tasks and file types. You can find these in the Default app screen in Settings -> Apps. Through the default app page, there are four ways to associate an application with a file type.
|Choose default app||Select default apps (changes protocol and file type association)|
|Choose default app by file type||Select which app to use by file type|
|Choose default apps by protocol||Select which app to use based on protocol|
|Set defaults by app||Select by app which file types are associated|
Keep in mind:
Sometimes not all file and protocol associations are linked to the new default app. For example: If you change the video player from the default “Movies & TV” app to “Windows Media Player” associated file types as .mp4, .mpg will change, but the protocol MSWINDOWSVIDEO will still use the “Movies & TV” app.
Set default apps with Intune
To configure the default apps through Intune, several steps must be followed. The first step is to configure the desired settings on a reference computer and export them to an xml file. Next, the xml must be encode to Base64. The encoded xml is then used in Intune to create a custom configuration profile. In this demo I use two computers; a reference computer to configure the settings and a target computer to test the policy on.
1. On your reference computer login as administrator and browse to Settings -> Apps -> Default Apps. In this screen you are able to choose the default apps. On the bottom of the screen you can reset the applications to their defaults or choose default apps based on file type, protocol and select by app.
2. Configure the applications you want to use as default applications. Additionally, you can select applications based on file type and protocol.
3. After you configure default apps, run Powershell (ISE) as an administrator. Enter the following command to export the settings to a XML file
Dism /Online /Export-DefaultAppAssociations:"<pathname/filename.xml>"
4. Open the XML file and copy the contents.
5. Open the Internet browser and go to an encoder for example https://www.base64decode.org/. Paste the contents of the xml file and press “Encode” to encode the xml data. Copy and save the encoded data string.
7. Select platform “Windows 10 or later”, select profile type “Templates” and select template name “Custom”. Press “Create” to create the configuration profile.
8. Enter a recognizable name and optional description. Press “Next” to continue.
9. Press “Add” to add the custom OMA-URI setting.
10. Enter the following values and press “Save” to continue.
|Name:||For example: DefaultAssociationsConfiguration|
|Description:||For example: Default applications and associations|
|Value:||Copy encoded Base64 value (step 5)|
11. A new row has been added, press “Next” to continue.
12. Assign the Configuration profile for example “testusers”.
13. Configure optional Applicability Rules or leave empty. Press “Next” to continue.
14. Review the settings and press “Create” to finish create and assign the device profile.
15. Wait for the device profile to be deployed to the target computer.
16. The default apps have now changed from the default windows 10 settings (left) to the settings as configured on the reference computer (right).
Keep in mind
Users will still be able to change the default applications, but the settings will be restored at the next sync.
I hope you liked this post about how to configure default apps using Intune. If you have any questions or comments about this post, just let me know in the comment section.