Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Windows 11 does not use one universal default-app switch. It stores associations separately, so file types such as .pdf and .txt, and link types such as http, https, and mailto, can each point to different applications.

Use Settings for normal configuration, search for a specific file type or protocol when you know what to change, or use File Explorer for a file in front of you. The advanced Command Prompt tools assoc and ftype can inspect or alter legacy file associations.

1. Choose an app in Settings

This is the main Windows 11 method when you want to review several associations belonging to one application.

  1. Open Settings. You can also press Windows + I.
  2. Go to Apps > Default apps.
  3. Under Set defaults for applications, select the application you want to configure.
  4. Windows displays the file types and link types currently associated with that app.
  5. Select the file type or link type you want to change, choose the preferred application, and select Set default if Windows displays the confirmation.

For example, selecting a PDF reader lets you configure .pdf. Selecting a browser exposes browser-related file and link associations, but those associations may still need to be handled individually.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
#1 Best Overall
Sale
Logitech MK120 Full Size Wired Keyboard and Mouse Combo - Black
  • Durable and Reliable: This USB keyboard features a curved space bar, spill-resistant design (2), durable keys that can withstand 10 million keystrokes, and sturdy, adjustable tilt legs
  • Comfortable, Familiar Typing: You’ll enjoy a comfortable and familiar typing experience thanks to the deep-profile keys and standard layout with full-size F-keys and number pad
  • Full-size Sculpted Mouse: The high-definition optical USB mouse puts comfort and control in your hands with smooth, accurate tracking and an ambidextrous shape that feels good hour after hour
  • Simple Set-Up: Simply plug the keyboard and mouse into the USB ports on your desktop, laptop, or netbook and you're ready to work; compatible with Windows 7, 8, 10 or later
  • Clear and Convenient: The bold, bright white and long-lasting characters make the keys on this PC or laptop keyboard easy to read and extra durable

Set a browser as the default

For a browser such as Microsoft Edge, open Settings > Apps > Default apps and select Microsoft Edge. Beside Make Microsoft Edge your default browser, select Set default.

Do not assume that choosing an app automatically changes every association it supports. Formats such as .pdf and .html, and protocols such as http and https, may need separate attention unless the app provides a browser-specific Set default button.

2. Search for the extension or protocol first

This approach is quicker when you already know exactly what needs to change. It is useful for a single format such as .txt or a link handler such as mailto.

  1. Open Settings > Apps > Default apps.
  2. Use the search box on the Default apps page.
  3. Enter the file extension, including the leading period—for example, .txt—or enter a protocol such as http, https, or mailto.
  4. Select the matching result.
  5. Choose the application that should open that file type or link type.

File extensions and protocols are separate categories:

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Entry What it controls Example
File extension The application used to open a file .pdf, .jpg, .docx
Protocol The application used to handle a link http, https, mailto

Changing .html does not establish that http and https have also changed. If links still open in the old browser, search for those protocols separately.

If you cannot see the extension

File Explorer may hide filename extensions by default. To display them, open a folder and select View > Show > File name extensions. You can then tell whether a file is really .pdf, .txt, .jpg, or another type.

Rank #2
Sale
Logitech MK270 Full Size Wireless Keyboard and Mouse Combo - Black
  • Reliable Plug and Play: The USB receiver provides a reliable wireless connection up to 33 ft (1), so you can forget about drop-outs and delays and you can take it wherever you use your computer
  • Type in Comfort: The design of this keyboard creates a comfortable typing experience thanks to the low-profile, quiet keys and standard layout with full-size F-keys, number pad, and arrow keys
  • Durable and Resilient: This full-size wireless keyboard features a spill-resistant design (2), durable keys and sturdy tilt legs with adjustable height
  • Long Battery Life: MK270 combo features a 36-month keyboard and 12-month mouse battery life (3), along with on/off switches allowing you to go months without the hassle of changing batteries
  • Easy to Use: This wireless keyboard and mouse combo features 8 multimedia hotkeys for instant access to the Internet, email, play/pause, and volume so you can easily check out your favorite sites

This matters because an apparently ordinary document may have an unexpected extension. Windows configures the association for the actual extension, not the one you assume it has.

