Skip to content
  • Home
  • About
  • No Access
  • Privacy Policy
Bits of .NET
Bits of .NET
  • C#
  • Asp.Net Core
  • SQL
  • Windows
  • WordPress
  • AI
  • JavaScript
  • CSS
  • MORE
    • HTML
    • Ajax
    • Git
    • Docker
    • Kubernetes
    • Photoshop
    • Visual Studio

Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

  • C#
  • Asp.Net Core
  • SQL
  • Windows
  • WordPress
  • AI
  • JavaScript
  • CSS
  • MORE
    • HTML
    • Ajax
    • Git
    • Docker
    • Kubernetes
    • Photoshop
    • Visual Studio
Windows

Windows 11: Fix a File Association That Keeps Reverting to the Wrong Default App

- 06.09.26 - ErcanOPAK

🪟 Fix a File Type That Keeps Reverting to the Wrong Default App No Matter How Many Times You Change It

A file type – PDFs, images, a specific document format – is set to open with the preferred app, and within a day or two it silently reverts back to a different app, over and over, usually because another installed application (frequently one that was just updated) is re-registering itself as the handler for that file type in the background, without asking again each time.

✅ Fix 1: Set the Default at the Extension Level, Not Just the App

  • Settings → Apps → Default apps → search for the specific file extension (e.g., “.pdf”) rather than searching by app name – setting the default THIS way (per extension) tends to stick more reliably than setting a “default app” broadly, since it’s the more specific and less contested setting.
  • After setting it, check Settings → Apps → Default apps → “Choose default apps by file type” specifically for that extension again after a day or two – if it reverted, that confirms something is actively re-claiming the association rather than it being a one-time fluke.

🔎 Fix 2: Find and Stop the App That’s Re-Claiming It

[‘The most common culprits are apps that check-and-reset file associations on every launch or every update – browsers (for PDF/HTML), photo viewer apps, and PDF readers are especially prone to this. Check each such app\’s own settings for an option like “set as default” or “always check if I\’m the default” and disable it.’, “If a specific app was recently updated right before the reverting started, that’s a strong candidate – some updaters silently re-register file associations as part of the update process, even when the user previously chose something else deliberately.”]

⚠️ A More Permanent (More Technical) Option

  • For advanced cases, Windows’ `DefaultAssociationsConfiguration` XML mechanism (used via Group Policy or `Dism /Online /Import-DefaultAppAssociations`) can enforce a default app association at the system level in a way that’s more resistant to individual apps re-claiming it – overkill for casual use, but useful in a managed/enterprise environment where this keeps recurring.

A file association that keeps reverting isn’t forgetting your choice – something else is actively making a different choice every time, and it’s worth finding out what.

— PC Power User

Related posts:

Windows 11 “High RAM Usage After Sleep” — Memory Compression Bug

Windows 11 “High RAM Usage After Sleep” — Memory Compression Bug

Windows 11: Fix a Keyboard Layout That Randomly Switches Mid-Typing

Windows 11: Fix a Keyboard Layout That Randomly Switches Mid-Typing

Windows 11: Unlocking the Secret 'God Mode' Folder

Windows 11: Unlocking the Secret 'God Mode' Folder

Views: 20
Found this useful? Share it
XLinkedInWhatsApp

Post navigation

WordPress: Fix Real Visitor Comments That Silently Land in Spam Every Time
C#: Fix a Recursive Async Method That Grows the Call Stack Until It Crashes

Leave a Reply Cancel reply

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

Most Read

  1. 01How to make theater mode the default for Youtube 1,080 views
  2. 02How to add default value for Entity Framework migrations for DateTime and Bool 999 views
  3. 03Get the User Name and Domain Name from an Email Address in SQL 998 views
  4. 04Get the First and Last Word from a String or Sentence in SQL 874 views
  5. 05How to select distinct rows in a datatable in C# 869 views
  6. 06How to enable, disable and check if Service Broker is enabled on a database in SQL Server 673 views
  7. 07Add Constraint to SQL Table to ensure email contains @ 632 views
  8. 08Average of all values in a column that are not zero in SQL 586 views
  9. 09How to use Map Mode for Vertical Scroll Mode in Visual Studio 563 views
Bits of .NET

Daily micro-tips for C#, SQL, performance, and scalable backend engineering.

Social

  • ErcanOPAK.com
  • GoodReads
  • LetterBoxD
  • Linkedin
  • The Blog
  • Twitter
Back to top
© 2026 Bits of .NET | Built with Xblog Plus free WordPress theme by wpthemespace.com