How to Change Windows 10 File Associations and Default Programs
Whatsapp Pinterest
Advertisement

Windows 10 opens different file types using a particular program. It does this through file associations, where a program or app has been set as the default for that file type.

If you want to set default programs and change file associations in Windows 10, we’ll show you all the methods to do this.

What Are Windows 10 File Associations?

Every file on your system is stored in a particular format, like JPG image files and DOC Word files.

Certain programs can only open certain files. For example, an image file like JPG can’t be opened in a word processor like Word. Instead, you’d open the image in something like the Windows 10 Photos app.

overview_filetypes

Rather than having to specify which program you want to use to open a file every time you access it, Windows assigns each file type a default program. These defaults can be changed by the user, or a program could set its own when installed.

That’s why it sometimes becomes necessary to adjust your file type associations. Happily, it’s easy to do this.

Let’s find out how you can see what type your files are and then the different methods to change the Windows 10 file associations.

What Type Is My File?

Before you can change file associations, you need to know what file types you are storing.

First, open File Explorer and navigate to the folder which contains your file. Then, right click the file and select Properties.

A new window with details about that file will open. Type of file will tell you what the file extension of the file is. Opens with will tell you what program it’ll open in.

Windows 10 file properties

You can set it so that the file extension appears with the file name in File Explorer. To do this, open File Explorer and click the View tab. Then tick the box for File name extensions.

How to Change File Type Associations in Windows 10

There are three quick and easy methods within Windows to change the file type associations.

1. Open With

You can change the file type associations direct from the File Explorer. To do so, right click the file and then hover Open with.

Windows 10 Open with

You’ll see a list of programs, which you can use to open the file, but this will just be a one-off and won’t change your settings permanently. To make a permanent change, select Choose another app.

Windows 10 choosing another program to open files with

Now select the application from the list that you want to use to open the file type of the file you’ve chosen. If you don’t see the program you need, scroll down and select More apps for a wider selection.

If it’s still not there, select Look for another app on this PC. You can then go through your Program Files and locate the executable for the program you want.

When selected, tick Always use this app to open .X files at the bottom of the window. This will permanently change the file type association. Then click OK.

2. Set Default File Associations in Settings

The best place to comprehensively change file associations and set default apps is through Settings.

To begin, press Windows key + I to open Settings. Go to Apps > Default apps.

Windows 10 default apps

Here you can set and use default apps for things like email, maps, music, and so on. Click the application to select a different one from the list.

You can click Reset to put everything back to “Microsoft recommended defaults.” As you might expect, this means Microsoft-created Windows 10 default programs like Groove Music for music and Edge for web browsing.

Scroll down and you will see three options to have refined control over file associations:

  1. Choose default applications by file type
  2. Choose default applications by protocol
  3. Set defaults by app

Windows 10 choose default apps by file type

Choosing by file type lets you set specific programs for JPG, DOC, and so on. This is the option you most likely need.

Choosing by protocol is for actions or links. For example, when encountering a URL:calculator link, you can set which program is used. The vast majority of these will be pretty application specific anyway, so it’s rare that you’ll need to change them.

Finally, setting by app lets you manage an entire program and its associated file types and protocols from one place.

3. Delete File Associations in Command Prompt

It isn’t possible to reset file associations through Settings. For that, you need to use Command Prompt.

Press Start, type cmd and it’ll find Command Prompt. Right click the entry and click Run as administrator.

Command Prompt assoc

Type assoc, press Enter, and it’ll bring up all file types and their associations.

To quickly check a specific file type, input:

assoc .ext

Replace ext with the file type. For example, input assoc .jpg and you will see what program opens JPG files.

To remove the association from the program, type:

assoc .ext=

Again, replace ext. You can type the first command to double check it’s worked, as you should see a “file association not found” error.

Back Up and Restore File Type Associations

Windows 10 has been known to reset default apps How to Change Default Apps and Settings in Windows 10 How to Change Default Apps and Settings in Windows 10 Here's how to change default programs in Windows 10 if you're not happy with how the OS behaves out of the box. Read More by changing file type associations after every update. The best thing you can do to fix this is back up your file type associations and restore them once you discover that a Windows 10 update How to Manage Windows Update in Windows 10 How to Manage Windows Update in Windows 10 For control freaks, Windows Update is a nightmare. It works in the background, and keeps your system safe and running smoothly. We show you how it works and what you can customize. Read More has messed with them.

