Default apps · Windows

Also known as: default programs

On this page 7

Default apps in Windows are the applications assigned to open specific file types and link protocols, so that a double-clicked .pdf file, a clicked https link or a mailto address goes to the same program every time. In the area of Windows apps & Store, the setting connects installed applications, whether Win32 desktop programs or MSIX packages, with the everyday actions of opening content.

The feature was long called default programs in Control Panel and now lives in Settings > Apps > Default apps. Because a default decides which browser, mail client or media player the user meets daily, Windows protects these choices from silent changes by other software.

How Windows resolves a default app

When a file or link is opened, Windows looks up an association that maps an extension or protocol to a programmatic identifier (ProgID), which in turn names the executable and command line to run. Applications register their capabilities during installation, but registration only makes an app eligible; the user choice decides which eligible app actually wins.

The per-user choice is stored under a UserChoice registry key together with a protected hash. Since Windows 8, the hash prevents programs from writing a default directly, so an installer can offer itself but cannot silently take over an extension. If the hash does not match, Windows ignores the entry and may display a notice that an app default was reset.

Association typeExampleWhat it decides
File type.pdf, .jpg, .mp4Program that opens a file from File Explorer
Link protocolhttps, mailto, telProgram that handles a clicked link or URI
Application default setA browser set as defaultAll file types and protocols an app claims at once
Fallback associationMachine-wide ProgIDProgram used when no user choice exists
Kinds of associations that default apps control

Where default app settings are made

Windows offers several entry points to the same association data, and they differ mainly in scope. A home user typically needs only Settings or the Open with dialog, while administrators manage defaults across many devices with configuration files and policies.

MethodScopeTypical user
Settings > Apps > Default appsCurrent user, per app or per typeAny user
Open with > AlwaysCurrent user, one file typeAny user
DISM export and importNew user profiles on an imageDeployment engineer
Group Policy association fileUsers at each sign-inDomain administrator
Intune configuration profileManaged devicesCloud administrator
Ways to change default apps and their scope

In Settings, the user can search by file type or link type, or open an app page that lists every extension it can handle. Recent Windows 11 releases added a single Set default button for browsers and some other apps, which assigns their main types in one step instead of requiring a separate choice for .htm, .html, http and https.

Managing default apps in organizations

Enterprise management starts with a reference association file. An administrator configures a test profile, then runs Dism /Online /Export-DefaultAppAssociations to produce an XML file listing each extension or protocol, its ProgID and its application name.

That file can be imported into a Windows image so that new profiles start with the chosen defaults, or referenced by the Group Policy setting Set a default associations configuration file, which reapplies the mapping at every sign-in. Intune achieves the same result through a configuration profile. The policy approach is stronger but overrides user changes at the next sign-in, which can frustrate staff who prefer another viewer.

Packaged apps take part in the same system declaratively. An MSIX or AppX manifest declares file type associations and protocol extensions, and Windows registers them on installation and removes them cleanly on uninstall, which avoids the orphaned registry entries common with older installers.

Default apps are often confused with neighboring features that also redirect what runs. The distinction matters when troubleshooting, because changing the wrong setting leaves the original behavior unchanged.

FeatureWhat it mapsTriggered by
Default appsFile types and protocols to applicationsOpening a file or link
App execution aliasesCommand names to packaged appsTyping a name in a shell
Startup appsApplications to sign-inSigning in to Windows
AutoPlayMedia and device types to actionsInserting a drive or device
assoc and ftype commandsMachine-wide legacy associationsCommand line, administrators only
How default apps differ from similar features

The assoc and ftype commands deserve a warning: they edit machine-wide class registrations, but a per-user UserChoice entry takes precedence, so the change often appears to have no effect.

Common default app problems and fixes

Most complaints involve defaults that change back unexpectedly or a program that is missing from the choice list. The causes are usually predictable once the protection model is understood.

SymptomLikely causeRemedy
Default reset notificationSoftware wrote an invalid UserChoice entrySet the default again in Settings
App missing from the listApp did not register its capabilitiesReinstall or use Choose an app on your PC
Policy overrides user choiceAssociation file applied at sign-inUpdate the central XML file
Links still open another browserOnly some protocols were assignedUse the app’s Set default button
Symptoms, causes and remedies

A final option, Reset all default apps, restores the Microsoft-recommended associations for the current user. It is useful after heavy experimentation but removes every custom choice, so it should be a last resort.

The simple explanation

Every time you open a photo, a document or a web link, your computer has to decide which program should handle it. Default apps are simply that list of decisions. You might choose one photo viewer for pictures, one browser for links and one player for music.

Windows lets you change these choices in Settings whenever you like. It also guards them against sneaky changes, so a newly installed program can ask to become the default but cannot quietly take over. The key idea is that you stay in control of what opens your files.

How it is used in practice

An accounting firm with 120 Windows 11 laptops standardizes on one PDF editor because its digital signature workflow depends on it. Staff kept opening invoices in the browser’s built-in viewer, which could not apply the required signatures, and several documents were sent unsigned.

The IT administrator sets the editor as the default for .pdf on a reference machine, exports the mapping with DISM to an XML file containing only the PDF entry, and deploys it through the Group Policy default associations configuration file setting. Because the file lists only one extension, staff keep their own browser and media choices. After the next sign-in, every invoice opens in the signing tool, and unsigned documents stop appearing in the review queue.