When you double-click a file or click a link in Windows 11, the operating system looks up default application assignments to decide which program launches. Over time, newly installed software packages, media players, code editors, and browsers frequently alter these associations without explicit consent. Misconfigured file associations can cause PDF documents to open in web browsers, images to load in slow viewers, or email links to trigger unwanted apps. Windows 11 includes granular controls within the Settings app and command-line tools to customise default file extensions and URI protocols.
Understanding File Associations vs Protocol Handlers
Windows 11 categorises application triggers into two distinct mechanisms:
- File Type Associations: Map specific file extensions (such as
.pdf,.docx,.mp4, or.png) to a chosen desktop software package. - Protocol Handlers: Map URI protocol prefixes (such as
mailto:,http:,https:, orcallto:) to communication or browser apps when clicked across websites or emails.
Configuring Default Apps by File Type in Windows 11
To assign specific software to an extension:
- Press Win + I to open the Settings app.
- Select Apps from the left-hand navigation pane.
- Click Default apps in the right-hand panel.
- In the Set a default for a file type or link type search box at the top, type the extension you want to reassign (for example,
.pdfor.mkv). - Click the current application icon displayed below the search bar.
- A pop-up menu will present available programs capable of opening that format. Choose your preferred app.
- Click Set default to confirm the change.
Configuring Associations by Application
If you recently installed an app (such as VLC Media Player or VS Code) and want it to take ownership of all supported media or code files simultaneously:
- Navigate to Settings > Apps > Default apps.
- Scroll down to the Set defaults for applications list or search for the application by name.
- Click on the application card to open its comprehensive extension directory.
- You will see a list of every file extension and protocol the app can handle.
- Click any extension currently mapped to another app and assign it to your target application.
Managing Protocol Handlers (mailto, http, and callto)
To control which application handles clicked email addresses or meeting links:
- Go to Settings > Apps > Default apps.
- Scroll down and type
mailtointo the top search box. - Click the current email handler (e.g. Outlook or Mail) and switch it to your preferred client (such as Thunderbird, Chrome, or Edge).
- Repeat the process for other protocols such as
callto,tel, orms-windows-store.
Using the “Open With” Context Menu for Quick Reassignment
You can reassign file associations on the fly directly from File Explorer without opening Settings:
- Open File Explorer and navigate to the file.
- Right-click the file and select Open with > Choose another app.
- Select your preferred application from the list.
- Tick the checkbox labelled Always use this app to open .[ext] files.
- Click OK. Windows 11 updates the association and immediately opens the document.
Resetting All File Associations to Microsoft Defaults
If third-party installers have scrambled your file mappings or caused file icons to turn blank, you can restore system defaults with a single click:
- Open Settings > Apps > Default apps.
- Scroll all the way down to the bottom of the page to find the Related settings area.
- Locate Reset all default apps and click the Reset button.
- Confirm the prompt. Windows 11 instantly restores all file types and protocols to factory standard configurations.