3. Use File Explorer’s Open with menu

When you are looking at a particular file, File Explorer provides a direct way to change the application for that file type.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Open File Explorer and locate the file.
  2. Right-click it.
  3. Select Open with > Choose another app.
  4. Select the application you want to use.
  5. If Windows displays a default-setting confirmation, select the option to use that app for this file type.

This changes the association for the selected file’s extension. It does not configure every format or protocol supported by the application. Choosing an editor for a .txt file does not automatically make it the handler for .rtf, .log, or other text-related extensions.

When the application is not listed

The app picker offers two alternatives:

  • Choose Search the Microsoft Store to look for an application advertised as compatible with the file type. A suitable app is not guaranteed to be available.
  • Choose Choose an app on your PC to browse to an installed executable. A portable or poorly registered application may open the current file without creating a complete association for future files.

Renaming report.txt to report.pdf changes only the filename extension. It does not convert the contents into a valid PDF and may make the file harder to identify.

4. Inspect or change associations with Command Prompt

assoc and ftype are legacy, advanced commands. They operate on extension and file-type associations, not on the complete modern Default apps configuration. Use Settings when you need to configure browser protocols or review all associations for an application.

Inspect an extension

Open Command Prompt (cmd.exe) and run:

assoc .txt

A result such as .txt=txtfile means that the .txt extension is linked to the file type named txtfile.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #3
Wireless Keyboard and Mouse Combo, Full Size Silent Ergonomic Keyboard and Mouse, Long Battery Life, Optical Mouse, 2.4G Lag-Free Cordless Mice Keyboard for Computer, Mac, Laptop, PC, Windows
  • 【Ergonomic Wireless Keyboard Mouse 】: Wireless ergonomic keyboard is equipped with adjustable height tilt legs to increase comfort and prevent your wrists injury when typing for a long time. The full size wireless keyboard with numeric keypad and 12 multimedia shortcut keys, such as play/ pause, volume increase and decrease, and email, to help you improve work efficiency
  • 【Stable & Reliable Wireless Connection】: This wireless keyboard and mouse combo share the same USB receiver(stored in the mouse), and they can also be used separately. Plug & play, no need to download any software, 2.4 GHz wireless provides a powerful and reliable connection up to 33 feet(10m) without any delays.You can enjoy the convenience and freedom of wireless connection at home or at work
  • 【Comfortable Optical Mouse】: This compact lightweight wireless mouse features a hand-friendly contoured shape for all-day comfort, and smooth, precise tracking.1600 DPI to meet your daily needs. Perfect for home & office work and entertainment
  • 【Long Battery Life】: Up to 365 Days of battery life for keyboard and mouse wireless, say goodbye to the hassle of charging cables and replacing batteries. After 10 minutes of inactivity, the wireless keyboard mouse combo will automatically go into sleep mode to save energy. The wireless keyboard requires one AAA battery, and the wireless mouse requires one AA battery.
  • 【Less Noise, More Quiet Keys】: Soft membrane keys provide a quiet and comfortable typing experience, So you can type with confidence on a wireless keyboard crafted for comfort, precision and fluidity. The wireless mouse adopts silent micro-motion technology, which is almost completely silent when clicked. No more concerns about disturbing others.

Inspect the command behind a file type

Pass that file type to ftype:

ftype txtfile

A typical result looks like this:

txtfile=%SystemRoot%\system32\NOTEPAD.EXE %1

The %1 placeholder is replaced by the file being opened.

Assign an extension to an existing file type

If a suitable file type already exists, associate an extension with it:

assoc .log=txtfile

This associates .log with txtfile. It does not create a new application registration.

Define the command used to open a file type

You can define an open command with ftype:

ftype MyTextFile="%ProgramFiles%\Example App\Example.exe" "%1"

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The general form is:

ftype [filetype[=opencommandstring]]

The command string can use %0 or %1 for the launched filename, %* for all parameters, and %2 through %9 for additional parameters. Quoting is important when an executable path contains spaces.

Remove an association

To remove an extension association, use an empty value. Microsoft’s syntax requires a space after the equals sign; the trailing space is easy to miss:

Rank #4
Sale
Logitech MK200 Full Size Wired Keyboard and Mouse Combo with Media Keys
  • The things you do most are right at your fingertips with one-touch controls for instant access to play/pause, volume, mute and the Internet.
  • Comfortable low-profile keys: Enjoy fast, fluid quiet typing on a familiar standard layout, including number pad.
  • High-definition optical mouse: Smooth, responsive cursor control from a comfortable sculpted mouse.
  • Sleek and durable design: Thin profile, spill-resistant design, durable keys and sturdy adjustable tilt legs. Tested under limited conditions (maximum of 60 ml liquid spillage). Do not immerse keyboard in liquid.
  • Plug-and-play PC compatibility: Simple USB connection. Works with Windows XP, Windows Vista, Windows 7, Windows 8 or later or Linux kernel 2.6 or later.

assoc .bak=

To delete the open command string for a file type, run:

ftype example=

Run the commands correctly from PowerShell

assoc and ftype are cmd.exe commands, not native PowerShell commands. From PowerShell, call them through Command Prompt:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

cmd /c assoc .txt

cmd /c ftype txtfile

Microsoft documents these commands for Windows 10 and Windows 11. Administrator privileges are required to make changes with assoc. Because command-line edits can produce unexpected results, inspect the current association first and use Settings for ordinary configuration.

Which method should you use?

Goal Best method Why
Configure an app and review its supported associations Settings, app first Shows the app’s file and link types together
Change one known extension or protocol Settings, type first Searches directly for entries such as .pdf or mailto
Change the handler while viewing a file File Explorer Starts from the actual file and its extension
Audit or script legacy file associations Command Prompt assoc and ftype expose the underlying mapping

For most Windows 11 users, start with Settings > Apps > Default apps. Use File Explorer when the file is already in front of you, and reserve assoc and ftype for troubleshooting or controlled administrative work.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

FAQ

Why does changing the default app not change every file type?

Windows stores associations individually. A program selected for .pdf may not become the handler for .docx, and changing .html does not automatically change the http and https protocols.

How do I make Chrome, Edge, or another browser the default in Windows 11?

Open Settings > Apps > Default apps, select the browser, and use its browser-specific Set default button when it is shown. Check individual protocols or file types if a particular link or document still opens elsewhere.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Best Value
Sale
Logitech MK345 Full Size Wireless Keyboard and Mouse Combo - Black
  • Dependable wireless connection: Enjoy the reliability and convenience of 2.4 GHz connectivity with your logitech wireless keyboard and mouse combo, wireless range up to 10 meters away at home, or work.
  • Full-Size Wireless Keyboard: Comfortable, quiet typing on a familiar keyboard layout with palm rest, spill-resistant design, and media keys. This wireless keyboard and mouse logitech has easy-access to media keys
  • Plug and Play: MK345 works seamlessly with Windows, macOS, and ChromeOS. Experience hassle-free setup with the logitech mk345 wireless combo and wireless keyboard mouse combo for various operating systems.
  • Long-lasting Battery: The MK345 combo offers a full size keyboard battery life of up to 3 years and a mouse battery life of 18 months (1); batteries included
  • Comfortable Right-handed Mouse: This wireless USB mouse with dongle works well for this wireless mouse and keyboard combo, featuring a contoured shape for all-day comfort and smooth, precise tracking and scrolling for easier navigation.

Can I change a default app from File Explorer?

Yes. Right-click a file, select Open with > Choose another app, select the application, and accept the option to use it for that file type if Windows displays one.

Why can’t I find the file extension in Settings or File Explorer?

The extension may be hidden in File Explorer. Select View > Show > File name extensions to display it, then search for the exact extension, including the leading period.

Are assoc and ftype PowerShell commands?

No. They are documented as cmd.exe commands. From PowerShell, run them through Command Prompt, for example, cmd /c assoc .txt.

Does renaming a file from .txt to .pdf convert it?

No. Renaming changes only the filename extension. It does not convert the file’s contents into another format.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The Bottom Line

Use Settings > Apps > Default apps for normal Windows 11 configuration. Choose the app when you want to review several associations, or search directly for an extension or protocol when you need one precise change. File Explorer is convenient for a single file; assoc and ftype are advanced cmd.exe tools for inspecting or editing legacy associations.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.