We have seen how we can set or change File Associations & Extensions via the Control Panel Default Programs applet. Windows 11/10 also allows you to configure these File Associations via Settings.
For those who may not know, each file in your Windows operating system has an extension in its filename, e.g., .jpg, .pdf, etc. These extensions are used to identify the program with which Windows can open this file.
Configure File Associations in Windows 11/10
In Windows 11, open Press Win+I to open Settings > Apps > Default apps and click on the Choose default by file type or by link type.
Windows 10 users should open Settings via WinX Menu > Apps > Default apps and click on the Choose default apps by file type or by Protocol link.
In Windows 8.1, open the Charms bar, click Settings and then Change PC Settings. On the left side, click on Search and Apps > Defaults.
Now you can change the default apps under the Choose default apps. Click on the app to change defaults or click on Choose a default to ass a default for an app.
You can also choose and set default apps by file type or by Protocol.
- Click on Choose default apps by file type link to associate file types with specific apps. Clicking on a Modern UI or Desktop app will allow you to set the defaults.
- Click on Choose default apps by protocol to associate protocols with specific apps, and do the needful here.
Related: How to Reset, Export and Import Default App Associations on Windows.
Export or Import File Association settings list
Once you have manually configured all the file associations, if you wish, you can also export and save these settings. This can also be very useful if you are running a network of multiple computers and must deploy the same settings on all.
To export the list, open an elevated Command Prompt, type the following, and hit Enter.
Dism.exe /Online /Export-DefaultAppAssociations:C:\FileAssociations.xml
You will see a FileAssociations.xml file on your C Drive.
To import these mappings, you have to use:
Dism.exe /Online /Import-DefaultAppAssociations:C:\FileAssociations.xml
More on this at Microsoft.com.
If you wish to fix file associations easily, you may want to check out our freeware File Association Fixer. Go here if you are unable to Change Default Program Extension on Windows.