sodcalculator

10 Tech How-To

Fix Windows Media Player Problems in Windows 10

Guide 10-58769 · Updated · Step by step

Windows Media Player in Windows 10 can fail to open, crash on launch, or refuse to play certain files. Most of these problems are fixed by resetting the app, re-registering its DLL files, or installing the correct codec pack.

Why Windows Media Player Still Exists in Windows 10

Microsoft stopped actively developing Windows Media Player (WMP) after Windows 7, but it remains bundled with Windows 10 for legacy compatibility. The player is not listed in the Microsoft Store, and it is not installed by default on Windows 10 N editions (which omit media components for EU antitrust reasons). You can enable it via Settings > Apps > Optional features > Add a feature > Windows Media Player if it is missing.

Because WMP is essentially frozen in time, it lacks support for modern formats like HEVC (H.265), Opus, and high-bitrate MKV containers. This is the root cause of many “codec not found” errors and playback failures. The player itself is not broken; it simply cannot decode newer files without additional software.

Common Windows Media Player Errors and Their Causes

Users typically see one of these errors:

  • “Windows Media Player encountered a problem while playing the file” – usually a missing codec or a corrupt file.
  • “Windows Media Player is already running” – a stuck background process or a corrupted settings file.
  • “Windows Media Player cannot play the file because the associated codec is missing” – the file uses a codec WMP does not support.
  • Player opens and immediately closes – often caused by a broken library database or a conflict with third-party shell extensions.
  • No sound or video, only audio – usually an output device or driver issue, not a WMP problem.

Most of these stem from one of three root causes: corrupted user settings, missing system components, or an outdated graphics/audio driver.

Step-by-Step Fixes That Actually Work

Work through these in order. Stop when the problem is resolved.

  1. Close all WMP processes. Open Task Manager (Ctrl+Shift+Esc), find any “Windows Media Player” process, right-click and choose End task. Then try launching again.
  2. Reset the player’s settings. Press Win + R, type regedit, and navigate to HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer. Right-click the MediaPlayer key and choose Delete. Windows will recreate it with defaults on next launch. (Back up the key first by right-clicking > Export.)
  3. Re-register the core DLLs. Open Command Prompt as Administrator and run these two commands, pressing Enter after each:
    regsvr32 wmp.dll
    regsvr32 jscript.dll
    You should see a success message for each. Restart the PC.
  4. Run the Windows Media Player troubleshooting tool. Go to Settings > Update & Security > Troubleshoot > Additional troubleshooters, select Windows Media Player, and run it. This checks for corrupted files and missing permissions.
  5. Enable the Media Features. Open Control Panel > Programs > Turn Windows features on or off, tick Media Features (which includes WMP), click OK, and restart. If it is already ticked, untick, restart, then re-tick and restart again.
  6. Update your audio and video drivers. Open Device Manager, expand Display adapters and Sound, video and game controllers, right-click each device, and choose Update driver > Search automatically.
  7. Install a codec pack. The free K-Lite Codec Pack (Basic or Standard) adds decoders for MKV, FLAC, and HEVC. After installing, restart WMP. This resolves the vast majority of “codec missing” errors.

When WMP Won’t Play a Specific File Type

If the player opens but a specific file fails, the file itself is likely the issue. Test with another file of the same type. If that works, the original file is corrupt or uses a container WMP cannot parse.

For MKV files, WMP often plays the video but not the audio because the audio track uses AC3 or DTS. The K-Lite pack includes the AC3Filter that WMP can use. For HEVC files (common from phones and modern cameras), you need the HEVC Video Extensions from the Microsoft Store – the free version works if the file was encoded with the standard profile, not the 10-bit HDR profile.

If you frequently play MKV or HEVC, consider using a modern player like VLC or MPC-HC instead. They include all codecs internally and do not rely on Windows Media Foundation. This is not a “fix” for WMP, but it avoids the problem entirely.

How to Fix the Library and Playlist Corruption

A corrupted library database can cause WMP to hang or crash when you open the Library view. The database is stored in %LOCALAPPDATA%\Microsoft\Media Player. To rebuild it:

  1. Close WMP completely.
  2. In File Explorer, paste %LOCALAPPDATA%\Microsoft\Media Player into the address bar and press Enter.
  3. Select all files and folders in that directory and delete them. (This removes your playlists and play counts, but not the media files themselves.)
  4. Launch WMP. It will rebuild the library from scratch, which may take a few minutes if you have many files.

If WMP still crashes, the issue may be a corrupt thumbnail cache. Clear it via Disk Cleanup: search “Disk Cleanup”, select your drive, tick Thumbnails, and click OK.

Windows Media Player vs. Modern Alternatives

WMP is lightweight, has a simple interface, and supports CD burning and DVD playback (with the appropriate decoder). However, it lacks hardware acceleration for modern video, no built-in subtitle support, and cannot handle 4K HDR content without additional codecs.

Modern alternatives like VLC, MPC-HC, and PotPlayer play virtually any file out of the box, support subtitles, and use GPU acceleration. If your WMP problems persist after trying the fixes above, switching to VLC is the most reliable long-term solution. That said, WMP remains useful for ripping audio CDs and syncing to older portable devices that require MTP protocol.

Frequently Asked Questions

Why does Windows Media Player keep saying “codec missing” even after I install codecs?

Codec packs like K-Lite install decoders for DirectShow, which WMP uses, but some modern files (especially HEVC) require Media Foundation codecs. Install the HEVC Video Extensions from the Microsoft Store, or use a player that bundles its own decoders. Also, check that you installed a 64-bit codec pack if your Windows is 64-bit – a 32-bit pack will not work with the 64-bit WMP.

Can I reinstall Windows Media Player in Windows 10?

WMP is a Windows feature, not a Store app, so you cannot uninstall it normally. To “reinstall”, disable the Media Features in Turn Windows features on or off, restart, re-enable it, and restart again. This resets the player’s registration and often fixes persistent errors.

Why does Windows Media Player open but not play any video?

This usually points to a graphics driver issue or a missing video renderer. Update your GPU driver, and try changing the video renderer in WMP: go to Tools > Options > Performance, click Advanced, and select a different renderer (e.g., DirectX Video Acceleration). If that fails, the file may be interlaced or use a codec WMP cannot decode.

Is Windows Media Player safe to use?

Yes, WMP is a legitimate Microsoft component. It does not contain malware. However, because it is outdated, it may be a target for exploits if you use it to open untrusted files. Keep Windows updated, and avoid opening suspicious media files from unknown sources.

Will Windows 11 remove Windows Media Player?

Windows 11 does not include WMP by default; it uses the new “Media Player” app from the Store. If you upgrade from Windows 10, WMP may remain but is not supported. The fixes in this article apply only to Windows 10.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →