Windows 10 guide

Change file associations in Windows 10

Set Windows Media Player or another compatible player as the default app for video and music files when Windows opens media in the wrong app.

Before you start

Windows manages default apps separately from codec installation. A codec pack can add playback support, but Windows may still open media files with the app currently assigned as the default player. Use this guide to change the default video or music player manually.

For individual extensions such as .mp4, .mkv, .avi or .flac, newer Windows 10 builds also provide “Choose default apps by file type” in the Default apps screen.

Step 1

Open Settings

From the Start menu, open Settings. On newer Windows 10 builds you can also search for “Default apps” directly from Start.

Windows 10 Settings start screen
Windows 10 Settings start screen

Step 2

Open the default app area

In older Windows 10 builds, choose System. In newer builds this area may appear under Apps > Default apps.

Windows 10 Settings System section
Windows 10 Settings System section

Step 3

Choose Default apps

Select Default apps from the left side of Settings.

Windows 10 Default apps settings
Windows 10 Default apps settings

Step 4

Change the video player

Under Video player, click the current app, such as Films & TV or Movies & TV.

Windows 10 choose default video player
Windows 10 choose default video player

Step 5

Select Windows Media Player

Choose Windows Media Player to make it the default app for supported video files.

Windows 10 choose Windows Media Player
Windows 10 choose Windows Media Player

Audio defaults

To change music playback instead, use the Music player section in Default apps and select Windows Media Player or your preferred audio player.

Common questions

Does changing file associations install codecs?

No. File associations only change which app opens a file. Codec support is separate and may still be needed if the chosen player cannot decode the file.

Can I set defaults for one file type, such as MP4 or MKV?

Yes. Windows 10 includes an option to choose default apps by file type, which lets you assign individual extensions such as .mp4, .mkv, .avi or .flac.

What should I do if the file opens in the right player but still will not play?

That usually means the file needs codec support, uses an unsupported stream, is damaged, or is protected. Installing playback components can help with missing codec cases, but it will not repair broken or protected files.