How to Change Default Apps for File Types in Windows 11 (Or Reset Them All)

Aseem Kishore
·
14 min read

Help Desk Geek is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

Your PDFs open in a browser, your photos open in an editor you don’t recognize, or links launch the wrong app. You can change default apps for file types in Windows 11 one at a time from Settings > Apps > Default apps, or reset them all at once if your build shows a reset control at the bottom of that page.

How to Change Default Apps for File Types in Windows 11

Open Settings > Apps > Default apps, type the file extension or link type (such as .pdf or mailto) into the search box, select the result, and pick the app you want. That changes one association and leaves everything else alone. If everything is wrong at once, look for a reset control at the bottom of the same page (Fix #1).

Method / FixBest ForQuick Steps / Key Detail
Fix #1: Reset all default appsMany file types opening in the wrong appsDefault apps > scroll to bottom > Reset. The control and label vary by build.
Fix #2: Change one file type or link typeOne wrong association, like .pdf or httpSearch the extension in Default apps, select it, choose an app
Fix #3: Undo an accidental “Always” choiceYou clicked Always in an Open with promptSelect the app under Set defaults for applications, reassign the entry
Fix #4: Reapply saved defaults at sign-inDomain-joined or IT-managed PCs where defaults revertExport XML with DISM, then deploy it through Group Policy or MDM (Pro, Enterprise, Education)

What the Reset Changes (and What It Doesn’t)

The Default apps page in Settings controls which app opens each file type, such as .pdf or .jpg, and each link type, such as http, https, or mailto. Microsoft Support documents changing these one at a time, by file type, link type, or app. Some Windows 11 builds also show a reset control at the bottom of that page, which restores Windows-selected defaults for the associations it covers.

  • It changes: The file-type and link-type associations covered by your build’s reset control. Default apps are stored per user, so other accounts on the same PC keep their own settings.
  • It doesn’t uninstall anything. Every program stays installed. It just stops being the default.
  • There’s no Undo button. Any custom choice you made has to be set again by hand, so jot down the ones you care about first. The defaults Windows picks often include Microsoft’s own apps, such as Edge for web links, but the exact picks depend on your build, region, and installed apps.

Before You Begin

  • A PC running Windows 11. Press Windows + R, type winver, and press Enter to see your exact version and build, since labels on the Default apps page can differ between feature updates.
  • Your own Windows sign-in. Fixes #1 to #3 apply to the signed-in user and don’t normally need admin rights. Installed-app registration and organization policy can still affect which apps are offered or reapplied.
  • A note of any defaults you want to keep, such as your browser, media player, archive tool, or a paid PDF editor like Adobe Acrobat Pro. You’ll need to set those again after a full reset.
  • The replacement app already installed. Windows can only offer apps that are installed and registered for that file type.
  • Windows 11 Pro, Enterprise, or Education, admin rights, and a domain-joined or IT-managed PC, only if you need Fix #4. Home doesn’t include the Local Group Policy Editor.
The About Windows dialog opened with winver, showing the Windows 11 version and OS build number with the OK button visible

Fix #1: Reset All Default Apps at Once

Use this when lots of things open in the wrong place. Warning: this wipes out your custom choices for everything the reset covers, so write down the defaults you want back before you click.

  1. Press Windows + I to open Settings.
  2. In the left sidebar, select Apps.
  3. Select Default apps. You can also press Windows + R, type ms-settings:defaultapps, and press Enter to go straight there.
Windows 11 Settings > Apps > Default apps page showing the search box for file types and link types at the top and the list of installed apps below

You should see a search box at the top and a list of installed apps below it.

  1. Scroll past the app list to the very bottom of the page.
  2. Look for a row labeled Reset all default apps or Reset to the Microsoft recommended defaults. The wording varies between Windows 11 builds, and some builds don’t show the control at all.
  3. Click Reset. If Windows asks you to confirm, click OK.
Bottom of the Windows 11 Default apps page with the Reset all default apps row, its Reset button, and the confirmation prompt with an OK button

Expected result: The change applies right away on most PCs. Some builds show a checkmark next to the button, and others give no visual cue. If a browser, photo app, or File Explorer window was already open, close it and open it again before testing.

Double-click a PDF or photo to check. If it still opens in the wrong app, fix that extension with Fix #2. If the reset row is missing, jump to the “Reset Button Missing, Greyed Out, or Blocked” section below.

Fix #2: Change the Default for Just One File Type or Link Type

This is the fix Microsoft documents, and it’s the one worth trying first if only one thing is wrong. It’s also how you put your favorite browser or PDF reader back after Fix #1.

  1. Open ms-settings:defaultapps as shown in Fix #1.
  2. Click the box under Set a default for a file type or link type. On some builds or language versions, this area may carry a slightly different label, but it sits at the top of the page.
  3. Type the extension or link type, such as .pdf, .mp4, .txt, or mailto. A matching result appears below the box.
  4. Click the app shown under the result. If no app is assigned yet, the button says Choose a default.
  5. Select the app you want from the list. If a Set default button appears, click it. On some builds, the choice applies as soon as you pick the app.
Windows 11 Default apps page with '.pdf' typed in the file type search box and the app selection dialog open, listing available apps to open PDF files

Expected result: The new app’s name appears next to the file type, and only that one association changes. Open a file or link of that type to confirm.

The search box is smoother than it looks. Type the extension, pick the app, and you’re done. A few things to keep in mind:

  • File extensions and link types are separate associations. To fully switch browsers, check http, https, .htm, and .html one by one. For email links, check mailto.
  • Similar extensions are separate too. .jpg, .jpeg, and .png each need their own default.
  • An app won’t appear in the list if it hasn’t registered itself for that type.
  • Store and desktop versions of the same program can show up as two separate choices. Pick the one you actually use.
  • Some apps open links in their own built-in viewer and ignore the system default for those links.

Fix #3: Undo an Accidental “Always” Choice

Clicking Always in an “Open with” or “Select an app to open this file” prompt makes that app the default. The prompt’s exact wording varies by build, and some versions use an Always use this app checkbox instead. You can reverse it without resetting everything.

  1. Open ms-settings:defaultapps.
  2. Under Set defaults for applications, select the app you picked by mistake. A list of the file types and link types it handles opens.
  3. Find the file type it took over. You’ll see that app’s name listed under the extension.
Per-app defaults view in Windows 11 Settings showing the file types and link types assigned to one app, with one file type entry highlighted
  1. Click that entry.
  2. Choose the correct app from the list. Click Set default if your build shows it.

Expected result: A file of that type opens in the app you chose, and every other file type stays the same.

If you can’t find the wrong app in the list, search for the extension directly using Fix #2 instead. The result is the same.

Fix #4: Reapply a Saved Set of Defaults at Sign-In (Domain-Joined or Managed PCs)

This fix is for business PCs where defaults keep reverting. Microsoft’s description of the Set a default associations configuration file Group Policy says the file is processed when the PC is domain-joined, and its ApplicationDefaults Policy CSP page describes the MDM version of the same setting applying on Microsoft Entra joined devices.

On a standalone Pro PC that isn’t joined to a domain or managed by IT, enabling the policy in the Local Group Policy Editor may do nothing, so on a personal PC I’d skip it and stick with Fix #2.

Where the policy does apply, Windows applies the associations in the file when someone signs in. A user can still change a default afterward, and the policy can set it back at a later sign-in.

If your PC is managed by an organization, its MDM policy (such as Intune) or domain policy can take precedence over this local setting; Microsoft notes that for this policy the MDM setting wins over Group Policy. Ask IT first, since they may prefer to deploy the XML file centrally.

Important: This reapplies a set of associations by policy. It doesn’t stop you, other users, or apps from changing a default between sign-ins, and what gets reapplied depends entirely on what the exported XML file contains. Microsoft has also documented logon hangs at the Welcome screen in some configurations that use a default-associations policy. Test it on one PC before rolling it out.

  1. Set every default the way you want it using Fixes #1 to #3.
  2. Right-click Start and select Terminal (Admin). Click Yes at the User Account Control prompt.
  3. Export your current associations:
Dism /Online /Export-DefaultAppAssociations:"C:\AppAssoc.xml"

DISM should finish by reporting that the operation completed successfully, and C:\AppAssoc.xml should now exist.

  1. Press Windows + R, type gpedit.msc, and press Enter.
  2. Go to Computer Configuration > Administrative Templates > Windows Components > File Explorer.
  3. Double-click Set a default associations configuration file.
  4. Select Enabled, enter C:\AppAssoc.xml as the file path, then click OK.
Local Group Policy Editor with 'Set a default associations configuration file' policy open, Enabled selected, and C:\AppAssoc.xml in the path field
  1. Sign out and back in.

Expected result: On a domain-joined PC, after you sign back in, the file types and link types in the XML file should open in the apps you exported. If nothing changes on a standalone PC, that’s the domain-join requirement, not a mistake in your steps. Keep C:\AppAssoc.xml where it is, because the policy reads it from that path. On a business network, a stable shared location that every account can read at sign-in is usually a better home for the file.

On Windows 11 Home, don’t try to bolt Group Policy on with unofficial scripts. Use Fix #2 after major updates instead.

Configuration

Setting or workflowWhereScope
Reset default apps (if your build has it)Bottom of Default apps, label and placement vary by buildThe defaults covered by that build’s reset control
Set a default for a file type or link typeSearch box at top of Default appsOne extension or protocol
Set defaults for applicationsApp list on Default appsAssociations registered by one app
Set a default associations configuration fileGroup Policy > Windows Components > File ExplorerAssociations in the XML, reapplied at sign-in

Reset Button Missing, Greyed Out, or Blocked

The reset control is the least predictable part of the Default apps page. If it’s missing or won’t respond, work through these checks in order.

  1. Confirm your build. Run winver and make sure you’re on Windows 11. If the reset row isn’t on your build, use Fix #2 or Fix #3. They reach the same associations.
  2. Install pending updates. Go to Settings > Windows Update, install what’s waiting, and restart. Then open Default apps again.
  3. Check for organization management. Go to Settings > Accounts > Access work or school. If a work or school account is connected, policy may hide the control or reapply defaults.
Windows 11 Settings > Accounts > Access work or school page showing a connected work or school account entry
  1. Test with a fresh profile. Go to Settings > Accounts > Other users and add a local account. Sign in and try changing a default there. If it works in the new account, your original profile is damaged. If it fails there too, the block is system-wide policy or security software.
  2. Look at security software. Endpoint protection and app-control policies can stop apps from registering file handlers. Check with whoever manages that software rather than turning protection off.

Skip registry “fixes” copied from forums. Windows protects the per-user association data, so direct registry edits often don’t stick and can leave associations in a worse state.

Change Your Default Browser or Email App Completely

Switching browsers takes more than one setting. The fastest way is the per-app view.

  1. Open ms-settings:defaultapps.
  2. Under Set defaults for applications, select your browser.
  3. Set it for http, https, .htm, and .html. If the page offers a Set default button at the top for the whole app, use it, then still check those four entries.
Windows 11 Default apps per-app page for a third-party browser showing the http, https, .htm, and .html entries with their assigned app

For email, set mailto separately. If you use Outlook from a Microsoft 365 subscription, select Outlook under Set defaults for applications and check every file type and link type it lists. An association alone won’t fix a broken Outlook profile or account, though.

Two related problems live outside this page entirely. If sound goes to the wrong Bluetooth headphones, check Settings > System > Sound. If video shows up on the wrong external monitor, check Settings > System > Display. Changing .mp3 or .mp4 defaults won’t touch either one.

Tips and Troubleshooting

  • Can’t find the Reset button: Open ms-settings:defaultapps directly and scroll all the way down. If your build has the reset control, it sits at the bottom, though the label may differ. If it’s missing, use Fix #2 or Fix #3 and see the section above.
  • More changed than you expected: A reset covers every association it controls. Use Fix #2 to reassign the few defaults you care about.
  • Your app isn’t in the list: The app may not have registered its file types with Windows. Repair or reinstall it, then check again. For Store apps, go to Settings > Apps > Installed apps, click the three dots next to the app, and select Advanced options to find Repair and Reset when they’re offered. Portable apps often never register at all.
Windows 11 Settings > Apps > Installed apps > app Advanced options page with the Repair and Reset buttons visible
  • Files still open in the old app: Close and reopen the app. If that doesn’t do it, open Task Manager with Ctrl + Shift + Esc, right-click Windows Explorer, and select Restart. Also confirm the file’s exact extension, and check whether it’s opening from inside an email client or browser preview instead of File Explorer.
  • Defaults revert after updates: Users have reported this in a Microsoft Tech Community thread. Set your defaults again, then look for the usual culprits. An app may ask to become the default when it starts or updates, so decline the prompt or turn it off in that app’s settings. Then check Settings > Accounts > Access work or school. If a work or school account is connected, your organization’s policy may be reapplying its own defaults. Ask IT before trying Fix #4.
  • Windows refuses to change an association: A standard account under organization restrictions may be blocked. Check with your administrator rather than forcing it.

FAQ

Will resetting default apps delete my programs? No. Nothing is uninstalled. Apps simply stop being the default.

Do I need admin rights? Not for the reset or single-file-type changes, which only touch your own account’s settings. Fix #4 needs admin rights.

Does resetting affect every account on the PC? Normally, no. Defaults belong to the signed-in user. Managed policy is the exception: depending on how IT deploys it, a default-associations policy can reapply the same associations when each user signs in.

Can I undo a reset? There’s no one-click Undo. Restore your important defaults with Fix #2, or, on a domain-joined or managed Pro, Enterprise, or Education PC, reapply a saved XML file with Fix #4.

Why can’t I see the app I want? It may not be installed, may not support that file type, may not have registered with Windows, or may be blocked by policy.

Is there a way to stop defaults from changing? Not completely. On a domain-joined or IT-managed Pro, Enterprise, or Education PC, Fix #4 can reapply your saved defaults each time you sign in. On Home or a standalone PC, set your defaults again after a major update. It takes about a minute with Fix #2.

Wrapping Up

Fix #2 is the one I’d reach for first. The search box is a small gem, and resetting everything is overkill when only your PDFs are wrong, so save Fix #1 for when everything is wrong at once.

If defaults keep switching to an app you don’t remember installing, check Settings > Apps > Installed apps for it and run a Microsoft Defender scan to be safe. If the problem follows you into a brand-new local account, stop troubleshooting the page itself and bring in your IT admin or Microsoft support.

Resources