How to change the file associations in Windows 10?
Jul 08, 2025 am 02:27 AMTo change the default program for file types in Windows 10, you can do it through Settings or Control Panel. First, open Settings > Apps > Default Apps, select "Select Default Apps by File Type", click on a specific extension and select a new program; secondly, you can modify it through "Default Programs" > "Settings Association" in the Control Panel; if the required programs are not listed, you can try reinstalling the program, using the "Always Ask" option, or manually selecting the program. For advanced users, associations can also be adjusted through the registry editor or third-party tools.
Changing file associations in Windows 10 is something you might need to do when a certain file type opens with the wrong program — like PDFs opening in a browser or text files opening in Notepad by default. The good news is, it's not hard to fix. You just need to know where to look.

How to Change Default Apps for File Types
Windows 10 lets you control which apps open specific file types through its Default Apps settings. Here's how to get started:

- Open Settings (you can press
Win I
). - Go to Apps > Default Apps .
- Scroll down and click on Choose default apps by file type .
You'll see a long list of file extensions — things like .pdf
, .txt
, .jpg
, etc. Click on any extension, and you'll be able to pick a new default app from the ones installed on your system.
A common issue is
.py
files opening in an editor instead of running scripts. Make sure to double-check those if you're working with code.![]()
If the app you want isn't listed, you can use the “Look for another app on this PC” option to manually select one.
Set Default Programs Through Control Panel (Older Interface)
Some people still prefer the older Control Panel method, especially if they're used to it from Windows 7 or 8:
- Open the Control Panel (search for it in the Start menu).
- Go to Programs > Default Programs > Set Associations .
Here, you'll find a list of file types grouped alphabetically. Clicking on one will let you change the program associated with it.
This interface might feel less poisoned than the modern Settings app, but it works just as well — especially if you're dealing with obscure file types or legacy software.
What If the App Doesn't Show Up?
Sometimes, even after trying both methods, the app you want doesn't show up in the list. That usually means it didn't register itself properly with Windows during installation.
In that case, try these steps:
- Reinstall the app, making sure to allow it to create file associations.
- Use the “Always ask” option first, then manually choose the app each time until it shows up in the list.
- For advanced users: you can edit the registry or use third-party tools like Default Programs Editor , though that's not recommended unless you know what you're doing.
Also, some UWP apps (like Microsoft Photos or Mail) don't always play nice with classic file types. In those cases, switching to a desktop app is often the simplest solution.
Basically that's it. It's not complicated once you know where to go, but it can be confusing the first time you try it. Just take it step by step, and you should be able to get your files opening the right way.
The above is the detailed content of How to change the file associations in Windows 10?. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

If you want to cancel the password login for Windows 11, there are three methods to choose: 1. Modify the automatic login settings, uncheck "To use this computer, users must enter their username and password", and then restart the automatic login after entering the password; 2. Switch to a passwordless login method, such as PIN, fingerprint or face recognition, configure it in "Settings>Account>Login Options" to improve convenience and security; 3. Delete the account password directly, but there are security risks and may lead to some functions being limited. It is recommended to choose a suitable solution based on actual needs.

Like many Windows users, I am always on the lookout for ways to boost my productivity. Command Palette quickly became an essential tool for me. This powerful utility has completely changed how I interact with Windows, giving me instant access to the

There are three main ways to uninstall programs on Windows 11: 1. Uninstall through "Settings", open the "Settings" > "Apps" > "Installed Applications", select the program and click "Uninstall", which is suitable for most users; 2. Use the control panel, search and enter "Control Panel" > "Programs and Functions", right-click the program and select "Uninstall", which is suitable for users who are accustomed to traditional interfaces; 3. Use third-party tools such as RevoUninstaller to clean up more thoroughly, but pay attention to the download source and operation risks, and novices can give priority to using the system's own methods.

To run programs as administrator, you can use Windows' own functions: 1. Right-click the menu to select "Run as administrator", which is suitable for temporary privilege hike scenarios; 2. Create a shortcut and check "Run as administrator" to achieve automatic privilege hike start; 3. Use the task scheduler to configure automated tasks, suitable for running programs that require permissions on a scheduled or background basis, pay attention to setting details such as path changes and permission checks.

This might not be at the top of the list of features people want to return from Windows 10, but it still offers some usefulness. If you'd like to view the current minutes and seconds without turning on that display in the main taskbar clock (where it

Windows 10 KB5061087 is now rolling out as an optional preview update for those on version 22H2 with Start menu fixes.

Microsoft confirmed that the DHCP server service might stop responding or refuse to connect after the June 2025 Update for Windows Server.

In the past, I always viewed the i5 lineup as anemic when it came to gaming. However, in 2025, a mid-range CPU is more than enough to start your gaming journey. Many games still don’t fully utilize multi-core performance as well as they could, so
