How to Fix Windows Media Player and Photo Viewer by Error Message

Match the exact message to its cause, from missing HEVC codecs and AC-3 audio to library errors, Photo Viewer's memory bug and restoring the old viewer safely.

Toprak Kaan Genç Category: Software 8 min read
How to Fix Windows Media Player and Photo Viewer by Error Message

Knowing how to fix Windows Media Player starts with its error message. “Cannot play the file” usually means a missing codec, not a broken player, and most Windows Photo Viewer errors come from the picture’s format or color profile.

Below is how to fix Windows Media Player on Windows 11 and Windows 10 (out of support since October 14, 2025); menus vary slightly by build.

How to Fix Windows Media Player: Identify the App and the Message

Windows 11 has two players: Windows Media Player Legacy, the classic one with Tools menus (Ctrl+M shows them), and Media Player, the newer Store app. Before you follow any guide on how to fix Windows Media Player, check which one you have, because the fixes differ.

No Legacy player? On Windows 11, open Settings > System > Optional features > View features (Apps on older builds), search for Windows Media Player Legacy, check it, then Next > Add. Windows 10 lists it under Settings > Apps > Apps & features > Manage optional features > Add a feature. If Settings won’t open, see Windows won’t open Settings.

What you seeLikely causeGo to
“Cannot play the file” or “codec is not installed”Missing codecCodecs
Sound but no pictureMissing video codec or graphics driverExtensions
Picture but no soundMissing audio codec, often AC-3No sound
Crashes, won’t open, or 0xC00D11CDDamaged app, library or driverRepair
Photo Viewer: “not enough memory” or “can’t open”Color profile or formatPhoto Viewer
Photo Viewer missing from Open withClean installRestore

How to Fix Windows Media Player “Cannot Play the File”: Find the Codec

An MP4, MKV or AVI file is only a container; the video and audio inside use codecs. If Windows lacks the right one, you get “cannot play the file” or a missing-codec message.

Right-click the file in File Explorer, choose Properties and open Details to see its codecs (in the Legacy library, Properties > File). If those fields are blank, a free tool such as MediaInfo (mediaarea.net) names the codec. When Windows lacks it, here’s how to fix Windows Media Player for that file: add the codec instead of reinstalling the player.

Built in: MP3, AAC, FLAC, ALAC, WAV and WMA audio; H.264, WMV, VC-1 and VP8 video. Microsoft’s troubleshooting page also groups error codes by cause:

  • Most 0xC00D11xx codes: a missing codec. The exception, 0xC00D11CD, is an app or install problem.
  • 0xC00D1163: DRM-protected content; no codec helps, so use the app it came from.
  • 0xC00D0BC2, 0xC00D36FA, 0xC00D10B3, 0xC00D1059: stutter, freezing or no sound.

Get the Missing Codec From the Microsoft Store

Forum threads on how to fix Windows Media Player often link to codec packs on download sites. Skip them; Microsoft’s own Store extensions add only the codec you need.

Files that failStore extensionCost
HEVC (H.265) phone videosHEVC Video ExtensionsPaid; price varies by region
AV1 videoAV1 Video ExtensionFree
MPEG-1/MPEG-2 video (.mpg, many .ts recordings)MPEG-2 Video ExtensionFree
VP9 videoVP9 Video ExtensionsFree
.ogg, Vorbis, TheoraWeb Media ExtensionsFree
iPhone .heic photosHEIF Image Extension (needs HEVC too)Free
Camera RAW (support varies by camera)Raw Image ExtensionFree

Before buying HEVC, check Installed apps: many PC makers pre-install “HEVC Video Extensions from Device Manufacturer”. If a file still fails in Legacy afterward, try the new Media Player.

How to fix Windows Media Player for phone videos: a smartphone connected to a laptop by USB-C

Video Plays With No Sound, DVDs Won’t Play, or Nothing Plays

Here’s how to fix Windows Media Player in three cases where reinstalling it won’t help.

No sound on 24H2 or later

Windows 11 24H2 dropped the AC-3 (Dolby Digital) codec. Upgraded PCs keep it and many makers pre-install it; without it, TV recordings and some MKV or MP4 files play silently. Microsoft lists no Store fix, so use a player with its own decoders, such as VLC.

DVDs won’t play

Windows 10 and 11 have no built-in DVD playback; use Microsoft’s paid Windows DVD Player app or a free player such as VLC.

Nothing plays on an N edition

N editions, sold in Europe, lack Media Player and other media technologies. Add the Media Feature Pack under Optional features (path above), then restart.

How to Fix Windows Media Player When the Program Itself Is Broken

