Windows 10 File Associations

Setting which application a file will open with in Windows 10 is different than before. You can set this initial association by overriding a file during your imaging process, or apply it using a Group Policy. We will go over both methods here.

During Imaging

All initial file associations are copied from C:\Windows\System\OEMDefaultAssociations.xml. If you want to set your own, you can modify this XML, then copy it to this location during your imaging process. We’ll take PDF as an example:

As you can see, it’s associated with Edge by default. If I want to change it to Acrobat Reader, I can simply modify that line to this:

I bet you’re wondering how you determine what to set the extensions too. We’ll go over that at the end.

Once my modifications are complete, I can override the default file with my changes. This file will apply when a user logs in and a user is free to change the associations, but you can at least give them a starting set.


You can see also give Windows a XML file using Group Policy. This is one of the few Group Policy settings I have seen that will actually allow a user to change something. This setting will only apply once. If a user changes an association after the policy applies, the policy will not override it. The GPO also applies with linked, whether a user has logged into a computer already or not. You take the same XML file that we already created and apply it to the setting “Set a default associations configuration file” located at Computer Configuration > Administrative Templates > Windows Components > File Explorer.

Capture File Associations

To identify what to put in the XML file, I suggest configuring a user account with all of the associations that you want to change. Then, run this command from an administrative command prompt:

dism /Online /Export-DefaultAppAssociations:c:\appassoc.xml

This will output a XML file with the lines that look like my screenshots.  You can then either deploy this XML file, or copy the custom settings out of it and into a file that you will then deploy. If you’re overriding the OEMDefaultAssocications.xml file, I suggest keeping all of the contents of the file, or else you may end up with a lot of files that have no default association. If you’re going the GPO route, I would extract only the changes, and not deploy the entire exported file.


All content provided on this blog is for information purposes only. Windows Management Experts, Inc makes no representation as to accuracy or completeness of any information on this site. Windows Management Experts, Inc will not be liable for any errors or omission in this information nor for the availability of this information. It is highly recommended that you consult one of our technical consultants, should you need any further assistance.



Contact Us

On Key

More Posts

Mastering Azure AD Connect - A Comprehensive Guide by WME
Active Directory

Mastering Azure AD Connect – A Comprehensive Guide

Modern businesses are fast moving toward cloud-based infrastructure. In fact, cloud-based business is not just a trend anymore but a strategic necessity. Microsoft’s Azure Active Directory (Azure AD) has become a frontrunner in this domain. It

Read More »
Security Best Practices in SharePoint
Office 365

Security Best Practices in SharePoint

Microsoft SharePoint is an online collaboration platform that integrates with Microsoft Office. You can use it to store, organize, share, and access information online. SharePoint enables collaboration and content management and ultimately allows your teams to

Read More »
The Ultimate Guide to Microsoft Intune - Article by WME
Active Directory

The Ultimate Guide to Microsoft Intune

The corporate world is evolving fast. And with that, mobile devices are spreading everywhere. As we venture into the year 2024, they have already claimed a substantial 55% share of the total corporate device ecosystem. You

Read More »
Protecting Microsoft 365 from on-Premises Attacks
Cloud Security

How to Protect Microsoft 365 from On-Premises Attacks?

Microsoft 365 is diverse enough to enrich the capabilities of many types of private businesses. It complements users, applications, networks, devices, and whatnot. However, Microsoft 365 cybersecurity is often compromised and there are countless ways that

Read More »
Be assured of everything

Get WME Services

Stay ahead of the competition with our Professional IT offerings.