1. Using Default Programs Editor

The easiest method to back up and restore file type associations is by using a third-party utility called Default Programs Editor.

Once downloaded and installed, launch it and click Create or restore a backup of registry settings.

Default Programs Editor registry backup

Click Create a backup. It will process and add an entry to the table with the date and time.

When it’s time to restore, return to this screen, click the entry, and click Restore selected backup. Finally, restart your computer.

2. Using the Registry

You can also go directly into the registry to back up file type associations. However, this is a bit more complicated, and it can sometimes result in a permission error when restoring certain associations. As such, use it as a last resort.

Press Windows key + R to open Run. Enter regedit and hit Enter to launch the Registry Editor. Now browse to the following key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts

Right-click FileExts (or the sub-folder you want), select Export, and choose a destination and file name for your .reg file backup.

Export Registry Key

Once you need to restore this backup, right-click the respective .reg file that you saved previously and select Merge. This will overwrite the current settings in your registry and restore your previously backed up preferences.

Take Full Control Over File Associations

With these methods you’ll have full control over your file type associations, ensuring that all your files open in the most suitable program by default. Be wary when installing a new program as some of them will request to become the default program for a set of file types, and you might not want that.

If you want to know more about file types, check out how to know when to use which file format Know When to Use Which File Format: PNG vs. JPG, DOC vs. PDF, MP3 vs. FLAC Know When to Use Which File Format: PNG vs. JPG, DOC vs. PDF, MP3 vs. FLAC Do you know the differences between JPG and PNG, or MP3 and FLAC? If you don't know which file formats to use, let us guide you through their distinctions. Read More .

Explore more about: Computer Maintenance, Troubleshooting, Windows 10, Windows Registry, Windows Tips.

Enjoyed this article? Stay informed by joining our newsletter!

Enter your Email

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Samuel
    April 16, 2019 at 6:58 pm

    Last step didn't work. I can't backup registry files and it shows "Cannot import..... Not all data was succesfully written to the registry. Some keys are open by the system or other processes, or you have insufficient privileges to perform this operation."

    I can change my files association but i can't backup the registry. So how to fix this?

  2. Ankush
    May 31, 2018 at 12:24 pm

    i change all file into vlc now i can not able to install new app because it open as vlc player .how i application as unknown programe

  3. mike
    March 7, 2018 at 5:11 pm

    the trick doesn't work for me. Says various possible reasons but most likely seems to be lack of permissions. I am running the Windows 10 Home on Insider Program Fast Release.

  4. George
    June 17, 2017 at 3:05 pm

    In WIN 10, even with "Hide extensions for known file types" Unchecked, the file extensions do not appear if the file has been made into a shortcut (IE: drag/copy a file to the desktop and make it a "shortcut.") The file extension remains the same, but when the file is viewed in Explorer, the extension does not show. Is there a way to fix this? Thanks, -g-

  5. zobair
    March 29, 2017 at 5:07 pm

    thanks for helping it was very help full topic for me

  6. Joe
    January 29, 2017 at 9:06 pm

    I do a little web programming. By mistake, I seldon double-click on PHP files, and 'strange' things happen, like explorer.exe get replicated uselessly (I see that at the Task Manager, and I have never been able to close them fast enough.
    With Windows 7, when I try to change the association of PHP files, there is no way following the above mentioned procedures.
    Help me please!!!

  7. Thorny
    January 13, 2017 at 8:04 am

    How do you change the actual file type? Due to an interrupted download I have this "PART file" file type. It should be an .mp4. How do I change the actual file type to .mp4? The association is irrelevant because I want to convert it to an .mp3, but the converter keeps reading it as a "PART file" instead of an .mp4.

    • Hootz
      January 17, 2017 at 5:58 pm

      You don't have a full file. you can't really do anything with it, if you were to rename it .mp4 you might get something out of it but really your better of re downloading the file

  8. antiwindows
    July 12, 2016 at 5:47 pm

    Before it was possible to change file associations with functionality of IrfanViewer, and it worked. With Windows10 it stopped to work. Non-stop update of list of negatives for Windows, waiting for next "surprise"