How to Remove the Default App for a File Type in Windows

Windows rarely lets you simply delete a file association, but you can replace it or reset it. This guide covers the options in Windows 11 and Windows 10.

Windows dialog for associating file types with programs, listing extensions with .docx selected and Word as its default.
In this article

Windows doesn’t let you truly delete the default app for a file type, but you can switch it to a different app or reset everything to Microsoft’s recommended defaults. If you want to remove the default app for a file type, one of those two moves is the practical fix. Both are done in Settings. [1]

The usual trigger is an accidental choice. One Windows 11 user, for example, assigned an app to the .bak file type, which is used for backup copies in several programs, and then wanted that choice gone. [2]

This article covers what a file association is, how to change one file type in Windows 11 and Windows 10, how to reset all defaults, and which option fits your situation. For more detail, see How to Reconnect a File History Drive in Windows 11 and 10.

What should you know before changing file associations?

A file association is the link Windows keeps between a file extension, such as .bak or .txt, and the one app that opens it by default. When you double-click a file, Windows checks that link and launches the matching app. A wrong association is why a backup file might open in a text editor you never meant to use.

Settings changes or resets; it does not delete

Settings does not offer a true “delete” for a single file type. Your options are to assign a different app to that extension, or to reset associations to Microsoft’s recommended defaults. [3]

People do run into this. One Windows 11 user asked how to remove, not change, a default they had accidentally assigned to .bak files, which several applications use for backup copies. [2] The practical answer is to switch that extension to a more sensible app.

Reset affects every file type

The reset button is not targeted. Clicking Reset under “Reset to the Microsoft recommended defaults” returns all file type associations to Microsoft defaults, not only the one you are fixing. [3]

So if only one extension is wrong, changing that one type is the narrower fix. If you pick reset, any custom choices you made for other file types, such as a favorite text editor, go back to the defaults.

Where the settings live

The location depends on your version of Windows:

  • Windows 11: you set defaults per file type in Settings > Apps > Default apps. [1]

  • Windows 10: the page is at Settings > System > Default apps. [3] Windows 10 has reached end of support, so plan an upgrade to Windows 11 if your PC is eligible.

Microsoft’s guidance covers both Windows 11 and Windows 10. [1] The steps that follow in this article start from these locations.

A computer monitor on a home office desk displays a folder filled with a mix of documents, photos and other files.

How do you change the default app for one file type in Windows 11?

You change the default app for one file type in Windows 11 from Settings, by searching for the extension and picking a different app. Nothing else on your PC is touched. The steps below use .txt as an example, but any extension works.

  1. Open Settings and go to Apps > Default apps. This page lists the apps installed on your PC and lets you assign them by file type, protocol, or application. [1]

  2. In the search box at the top of the list, type the file extension, for example .txt. Windows narrows the list to that file type.

  3. Select the extension in the results, then choose the app you want to open that file type. If a wrong app opens your files, this is where you point them to a better one. [4]

  4. Confirm the choice by selecting Set default.

A practical example: if a developer prefers a specific text editor for coding, changing the default app for .txt files can save time and streamline the workflow. [1] The same idea works for a .bak file that opens in the wrong program, or a media file that launches in an app you never use.

After you confirm, double-click a file with that extension. It should open in the app you picked.

The change applies only to the extension you selected, so other file types keep their current apps. If you want to change several types, repeat the steps for each extension.

What are the steps in Windows 10?

In Windows 10, you change a file type’s default app from Settings, or straight from the file’s right-click menu. Windows 10 has no true “remove” button for a single type, so the practical fix is to point the type at a different program. Learn more in How to Enable File History in Windows 11 and 10.

  1. Press Windows key + I to open Settings, then click System. [3]

  2. Select Default apps in the left pane. [3]

  3. Find the app entry for the file type you want to fix and click it. A list of available programs opens. [5]

  4. Choose a different program from the list and click OK. [5]

  5. Close the Default apps window. [5]

For example, if a .txt file keeps opening in the wrong editor, select the entry for that type and pick the editor you prefer.

