How to Change the App for “How Do You Want to Open This File?” in Windows 10

When Windows 10 shows “How do you want to open this file?”, it usually means that Windows does not have a usable default app associated with that file type. You can choose an app once, or make that app the permanent default for every file with the same extension.

Windows 10 itself reached the end of free support on October 14, 2025. The steps below still apply to PCs that continue to run Windows 10, but Microsoft recommends moving to a supported version of Windows when possible. See Microsoft's Windows 10 end-of-support information.

Why Windows 10 asks how you want to open a file

The prompt is not necessarily an error. It appears when Windows cannot confidently match the file to a default program. Common reasons include:

  • No default app is assigned to that file extension.
  • The program that used to open the file was uninstalled or its file association changed.
  • The file type is unfamiliar and Windows does not know which installed app can handle it.

Windows 10 File Explorer with a text file selected before choosing an app to open it

Change the app from File Explorer

The quickest method is to use Open with. This lets you test another installed app without changing every other file association first.

  1. Open File Explorer and locate the file.
  2. Right-click the file, point to Open with, and choose Choose another app.
  3. Select the app you want. If it is not visible, choose More apps to expand the list.
  4. If you want all files with this extension to use the selected program, check Always use this app to open ... files, then click OK. Leave that box unchecked if you only want to use the app this time.

Windows 10 Open with menu showing Choose another app for a selected file

Windows 10 How do you want to open this file dialog with several compatible app choices

Windows 10 app chooser with Always use this app to open text files enabled

Microsoft documents the same basic workflow in its File Explorer accessibility guide: choose Open with, select another app, and use the “Always use” option when you want a permanent association.

If the app you need is missing from the list

Choose More apps first. Windows may hide less frequently used programs below the initial suggestions. On Windows 10, the expanded chooser can also offer Look for another app on this PC, which lets you browse to an installed program's executable file.

Use that option only for software you already installed and trust. If you do not have a compatible program, search the Microsoft Store or the software publisher's official website for an app that supports the file format.

Do not simply rename the extension to make it look like another format. Microsoft notes that changing a filename extension does not convert the file's actual format.

Check the file extension before installing anything

If you are unsure what kind of file you have, identify its extension first. For example, .pdf, .jpg, .txt, and .docx each describe different file types.

  1. In File Explorer, open the View tab and enable File name extensions if extensions are hidden.
  2. Alternatively, right-click the file and select Properties.
  3. On the General tab, check Type of file and the extension shown in parentheses.

Windows 10 File Explorer View tab with File name extensions turned on

Windows 10 File Explorer context menu with Properties highlighted for a PDF file

Windows 10 file Properties dialog showing a PDF file type and its current Opens with app

Microsoft's guide to common Windows file name extensions also explains how extensions identify file types and how to find compatible apps for unknown formats.

Set a default app by file type in Windows 10 Settings

If the correct app is already installed but Windows keeps asking what to use, set the association directly in Settings.

  1. Press Windows + I to open Settings.
  2. Go to Apps > Default apps.
  3. In Windows 10, select Choose default apps by file type.
  4. Find the extension you want to change, such as .pdf or .txt, then click the current default app or the option to choose one.
  5. Select your preferred installed app. The new association takes effect for files that use that extension.

Windows 10 Settings Default apps page showing file extensions and their assigned programs

Microsoft's current default-app documentation confirms that Windows lets you assign an app by file type or configure defaults for an application.

If the prompt still appears

Make sure the selected program still opens normally, then repeat the Open with process and choose the permanent “Always use” option. If the program no longer appears at all, reinstalling that application from its official source may restore its file-type registrations.

If only one unusual file triggers the message, the file may have the wrong extension or may be damaged. In that case, verify where the file came from before trying random programs. The safest fix is to identify the real format and use software that explicitly supports it.

Leave a Comment

How to Open a Linux Shell in a Folder on Windows 10

How to Open a Linux Shell in a Folder on Windows 10

Open a Linux shell in any Windows 10 folder with File Explorer, PowerShell, and WSL. Check the Linux path and fix common setup issues.

How to Fix Lines on a Monitor Screen in Windows 10

How to Fix Lines on a Monitor Screen in Windows 10

Use a screenshot test, cable and port checks, monitor diagnostics, display settings, and driver rollback to pinpoint lines on a Windows 10 monitor.

How to Add Two Extra Clocks on Windows 10

How to Add Two Extra Clocks on Windows 10

Show two other time zones beside your Windows 10 clock. Set up each additional clock, give it a clear label, and find it in the taskbar calendar.

How to Fix a Slow Context Menu in Windows 10

How to Fix a Slow Context Menu in Windows 10

Find the File Explorer extension that delays right-click menus in Windows 10, test it safely with ShellExView, and restore any menu features you still need.

How to Disable Power Management for Devices in Windows 10

How to Disable Power Management for Devices in Windows 10

Stop Windows 10 from powering down a specific network adapter or USB device with plan-level settings and Device Manager controls, plus tips to avoid excess battery drain.

How to Back Up a Windows 10 Product Key Safely

How to Back Up a Windows 10 Product Key Safely

Check whether Windows 10 uses a digital license or product key, find a firmware-stored OEM key, and save license details securely for a reinstall.

How to Identify a Process in Windows 10 Task Manager

How to Identify a Process in Windows 10 Task Manager

Identify a Windows 10 Task Manager process by checking its executable path, file properties, publisher, linked services, and a Microsoft Defender scan.

How to Create a List of All Items in a Folder on Windows 10

How to Create a List of All Items in a Folder on Windows 10

Create a searchable Windows 10 folder inventory with PowerShell. Save every file and subfolder path as plain text or export details to a sortable CSV.

How to Display Custom Text on Your Windows 10 Desktop

How to Display Custom Text on Your Windows 10 Desktop

Add a custom reminder, quote, or label to your Windows 10 desktop with a Rainmeter text skin. Create the INI file, load it, then adjust its font and position.

How to Use Bluetooth Swift Pair on Windows 10

How to Use Bluetooth Swift Pair on Windows 10

Use Bluetooth Swift Pair on Windows 10 to pair a compatible accessory from a notification, with setup steps and fixes when the prompt does not appear.