If every file fails or the player won’t open, here’s how to fix Windows Media Player itself, cheapest step first.

1

Run the troubleshooter

Go to Settings > System > Troubleshoot > Other troubleshooters > Windows Media Player > Run (recent builds open Get Help). Also temporarily disable other media software, which Microsoft says can conflict.

2

Rebuild the Legacy library

Back up your .wpl playlists first (usually in Music\Playlists). Press Ctrl+M, choose Tools > Advanced > Restore Media Library, then clear history in Tools > Options > Privacy. For 0xC00D11CD, close the player and empty this folder (the library database, not your media):
%LOCALAPPDATA%\Microsoft\Media Player\

3

Repair, then Reset

New Media Player only (Legacy: skip to step 4). In Settings > Apps > Installed apps, click the three dots next to Media Player, then Advanced options > Repair. Still broken? Reset clears settings, not your media or library.

4

Update drivers

Get current graphics and audio drivers from your PC or chip maker, or via Device Manager, especially if every video misbehaves.

5

Reinstall the Legacy player

Search Start for Turn Windows features on or off, uncheck Media Features, restart, check it again and restart.

6

Repair Windows files

Install pending updates, then run these in an administrator Terminal, one at a time:
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow

Skip older advice on how to fix Windows Media Player by re-registering wmp.dll; Microsoft’s current steps don’t include it.

Fix Windows Photo Viewer “Can’t Display” and “Can’t Open” Errors

Photo Viewer is a separate program, so its fixes differ from how to fix Windows Media Player, but the rule is the same: start with the exact message.

“Not enough memory available on your computer”

Photo Viewer says it “can’t display this picture because there might not be enough memory available.” That’s a known bug, not a RAM shortage, caused by an embedded color (ICC) profile it doesn’t recognize, often in phone photos.

  • Open it in Photos or Paint, which display it normally.
  • Try the slide show, which Microsoft Q&A users say can show pictures the normal view refuses.

“Can’t open this picture”

Photo Viewer opens BMP, JPEG, JPEG XR, PNG, ICO, GIF (first frame only) and TIFF; open HEIC, WebP, AVIF and RAW in Photos. There, iPhone .heic photos need the free HEIF Image Extension plus HEVC Video Extensions, and .avif needs the AV1 extension.

Microsoft has linked the “damaged, corrupted or is too large” variant to large multi-page TIFFs; try Photos or the program that made them. If nothing opens it, the file is likely damaged.

How to Restore Windows Photo Viewer on Windows 11 and 10

Windows 10 replaced Photo Viewer with Photos. PCs upgraded from Windows 7 or 8.1 usually still list it under Open with > Choose another app; clean installs register it only for TIFF. Check that menu on a .tif file: if Photo Viewer is listed, the registry step below can add other formats.

Viewing a photo on a laptop after restoring Windows Photo Viewer
Unsupported registry change: back up first

In Registry Editor, select the FileAssociations key from the command below and use File > Export first, per Microsoft’s backup steps. Never run a downloaded .reg file you haven’t read in Notepad.

This community fix, run in an administrator Terminal, adds .jpg; repeat it for .jpeg, .png, .bmp and .gif:
reg add "HKLM\SOFTWARE\Microsoft\Windows Photo Viewer\Capabilities\FileAssociations" /v .jpg /t REG_SZ /d PhotoViewer.FileAssoc.Tiff /f

Then type each extension (say, .jpg) in Settings > Apps > Default apps and pick Photo Viewer; feature updates may undo this. To reverse it, delete the added values; importing your export won’t remove them.

How to Fix Windows Media Player and Photo Viewer: Quick Answers

Why won’t a normal MP4 play in Windows Media Player?

The video inside is often HEVC from a phone, or the audio is AC-3. For HEVC, that’s how to fix Windows Media Player: install HEVC Video Extensions from the Store.

Is HEVC Video Extensions free?

No. It’s a paid Store app, priced by region.

Should I use Legacy or the new Media Player?

Microsoft recommends the new Media Player for modern video features such as 4K. Keep Legacy if you rely on its library; both can stay installed.

When to Stop Fixing and Switch Apps

How to fix Windows Media Player comes down to the message: an official codec for most 0xC00D11xx errors, the original app for DRM content, and repairs only when every file fails. Damaged files and codecs Microsoft doesn’t offer may never play in either player.

Tired of working out how to fix Windows Media Player for each new format? A standalone player such as VLC, downloaded only from videolan.org, brings its own decoders without a system-wide codec pack. For the XP-era player on an old device, use an offline Windows XP virtual machine. More fixes are in our software and apps guides.

Leave a comment

Your email address will not be published.