There are hundreds of different kinds of files on your computer, including images, videos, music, text documents, and executable applications. Each file stores different information differently and can only be opened by certain programs. Windows takes the potential confusion out of this system by associating certain programs with certain file types right out of the box. While your default associations will work for most apps and programs, you’ll undoubtedly want to change a few as you try out alternative applications and find new favorites. Read on, and I’ll show how to set default apps in Windows 11, as well as how to change file and link associations by type:
How to get to the Default apps in Windows 11's Settings
Windows 11 then shows you all settings you can change for the Default apps on your computer.
The Default apps page in Settings
Now that we got that out of the way, let’s see how to set the default apps, how to associate a file type with a program, and how to choose default apps by protocol:
Choose the app to configure
The previous action makes the Settings app open a new page with the name of the app you selected, listing a series of file types and/or link types the app can open. For my example, Adobe Acrobat, the “Set default file types or link types” list includes all the file types and protocols this PDF reader can handle. You’ll get a similar list for any other app you select in the previous step.
The list of file types and protocols supported by the app
For each file type or protocol supported by the app, you can see the default app currently used by Windows 11 to open it. To change the default for a file type or protocol, click or tap on the default app set for it. For instance, in the next screenshot, you can notice that the default app for opening PDF files on my computer is Microsoft Edge. However, I’d like to have Adobe Acrobat do that instead, so I have to click/tap on Microsoft Edge under the .pdf file type.
You can configure a file extension association
This opens a pop-up menu with a list of apps that can open that file type or protocol. In it, select the app you’d rather use for it, and then click or tap on Set default.
Select a default app for a file type
The change is applied immediately. You can then repeat the process for all the apps, file types, and protocols whose defaults you want to change.
Enter a file type or link type
For example, because I want to change the file association for the PDF file type, I’m typing pdf in the “Enter a file type or link type” field. This gives me a short list of all the file types, links, and protocols that include this search term in their names.
Entering the file type or protocol name in the search field
In the list of search results, click or tap the file type or link type that you want to configure.
Choosing the file type association to configure
The Settings app then shows you the current app associated with that file type or protocol. In my case, that is Microsoft Edge. Click or tap on the default program.
The currently selected default app
This opens a list of apps that can work with the selected file type or protocol. In it, select the app you want to associate by default with that file type or protocol, and click or tap the Set default button.
Selecting a new default app
That’s it! But wait, there are other ways of setting the default program for a file type or link type. So don’t stop and read on:
Choose another app in the Open with menu
Windows 11 will then show you a list of apps that can open that type of file. Select the one you want to set as default and click or tap on the Always button at the bottom of the list.
How to set a default app using the right-click Open with menu
From now on, all the files that have the same extension as the one you just opened will always be handled by the app you selected as default in the Open with menu.
TIP: If you want even more details about the Open with menu, read this guide: What is Open With and how to use it in Windows.
Choose default by file type and Choose default by link type
Both options will give you long lists of either all the file extensions that are registered in Windows 11, or all the known protocols (link types).
Set defaults for file types
For each file type or protocol, you see the default app that’s used for opening it. If a default is not set, you get a + Choose a default button instead.
Associations are shown with their default apps
To find the file type or protocol you want to configure, you could use the “Search for a file type” or “Search for a link type” fields at the head of the lists. However, that’s a bit redundant, as it’s the same as the process that I showed you earlier in the previous section. But, in these lists, you can also scroll down until you find the file extension or protocol you’re looking for. It helps to know that both lists are ordered alphabetically.
Scroll to find the file type or protocol in the list
Once you find the file or link type that you want to configure, click/tap on the name of its default app (or the + Choose a default button). That shows a list of apps that can open the selected file type or protocol. In that list, select the app you prefer and click or tap the Set default button.
Select a default app for a certain file type
The setting is applied immediately by Windows 11. Repeat the same steps for all the file types and link types you want to configure.
Reset the default apps in Windows 11 to Microsoft’s defaults
Once you’ve pressed Reset, your Windows 11 default apps are immediately set to the ones recommended by Microsoft.
How to find the settings for default apps in Windows 11
To change the default apps used in Windows 11, you need to open Settings. Once you do, select Apps on the left sidebar and click or tap Default apps on the right.

How to set an app to be the default for the supported file types
Probably the most efficient way to change file associations in Windows 11 is to tell the operating system that you want a certain app to handle all or some of the files it supports. Depending on their purpose and design, most apps can handle various file types, so you might have two, three, or even more apps that know how to work with the same file types. For example, on your Windows 11 PC, you could open PNG images with any of the following applications: Photos, Paint, or Snipping Tool. So, configuring each app’s default file types is clearly a handy way of setting file associations. To do that, on the Default apps page in Settings > Apps, look at the programs listed under “Set defaults for applications.” This list includes all the apps installed on your Windows 11 PC. Scroll or use the Search apps field at the top of the list to find the app whose default settings you want to change. Once you do find it, click or tap on the app’s name. I’ll take Adobe Acrobat as an example, but you can take any other app, including your web browser:



How to associate a file type or link type with a program
What if you want to associate only a certain file extension (file type) or protocol with a certain application or program? In that case, you need to go back to square one: Settings > Apps > Default apps. Then, start typing the name of the file type or link type in the search field at the top of the window. It’s easy to identify it because its description is quite self-explanatory: “Enter a file type or link type.”




How to set a default app for a file type using the Open with menu
Did you know that you can also select a default app for a file type using the right-click menu? It’s based on using the Open With option in the context menu, and it works like this: Right-click or press and hold on a file that currently opens with a default app that you don’t like. Then, in the context menu displayed, head to Open with and click or tap on the Choose another app option from the submenu.

An alternative way to choose defaults by file type or link type
Besides searching for the file type or link type that you want to associate with a program, Windows 11 also allows you to see the entire list of file types and protocols known by it. And you can change their defaults right there, from the list. To see and set the default app for a file type or protocol, on the Default apps page in Settings, scroll down until you reach the Related settings section. Under it, depending on what you want, click or tap on “Choose defaults by file type” or “Choose defaults by link type.”




How to reset the default apps
If, in time, too many file associations have changed and they no longer make sense, you can reset the default apps to Microsoft’s recommended apps. If you do that, Windows 11 switches back to using the apps recommended by Microsoft for all the common file types and protocols. That means apps like Mail, Maps, Photos, and Microsoft Edge will be defaults once again. To do that, launch Settings and head to Apps > Default apps. Scroll down until you reach the end of the page, and click or tap the Reset button next to “Reset all default apps,” in the Related settings section.