The right-click method

If you would rather fix one file on the spot, right-click it and choose Open with, then Choose another app. [3] Select the program you want. To make the choice stick, check the box marked Always use this app before you confirm. [3][5]

If the program you need is not listed, click More apps, scroll to the bottom and choose Look for another app on this PC, then browse to the program. [3]

How this differs from Windows 11

  • The Settings path starts at System in Windows 10, so you go to System > Default apps. [3]

  • The right-click route (Open with > Choose another app) is the one the Windows 10 instructions describe, and it works on a single file without opening Settings. [3]

  • Microsoft’s default-apps guidance covers both Windows 11 and Windows 10, so the idea of assigning apps by file type is the same in each. [1]

After the change, double-click a file of that type. It should now open in the program you picked.

How do you reset all default apps to Microsoft’s recommendations?

Resetting is the one-click way to clear every custom file association at once and return Windows to Microsoft’s recommended defaults. The steps below follow the Windows 10 path; on Windows 11 the Default apps page sits under Apps instead of System.

  1. Press Windows key + I to open Settings. [3]

  2. In Windows 10, click System, then select Default apps in the left pane. [3] In Windows 11, go to Apps > Default apps.

  3. Scroll down and click Reset under Reset to the Microsoft recommended defaults. [3]

  4. Wait for the change to apply. All file type associations are now back to Microsoft’s defaults. [3]

Before you click Reset

SAFETY: Reset changes every file association, not just the one that bothers you. If you had set your favorite browser, PDF reader, music player or text editor as the default, you may need to choose those apps again afterward. Your files are not touched; only the choice of which app opens them changes.

Check the result

Double-click a file of the type that was misbehaving, such as a .txt or .pdf document. It should now open in a sensible Microsoft-recommended app, for example Notepad for text. If it still opens in the wrong program, or you want a different app than the default, set that one type again from the Default apps page. [1]

Common questions about removing file associations

Can I leave a file type with no app at all?

Not through Settings, which only lets you switch to another app or reset to Microsoft’s recommended defaults. A user on a Windows 11 question site described the same goal: removing a wrongly assigned default for the .bak file type rather than changing it. [2] A forum thread asking for a way to remove an association completely got no clear answer either, and the one reply said it is too OS-specific to do from Qt. [6]

In practice, pick a harmless app for that type, such as Notepad for a text-like backup file, or reset the defaults.

Why does Windows keep asking which app to use?

Usually because no app is set as the default for that type, or an earlier choice was made for a single use only. In Windows 10, the Open with > Choose another app dialog has an Always use this app checkbox. If you leave it unchecked, the choice applies only to that one opening. [3]

To stop the prompt, tick that box when you choose the app, or set the app for that extension in Default apps as described earlier.

Will resetting delete my files?

No. The reset only changes which app opens each file type; it does not touch the files themselves. The Windows 10 steps describe it as resetting all file type associations to Microsoft defaults. [3] Nothing in that description involves deleting or moving documents, photos or backups.

What you may notice afterward is that some files open in Microsoft’s suggested app instead of the one you picked before. You can set your favorites again one type at a time.

Which option should you choose?

If one file type opens in the wrong app, change just that type to a program you prefer; Windows offers a swap, not a true delete. That is the quickest fix and leaves everything else alone. [1]

If many file types now open in odd programs, use Reset under Reset to the Microsoft recommended defaults in the Default apps settings. It sets all file type associations back to Microsoft defaults in one step. [3]

Start with the single change, and reset only if the problem is widespread. If you came here while sorting out backups, the File History articles in this series cover reconnecting and restoring.

Sources

  1. Change Default Apps in Windows

  2. How to remove (not change) erroneous application default …

  3. How to Remove File Type Associations in Windows 10

  4. I’ve always been intrigued by the Remove Default app for file type Windows 11. Customizing and…

  5. How Do I Remove the Default File Association App From a File Type in Window [Answered 2026]-…

  6. Remove default file association