Windows 11 / Open Default Apps Settings and Change or Restore File Associations
To change the app that opens when you double-click a file in Windows 11, go to Settings → Apps → Default apps, search for the file extension, and select the desired app. Default apps are the apps Windows uses to open specific file types or links. Each file type has its own association, so changing the browser does not automatically change the association of all document files to the desired app.
Two Ways to Open Default App Settings
- Press Windows + I to open Settings.
- Select Apps.
- Select Default apps to check file type or app-specific associations.
You can also open it directly from the Run dialog. Press Windows + R, enter the address below, and press Enter.
ms-settings:defaultapps
The expected result is the Default apps page in Windows Settings. Microsoft’s Windows app defaults platform documentation lists this address as a supported way to open the page. Menu placement or wording may vary with the Windows version and display language.
What is the difference between settings by file type and settings by app?
A file extension is the part at the end of a file name like .txt or .pdf that indicates the file type. Link types distinguish how addresses are handled, such as https. Microsoft’s Windows Default App Change Guide explains how to search for file/link types and how to first select an app to check the formats it supports.
| Target to check | Appropriate approach |
|---|---|
| Specific file types like .txt | Search for the extension on the Default apps page. It is good for checking or changing one app associated with that type. |
| Link types like https | Search for the link type to check the handling app. This is a separate item from document file associations. |
| File and link types supported by a particular app | Select the app in the app list, then inspect the associations for the file or link types you need. |
Changing the default app is the action of specifying which app to open with. It is not the action of changing a file extension or converting the document content to another format. You can open a document by running the app and selecting File → Open, but this alone does not confirm that Windows' default association has been changed.
Exercise: Change the app associated with .txt files, check it, and then revert it
This exercise is carried out when more than one app capable of opening plain text files is installed and you can select the original app again. If no other app is listed, just check the current association and skip changing it. There is no need to install an unfamiliar app or remove the original app for this exercise.
- Enter a short sentence in Notepad and select File → Save As. Save it as default-app-demo.txt in a test folder you created and note the folder location. Use this file instead of an actual work document.
- Open the default app settings and enter .txt in the search box for file or link formats. Do not confuse this with the list that shows app names, and select the .txt result.
- Record the name of the currently associated app. If you don't know what the original app was, it will be difficult to restore it accurately after completing the exercise.
- Choose another installed app that can open .txt files. If a Set default or confirmation button appears, select it to apply your choice. If there is no other app available, stop without changing the association.
- Open File Explorer with Windows + E and double-click default-app-demo.txt in the test folder. Verify that the file opens in the chosen app and that the entered sentence is displayed as it is.
Check both the setting and the result: the .txt entry should show the selected app, and double-clicking the test file in File Explorer should open it in that app. The file icon or an editor window that was already open is not enough to verify the change.
- Search for .txt again in default app settings and select the original app you recorded earlier to apply it.
- Close the test file and double-click it again in File Explorer. Verify that it opens in the original app.
The content of the test sentence should remain the same before and after the change. The purpose of this exercise is not to edit the file content but to change the associated app. You do not need to use the button that resets all default settings; just restore the .txt entry to the original app.
Check the required formats when changing browsers
Select a browser on the Default apps page to see the file and link types it can handle. If a button to make it the default browser is available, you can use it. Afterward, check the associations for the particular types you need.
For example, setting web links to open in a different browser and setting .pdf documents to open in that browser are items to check separately. PDF stands for Portable Document Format, which is a document file format. If you want to continue opening .pdf files with the existing document app, check the current association for .pdf separately on the default apps page. When using a button in an app to change multiple formats at once, review the scope of changes and record each item that may need to be reverted.
When the desired app is not available or settings are not retained
- Check whether the app is installed and whether it supports that format. Not all installed apps appear in the selection list for all extensions. On the default apps page, you can first select the app to see the supported formats.
- Check that the extension you changed matches the actual file. Changing the .txt association does not replace checking the separate .pdf association. Do not try to solve the issue by arbitrarily renaming the file.
- Opening a file from inside an app and double-clicking it in File Explorer are different ways to launch it. To verify the Windows association, open the test file from File Explorer again.
- If it is a PC managed by your organization, policies may control the default apps. Refer to Microsoft’s explanation of default app policies for management environments and check with your administrator. Do not bypass by directly changing the registry or using tools that forcibly overwrite the association.




