How to Remove File Type Associations in Windows 10: A File association associates a file with an application that can open that particular file. The job of File Type Associations is to associates a class of file with the corresponding application, for example, all the .txt files are open with a text editor commonly notepad. So in this, all the files are open with a default associated application that is capable of opening the file.

How to Remove File Type Associations in Windows 10

create a restore point  just in case something goes wrong.

Option 1: Reset all file type and protocol associations to the Microsoft defaults

1. Press Windows Key + I to open Settings then click System.

2. Then from the left window pane select Default apps.

3. Click on Reset under Reset to the Microsoft recommended defaults.

4. That’s it you have reset all the file type associations to Microsoft defaults.

Option 2: Restore File Type Associations using DISM Tool

Note: Go to a working computer and run the Export command first then go back to your PC and then run the Import command.

1. Press Windows Key + X then select Command Prompt (Admin).

2. Type the following command in cmd and hit Enter:

dism /online /Export-DefaultAppAssociations:”%UserProfile%\Desktop\DefaultAppAssociations.xml”

Note: This would create the DefaultAppAssociations.xml file on your desktop.

3. Go to your desktop and copy the file to a USB.

4. Next, go to the PC where the file association is messed up and copy the file to your desktop (this is important for the below command to work).

5. Now restore the original file association on your PC by typing the command:
Note: If you renamed the DefaultAppAssociations.xml file or you have copied the file to some other location than your desktop then you need to change the command in the red to the new path or the new name you chose for the file.


Note: Replace the above path (C:\PATH\TO\FILE.xml) with the location of the file which you copied.

4. Reboot your PC and you may have Restored File Type Associations in your PC.

Option 3: Registry Fix for removing File Association

1. Press Windows Key + R then type regedit and hit Enter to open Registry Editor.

2. Navigate to the following registry key:


3. Now find the file extension for which you want to remove the association in the above key.

4. Once you have located the extension then right-click and select delete. This would delete the default file association of the program. For example: if you want to delete the default file association of .jpeg which is Photo Viewer then delete the .jpeg subkey in the above path and when you will again open the .jpeg file it will ask for default program to open the app with.

5. In order for above to take effect to reboot your PC or restart your explorer.exe

6. If you’re still not able to remove file associations then you need to also delete the same key in HKEY_CLASSES_ROOT.

Once you do that you will be able to successfully Remove File Type Associations for the particular file but there are other options also if you don’t want to mess with the registry.

Option 4: Remove File Association for a particular app manually

1. Open Notepad and Click File > Save as.

2. Type the name with the extension .xyz for example,

3. Choose the desired location where you want to save the file.

4. Next, select “All files” under Save as type and then click Save.

5. Now right-click your file (whose file type association you want to remove) and select “Open with” then click on Choose another app.

6. Now checkmark “Always use this app to open .txt files” and then select Look for another app on this PC.

7. Select All files from the bottom right drop-down and navigate to the file which you saved above ( in this case) and select that file and click Open.

8. If you will try to open your file you will face an error This app can’t run on your PC, no problem just go to the next step.

9. Once the File type association is confirmed just delete the file you created above ( Now it will force the .png file type (or the file which you select) to make a file association again, and you can choose the app in which you want your program to open with.

10. If you don’t want to choose the app every time you open the file then again right-click then select “Open with” then click Choose another app.

11. Now checkmark “Always use this app to open .txt files” and then select the app with which you want to open the file.

10. Reboot your PC to save changes.

Option 5: Remove File Associations with a 3rd party utility Unassociate File Types

2. Next right click on the zip and select extract here.

3. Right-click on unassoc.exe then select Run as Administrator.

4. Now select the file type from the list and click “Remove file association(User).

5. Once the File type association is removed you need to re-associate the file which is easy, when you again open the app it will ask you with an option to choose a program to open the file with.

6. Now the Delete button helps if you want to completely delete the file type association from the registry. Both the user-specific and global associations for the chosen file type is removed.

7. Reboot PC to save changes and this would successfully Remove File Type Associations.

Recommended for you:

  • Fix Your current security settings do not allow this file to be downloaded
  • Fix Windows Firewall Can’t Change Some Of Your Settings Error 0x80070424
  • Troubleshoot WiFi Limited Connectivity Problem
  • Fix Windows Update Error 0x8024a000

That’s it you have successfully learned How to Remove File Type Associations in Windows 10 if you still have any queries regarding this post feel free to ask them in the comment’s section.