For those who may not know, each file in your Windows operating system has an extension in its filename, eg. .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.
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 need to deploy the same settings on all. To export the list, open an elevated Command Prompt, type the following, and hit Enter.
You will see a FileAssociations.xml file on your C Drive.
To import these mappings, you have to use: More on this at TechNet. 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.