Skip to content
-
Subscribe to our newsletter & never miss our best posts. Subscribe Now!
picxsheet.com picxsheet.com Picxsheet - Technology Guides, AI Tools & Software Tutorials
picxsheet.com picxsheet.com Picxsheet - Technology Guides, AI Tools & Software Tutorials
  • Home
  • How to guides
  • Windows
  • Cybersecurity
  • PDF Tools
  • Home
  • How to guides
  • Windows
  • Cybersecurity
  • PDF Tools
Close

Search

Home/Softwares/Windows/How to Change File Associations in Windows
How to Change File Associations in Windows
WindowsHow to guides

How to Change File Associations in Windows

By Hammad Jamil
November 17, 2026 7 Min Read
0

You double click a PDF and it opens in your web browser instead of the reader you actually prefer. Or a photo launches in an editing program when all you wanted was a quick look. Windows picks a default app for every type of file, and sometimes its choice isn’t yours. Fixing it takes less than a minute once you know where the setting lives.

The short version: right click the file, choose Open with > Choose another app, pick the program you want, and select Always. If you want to change a whole file type, or fix many at once, use Settings > Apps > Default apps. The details below cover both, plus what to do when the change refuses to stick.

How to Change File Associations in Windows

What a File Association Actually Is

Every file ends with an extension, like .pdf, .docx, .jpg, or .mp3. A file association is simply Windows remembering which program should open each extension. When you double click, Windows looks up the extension, finds the associated app, and launches it.

Associations change more often than you’d expect. Installing a new program can quietly claim file types for itself. Windows updates sometimes reset a few back to Microsoft’s choices. And some apps ask politely whether they can become your default, which is easy to click through without noticing.

If you can’t see extensions, turn them on. In File Explorer, click View > Show > File name extensions. It makes everything below much easier to follow.

The 30 Second Fix: Open With

For a single file type, this is the quickest route.

  1. Right click a file of the type you want to change.
  2. Choose Open with, then Choose another app.
  3. Pick the program you’d like to use from the list.
  4. Select Always to make it the default, or Just once to use it a single time.
The 30 Second Fix: Open With

If your preferred app isn’t in the list, click Choose an app on your PC and browse to the program’s file. Windows will remember the choice for every file with that extension from then on.

The Permanent Fix: Default Apps in Settings

The Settings page gives you more control, and it’s the right place when the quick method doesn’t work or you want to adjust several types at once.

Open Settings > Apps > Default apps. From here, you have two ways to work:

Start with the app. Search for or select a program in the list, such as your PDF reader or media player. Windows shows every file type that app can open, with the current default beside each one. Click an extension and choose the app you want. Newer builds of Windows 11 also include a Set default button on an app’s page that assigns all the types it supports in one step.

Start with the file type. Use the search box near the top, where you can enter a file type or link type. Type an extension such as .pdf or .mp4, then choose the app that should open it. This is the best route when you know exactly which file type is misbehaving.

The Permanent Fix: Default Apps in Settings

On Windows 10, the same page is at Settings > Apps > Default apps, with a link labeled Choose default apps by file type. The menus look a bit different, but the idea is identical.

Changing Your Web Browser

Browsers are a special case because they handle several things at once: web pages, links, and some document types. Setting a new default browser usually means changing a handful of entries, such as .htm, .html, HTTP, and HTTPS. Pick the browser in the Default apps list and use its Set default button where it’s available, which updates them together. This is easier than changing each one by hand.

Changing Defaults for Links, Like Email Addresses

File types aren’t the only thing Windows assigns to apps. Links have defaults too. The most common example is an email link. When you click an address on a website and the wrong mail program opens, or one you don’t even use, that’s a link association at work.

Changing Defaults for Links, Like Email Addresses

You can fix it from the same place. In Settings > Apps > Default apps, use the search box for file types and link types, and enter MAILTO. Choose the email app you actually use, and clicking an email address on a web page will open it from then on. The same approach works for other link types, such as the ones for phone numbers or calendar invitations, as long as you know the name of the link type. If you don’t see the one you’re after, look through your email or calendar app’s page in the list, since many of them show the link types they handle.

When the Change Won’t Stick

