Why Won't This File Open in Windows?
Check the real file extension, the app assigned to it and whether another known-good file opens. These comparisons distinguish a file problem from an application or access problem.
Identify what you have
Write down the complete error and the name of the app that appears. In File Explorer, choose View > Show > File name extensions. The ending, such as .pdf or .xlsx, is useful when choosing a reader. Renaming that ending leaves the underlying file format unchanged. Microsoft's extension reference
If the file came from someone else and the type is unfamiliar, ask which application created it and whether they can provide an export in a format you already use. Keep the original while trying another copy.
Compare one file and one app at a time
| What happens | What to try next |
|---|---|
| Windows asks you to choose an app | Find a trusted application that supports that format |
| A familiar file opens in an unexpected app | Test a suitable app using Open with |
| Other files of the same type open correctly | Compare a fresh copy of the affected file |
| The app fails before any file is selected | Follow the app's startup troubleshooting |
| The app opens but reports access denied | Inspect the file location and applicable permissions |
Start the intended app on its own. Use its Open command to select the file. Then try a known-good file of the same type in that app. This keeps a broken shortcut or an incorrect file association from obscuring the comparison.
Fix an incorrect association
Right-click the file and use Open with to test a suitable installed app. If it opens correctly, go to Settings > Apps > Default apps, search for the extension and choose that app. The default controls what a normal double-click launches. Microsoft's default-app instructions
Check access when the app reports a permission problem
For supported apps, Settings > Privacy & security > File system shows file-system access controls. Read which app a setting affects before changing it. Some traditional desktop programs use their own controls and do not appear in this list. On a managed PC, organization settings may control access. Microsoft's file-access explanation
Decide what to report
If a freshly obtained copy works, retain it and record where the first copy came from. If every file fails in the same app, include the app version and exact error when requesting support. For a program that will not start, continue with an app won't open in Windows. When the issue is removing a file afterward, see why a file cannot be deleted.
Sources
Revision history
- Published
- Updated
- — Initial publication.