If a media file opens in the wrong player, change its default application in Windows Settings. If the correct player opens but reports a playback error, investigate its codec or container compatibility instead.
Identify the player you want
Windows Media Player Legacy and the newer Media Player app are distinct applications. Legacy may be available as an optional Windows feature. Installed DirectShow components are not automatically used by every media app. If you prefer MPC-HC or MPC-DAP, choose the installed application explicitly.
Test before changing the default
- Right-click a known-good media file and choose Open with → Choose another app.
- Select the intended player for a one-time test (if Windows offers this choice).
- If the file plays correctly, the existing association was the problem. If the file still fails, examine the playback error instead.
Assign a particular file extension
- Open Settings → Apps → Default apps.
- On Windows 11, search for the extension such as
.mkvor.mp3and select the desired installed app. - On Windows 10, use the file-type default selection in Default apps; exact labels depend on the build.
- Repeat only for extensions you want to change, then double-click a test file.
See the illustrated Windows file association guide for the broader setup walkthrough. Microsoft documents the current Settings approach in Change default apps in Windows.
If the player is missing or playback fails
Check that the intended app is installed and, for Windows Media Player Legacy, that the optional feature is available on your Windows edition. If the file opens but the player cannot decode it, changing the default again will not repair the file. Try MPC-HC and compare the results. Windows protects user-selected defaults; avoid registry hacks or repeated installation just to override them.