It’s frustrating to change a setting and find it reverted a day later. A few common causes are worth checking:

  • The app doesn’t support that file type. If the program doesn’t list the extension, Windows can’t make it the default.
  • Another program keeps taking over. Some apps re-register themselves after updates. Check the app’s own settings for an option such as “always use this as my default,” and turn it off.
  • A Windows update reset it. This is annoying but normal, and you can reapply your choice.
  • You changed it in a different account. Defaults are saved per user, so each person on the PC has their own settings.
  • It’s a managed device. Work or school computers sometimes lock defaults through policy, and you’ll need to ask your administrator.

Restarting your PC, or signing out and back in, clears up odd glitches surprisingly often.

Fixing Many at Once or Starting Fresh

If your file associations have become a mess, a reset can save time. In Settings > Apps > Default apps, scroll to the bottom and look for Reset all default apps. It returns every association to Microsoft’s recommended choices. It’s a blunt tool, since it undoes your custom settings too, but it’s helpful when something is deeply tangled. Afterward, set the few you care about again.

Fixing Many at Once or Starting Fresh

A Quick Look Under the Hood

If you’re curious which program is tied to an extension, open Command Prompt and type assoc .txt to see how Windows describes it. This is handy for checking, but changing associations this way isn’t dependable on modern versions of Windows, because your own choices in Settings take priority. Stick to the Settings page for changes.

What to Do With a File Type Windows Doesn’t Recognize

Sometimes you double click a file and Windows asks how you want to open it, or says it can’t open it at all. This usually means no installed app is associated with that extension, or the file has an unusual extension you’ve never seen.

Start by figuring out what the file is. Right click it, choose Properties, and look at Type of file on the General tab. If it shows only an extension, such as “.xyz file,” a quick web search for that extension usually reveals which program creates it. From there, you can install the right app, and Windows will offer it the next time you open the file. In the Open with window, you can also choose Look for an app in the Microsoft Store to see suggestions.

Be a little careful with files you didn’t expect to receive. Extensions like .exe, .bat, .scr, and .js can run code on your computer, so if you don’t recognize one, don’t open it, and don’t set one of those types to open with a different program. When in doubt, scan the file with your security software or delete it.

Mistakes to Avoid

Don’t rename a file’s extension to make it open in another program. Changing a .docx to .pdf by editing the name doesn’t convert it, and it usually just breaks the file. If you need a different format, use the program’s Save as or Export option instead. And if a file has no extension at all, Windows can’t guess what it is, so it asks which app to use. Adding the correct extension, if you know it, usually solves that.

Quick Answers

How do I change the default program for a file type in Windows?

Right click a file, choose Open with, Choose another app, pick the program, and select Always. Or go to Settings > Apps > Default apps and set it by file type.

Why does my file open in the wrong program?

Another app may have taken over that file type, or an update may have reset it. You can fix it by choosing the correct default again.

How do I reset all file associations?

Open Settings > Apps > Default apps and use Reset all default apps. It returns everything to Microsoft’s recommended defaults.

Do file associations apply to every user on the PC?

No. They’re saved per user account, so each person sets their own.

Author

Hammad Jamil

Hammad Jamil is a YouTuber, tech entrepreneur, full stack developer, and SEO specialist. He creates informative content covering technology, software guides, AI tools, and hardware optimization, making complex technology easier to understand.

Follow Me
Other Articles
How to Check Your PC Specifications Without Software
Previous

How to Check Your PC Specifications Without Software

How to Make Google Chrome More Private
Next

How to Make Google Chrome More Private

No Comment! Be the first one.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Categories

  • Account Security
  • Android
  • Browsers
  • Cloud Storage & File Sharing
  • Cybersecurity
  • Email & Communication
  • How to guides
  • PDF Tools
  • Privacy & Security
  • Softwares
  • Windows

Tags

email free softwares gmail google google chrome google drive windows windows 11

picxsheet.com
  • Facebook
  • X
  • LinkedIn
  • Instagram
  • YouTube
  • About Us
  • Contact Us
  • Cookie Policy
  • Disclaimer
  • DMCA Policy
  • Editorial Policy
  • Privacy Policy
  • Terms and Conditions
Copyright 2026 Picxsheet. All rights reserved. Powered by Dakaan.pk