Windows lets you pick which program opens each file type
When you double-click a file in Windows, the operating system automatically launches a specific program to open it. That program is called the default. You can change which program Windows uses for any file type — so PDFs open in your preferred reader instead of Edge, or music files play in your chosen media player instead of the built-in app.
Windows gives you three ways to do this: right-click a single file, change defaults for an entire file type at once, or adjust settings in the Settings app. The method you choose depends on whether you want to change just one file or all files of that type.
Key Takeaways
- Right-click any file, select "Open with," and choose a program to open just that one file without changing the default.
- To change the default for all files of one type, right-click a file of that type, select "Open with," then click "Choose another app" and check the box that says "Always use this app."
- The Settings app method works through Settings > Apps > Default apps, where you can search for a file type and assign a program to it.
- If a program does not appear in your "Open with" list, you may need to install it first or browse for it manually using "Look for another app on this PC."
- Changing a default does not delete or move the file — it only changes which program launches when you open it.
Right-click a file to open it with a different program once
The quickest way to open a single file with a program other than the default is to right-click the file itself. A menu appears with several options. Look for "Open with" — it may show a submenu of programs, or it may show "Open with" as a single option you need to hover over or click to expand.
From the submenu, select the program you want to use. That file opens in your chosen program, but Windows remembers the default for next time. This method is useful when you occasionally need a different program but do not want to change your overall settings.
Change the default for all files of one type
To make a program the default for every file of a certain type — all .pdf files, all .jpg images, all .mp3 songs — start by right-clicking any file of that type. Select "Open with" to see the submenu of available programs.
Look for an option that says "Choose another app" or "Choose default program." Click it. A window opens showing more programs. Find the one you want to use as the default. Below the list of programs, you will see a checkbox or toggle that says "Always use this app to open [file type] files." Check that box, then confirm your choice.
From that moment on, every file of that type opens with the program you selected. If the program you want does not appear in the list, scroll down to see if there is a "Look for another app on this PC" option at the bottom. Click it to browse your computer for the program's installation folder.
Use the Settings app to change defaults by file type
Windows Settings gives you a central place to see and change all your defaults at once. Open Settings by pressing the Windows key and typing "Settings," then press Enter. Once Settings opens, navigate to Apps in the left sidebar, then select Default apps.
You will see a list of file types and their current defaults. You can scroll through this list or use the search box at the top to find a specific file type — type ".pdf" or "music" or "image" to narrow it down. Click on any file type to see the programs available for it, then select the one you want as the default.
This method is helpful if you want to review all your defaults at once or change several at the same time. It also shows you which programs are installed and capable of handling each file type.
What to do if your preferred program does not appear
If the program you want to use is not showing up in the "Open with" menu or in Settings, it usually means one of two things: the program is not installed, or Windows does not recognize it as capable of opening that file type.
First, verify the program is actually installed on your computer. Open the program directly to confirm. If it is installed but still does not appear in the "Open with" list, try the "Look for another app on this PC" option. This lets you browse your computer's folders to find the program's executable file (usually a .exe file). Navigate to the program's installation folder, select the main executable, and click Open. Windows will then offer that program as an option for future files of that type.
If the program still does not work, check the program's website or help documentation — some programs require additional setup or configuration to register themselves with Windows as file handlers.
How to reset a default back to Windows standard
If you change a default and later want to go back to what Windows originally used, you can reset it. In the Settings app, go to Apps > Default apps, find the file type, and look for a "Reset" button or option next to it. Click Reset to restore the original Windows default for that file type.
Not all file types have a Reset button — some are managed by Windows and cannot be changed back through Settings. If you do not see a Reset option, use the right-click method instead: right-click a file of that type, select "Open with," and choose the original program from the list.
Troubleshooting when changes do not stick
Occasionally you will change a default and find that it reverts back to the old program the next time you open a file. This usually happens because another program or Windows update has overridden your choice. To prevent this, make sure you are checking the "Always use this app" box when you set the default, and avoid installing multiple programs designed for the same file type — they sometimes fight for control.
If a default keeps reverting, try setting it through Settings instead of the right-click menu, as Settings changes are usually more persistent. You can also check whether the program you chose has its own settings panel — some programs have an option to "Set as default" within their own menus, which can be more reliable than Windows's built-in method.
Frequently Asked Questions
Can I set different defaults for the same file type on different drives?
No. Windows defaults explore to the entire system, not to individual folders or drives. Every .pdf file on your computer will open with the same default program, regardless of where it is stored. If you need different programs for different situations, use the right-click "Open with" method each time instead of changing the system default.
What happens to files if I change the default?
The files themselves do not change at all. Changing a default only changes which program launches when you open a file. The file's contents, location, and name stay exactly the same. You can change the default back anytime without affecting the files.
Why does my program not show up in the Open with menu?
Windows only shows programs it recognizes as capable of opening that file type. If your program is installed but does not appear, try using "Look for another app on this PC" to manually select the program's executable file. You can also try reinstalling the program — the installer usually registers it with Windows so it appears in the menu.
Can I set a default for a file type that does not have one yet?
Yes. If you have never set a default for a particular file type, Windows uses its own choice. You can override it anytime by right-clicking a file of that type and following the steps to choose a different program and check "Always use this app."
Do I need to restart Windows after changing a default?
No. Changes take effect when ready. The next time you open a file of that type, it will use your new default program without requiring a restart.