Discussion (36)
When I try to send a picture on the web to my email I get a message (There is not a email associaton with this so we cant send. How can I fix this and what program do I click for Yahoo mail?
In XP, it was possible to edit a file type’s associations to use one program for opening the file, and another program for the file menu “edit.” I used this to set most image file types to open (click, double-click, select and enter, menu item “open” etc.) in Fast Stone Image Viewer, but to be edited (“edit” file right-click menu) by Photoshop Elements. Worked very well: much faster response when I only wanted to see an image.
Can this be done in Windows 8.1? I have not found a command to edit the properties of a file type extension.
How can I associate .SVG files with Visio? I’ve tried ALL the great methods you suggest but I can’t change SVG away from Adobe Illustrator. Thank you. (Windows 7; Microsoft Office 15, Visio 2013).
thanks for website
I installed two versions of a program (CAT tool, Trados Studio 2014 and 2015). Now the related files are associated with 2015 only and when I try the usual way and go to the 2014 exe, it doesn’t appear, as if my windows wouldn’t recognise that these are two separate programs (which they are). Is there any way to delete the 2015 association so that I can associate the files with the 2014 again? Thanks for your help!
I ran into a problem that was difficult to solve. I had set up an association with a program using the browse button. That program subsequently got moved to another directory. When I tried to change the association by browsing to the new location, the application could not be selected. Once an application has been added to the association program list, there does not seem to be a way to remove it. The only way I was able to resolve this problem was to modify the path to the associated program using REGEDIT (which always should be the last resort). Is there any way to remove a program from the association program list without using REGEDIT?
Confuses the reader with windows 7, 8 & 8.1 solutions making it useless for someone looking for a windoze 7 approach.
Eventually I tracked down how to do this using the registry/cmd.
Go to Start and type in “cmd” and launch cmd.exe
Navigate to the folder where the relevant .exe file is located by pressing the letter of the drive and a colon, e.g. “D:”. Then type “cd ” and the name of each subfolder one at a time, e.g. “cd Software”, then “cd SumatraPDF”.
Now type the name of the program followed by “-register-for-pdf” (presumably it works for other file extensions too) so for example type “SumatraPDF.exe -register-for-pdf”.
That should be it, though someone said it only starts working the second time you try and open one, so you might need to bear that in mind”
Matt
Thanks these are awesome tutorials BUT how do you add a file extention that isn’t there e.g. aspx or ashx
I accidently left the Tick on when I was changing the default program for a specific file Extension In Windows 7..
Now every time I try to open a DAT file it opens up in wordpad as rubbish.
How do I change the program back to unknown?
Thanks
Using win.8.1, I can’t “uncheck ” default extensions in the wordpad program.
I am using Windows 8.1 and in the “Set Programs associations” box which comes up when you type in “Default Programs” in the run box I have accidentally clicked all the boxes and cannot seem to change them back. Is there any way of doing so? Any suggestions? I
How do you do the opposite of the above? I accidentally set certain file extensions to be opened by wordpad (all the possible file extensions listed) and I want to go back to just the file extension .txt to be opened by wordpad. I can’t seem to change back the boxes stay clicked.
HI..I AM USING WINDOWS 7….. I ALWAYS HAVE OPENED MP3 FILES WITH WINDOWS MEDIA PLAYER. A FEW MONTHS AGO ALL OF MY MP3 FILES WERE BEING OPENED BY AN UNKNOWN APPLICATION. I AM FAMILIAR WITH CHANGING FILE ASSOSSIATIONS IN ALL THE METHODS YOU HAVE MENTIONED. WHATEVER I DO I CANT CHANGE THIS UNKNOWN APP & I CAN ONLY PLAY AN MP3 BY DRAGGING IT INTO THE PLAYER OR OPEN WITH. COULD YOU HELP ME PLEASE.. ROB
I need to add a “-offline” option to a program so I can open my files by default with this program under W7 (not command line). How/where do I do this, in the Registry?
Open regedit and goto KEY_CLASSES_ROOTYOURfileshellopencommand
For example with “.blend” files
where “YOURfile” is “blendfile”
Edit the command e.g.
“C:Program FilesBlender FoundationBlenderblender.exe” “%1”
and add your commandline e.g.
“C:Program FilesBlender FoundationBlenderblender.exe” -con “%1”
in windows 8, i tried to open a jpg file by using ms word with the help of open with option.and i selects “always use the selected program to open this kind of file”.From that time onwards all the files(different types of files) in my system including nero also changed to that form.
what can i do to set my files to previous?
and i tried to change them with DEFAULT PROGRaMS option.but no change
There are times when you want to simply remove the file association …and NOT associate it with anything. Such as… when the darn thing won’t change… it opens in another program but it won’t change it permanently to be the default. Yes, I have the box checked. So the best thing would be to remove the file type/association from the list completely… perhaps that can be done via registry? Where?
Never mind. I used the program “File Types” to remove the association.
hello,
Im trying to connect the exitention .py to the program python but when I click on the python.exe program and press OKE there is nothing happening and the .py file stays on the notepad.exe
please tell me how to download windows disc image burner ??? Please
I am using Win7 and I am trying to associate the data file for MYOB (MYO) with the MYOB exe file but each time I choose it- no matter which of the above methods I use – it simply ignores my choice !! This may be becasue the EXE file is located in a folder not under the “Program Files” folder. This is how MYOB installed itself on the system!!
Is there is Registry setting I can edit to force this association? Seems like this may be the only option available to me.
origin ‘https;//battlelog.battlefield.com/sso/Ciyvab0tregdVsBtboIpeChe4G6uzC1v5_SIxmvSLLtv…
this file does not have a program associated with it for performing this action,please insatall a program or,if one is already installed in the Default programs control panel.
what does this mean and how do i fix this , i,m on OS WIN 7 64BIY.
How do you get to this error? What exactly are you trying to do?
I,m try to load a PC game which has to start from EA games Origin page, and when i try to load the game this comes up.
am networking student of ipmc l need a study guide from you.please today
we learning about internet protocols, l want you to elaborate on the calculation of ip addresss,and their classes.thank you.please be a friend to me to learn from you.
it’s there a way to do this in cmd or powershell?
I looked all over but no luck.
That all works fine for FILE TYPES, but not for protocols. You can only set default program associations for the protocols that are already listed.
Hello
i accidentally changed my file extension to cmd and i cannot change it back…now everytime i open that type of files..it will open to cmd, how can we fix this?
please help.. im using windows 7 64 bit
Lordy, I’ve been using a mac for years and we just got a laptop with Windows 7. Why is Windows so complicated & convoluded!?! Thanks for posting this article, it really helped.
hi,
I have tried this, but if i restart the computer everything goes back to previous settings and i have to change file association again.
Why is that, is there any solution?
Yes I am. I replaced the Windows Mail program files in Win 7 with those from Vista, put a shortcut for Winmail.exe on the desktop and Windows Mail opens from that. I also added a registry entry called mailclients.reg to the registry (I can’t remember which forum I got that from) and that enabled me to make Windows Mail my default email program. Following a recent Microsoft update which patched msoe.dll I had to replace msoe.dll with a patched version from Vista to keep Windows Mail working.
Please advise further.
Thanks and regards,
Roy Whitethread
I tried the program you recommended, but it said Windows Mail could not be set as the default program for the .eml file extension “because of some registry issues, possibly caused by earlier system tweaks”. I assume the earlier tweaks would be the workaround I used to enable Windows Mail to be used with Win 7.
If you have any other suggestions I would be grateful to receive them.
Thanks and regards,
Roy Whitethreaf
When you say Windows Mail, you are referring to the Windows Mail from Windows Vista? Imported somehow in Windows 7?
Dear Sir,
I am familiar with the procedures outlined in your tutorial, but no matter what I try I cannot set Windows Mail as the default program to open files with the extension .eml
Is there any way to do this?
My OS is Win 7 32 bit, and I used the workaround detailed in various forums to enable use of Windows Mail. Windows Mail as such is working fine, but from time to time I have needed to look at emails in the backup I created of my Local Folders, and it is a nuisance having them open with Notepad and getting all the technical details, as opposed to reading them like a normal email.
Your help would be appreciated.
Thanks and regards,
Roy Whitethread
Try the program recommended here: https://www.digitalcitizen.life/customize-file-types-autoplay-default-programs-settings-default-programs-editor
It might work better.