sodcalculator

10 Tech How-To

Fix Windows Media Player Not Working: Step-by-Step

Guide 10-50052 · Updated · Step by step

Windows Media Player can stop working for many reasons—corrupted settings, outdated codecs, or a broken registry entry. This guide walks you through the most common fixes, from quick restarts to deeper system repairs, so you can get your music and videos playing again without reinstalling Windows.

What You’ll Need

  • Administrator access to your Windows PC
  • An internet connection (for downloading updates or codecs)
  • Your Windows installation media (optional, for repair installs)

Step-by-Step

  1. Restart Windows Media Player and your PC. Close the player completely (check the system tray for the icon), then restart your computer. This clears temporary glitches that often cause the player to freeze or crash.
  2. Run the Windows Media Player troubleshooter. In Windows 10 and 11, go to Settings > System > Troubleshoot > Other troubleshooters (or Additional troubleshooters). Find “Windows Media Player” and click Run. Follow the prompts—it may automatically fix common issues like missing permissions or corrupted settings.
  3. Check if the player is enabled. Windows Media Player is an optional Windows feature. To verify it’s on: open Control Panel > Programs > Turn Windows features on or off. Scroll to “Media Features,” expand it, and ensure “Windows Media Player” is checked. If not, check it, click OK, and restart.
  4. Reset the player’s library and settings. Corrupted library data is a frequent culprit. Close WMP, then press Win + R, type regedit, and navigate to HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer. Right-click the MediaPlayer key and choose Export to back it up, then delete the key. Restart WMP—it will rebuild its library. (Be careful: this removes your playlists and recent files.)
  5. Update or reinstall codecs. If specific files won’t play, missing codecs are likely. Install a free, reputable codec pack like K-Lite Codec Pack, or use the Microsoft Media Foundation update from Windows Update. To check for updates: Settings > Update & Security > Windows Update and click Check for updates.
  6. Run SFC and DISM scans. System file corruption can break WMP. Open Command Prompt as administrator (right-click Start > Command Prompt (Admin)). Type sfc /scannow and press Enter. After it finishes, type DISM /Online /Cleanup-Image /RestoreHealth and press Enter. Restart when done.
  7. Re-register the player’s DLLs. In the same admin Command Prompt, type the following commands one by one, pressing Enter after each:
    regsvr32 wmp.dll
    regsvr32 wmpui.dll
    regsvr32 wmpdxm.dll
    Restart the player.
  8. Repair or reinstall Windows Media Player. If nothing else works, you can repair it via Settings > Apps > Apps & features, find Windows Media Player, click Advanced options, and choose Repair. If that’s not available, use the Windows installation media to do a repair upgrade (keeps your files) or a clean reinstall of the feature via PowerShell: Get-WindowsOptionalFeature -Online -FeatureName WindowsMediaPlayer then Disable-WindowsOptionalFeature -Online -FeatureName WindowsMediaPlayer and re-enable it.

Common Mistakes

  • Skipping the restart. Many issues are resolved by a simple reboot; jumping straight to registry edits can cause more harm.
  • Deleting the registry key without backing up. If you delete the MediaPlayer key and something goes wrong, you can’t undo it without a backup.
  • Installing random codec packs. Some packs include adware or unstable codecs. Stick to well-known ones like K-Lite, and always download from the official site.
  • Running SFC/DISM without admin rights. These commands fail with “access denied” if you don’t open Command Prompt as administrator.

Tips

  • Keep Windows updated—many WMP issues are fixed via cumulative updates.
  • If a specific file won’t play, check its format. WMP natively supports MP3, WMA, WMV, and MP4 (with codecs), but not MKV or FLAC without extra codecs.
  • Use the “Open with” menu to test if the file plays in another app (like VLC). If it does, the file is fine and the problem is WMP-specific.
  • For older video files, try changing the video acceleration: Tools > Options > Performance and move the slider to “None.”

Troubleshooting

If the steps above don’t fix it, try these additional checks:

  • Check for third-party conflicts. Other media apps (like iTunes or VLC) can sometimes interfere with WMP’s file associations. Reset file associations: Settings > Apps > Default apps, then choose Windows Media Player for the file types you want.
  • Create a new Windows user account. If WMP works in a new account, the problem is in your user profile. You can migrate your files and settings.
  • Use System Restore. If you recently installed software or changed settings, roll back to a restore point before the issue started. Type “Create a restore point” in Start, click System Restore, and follow the wizard.
  • Check the event viewer. Open Event Viewer (type “eventvwr” in Start), go to Windows Logs > Application, and look for errors related to “wmplayer.exe” or “Windows Media Player.” The error details can point to a specific DLL or service.
  • If the player won’t open at all, try launching it from the command line: press Win + R, type wmplayer, and press Enter. If you get an error message, note it exactly—it can help in online searches.

Frequently Asked Questions

Why does Windows Media Player keep crashing on startup?

This is often due to corrupted library files or a broken registry entry. Resetting the library (Step 4) and re-registering the DLLs (Step 7) usually resolves it.

Can I fix Windows Media Player without reinstalling Windows?

Yes, in most cases. The troubleshooting steps above—especially SFC/DISM scans and the feature repair—can fix the player without a full OS reinstall.

Why won’t Windows Media Player play MP4 files?

MP4 playback requires the HEVC video codec, which may not be installed. Install the “HEVC Video Extensions” from the Microsoft Store (free version available) or a codec pack.

Is Windows Media Player still available in Windows 11?

Yes, Windows 11 includes Windows Media Player as an optional feature. It’s not installed by default, but you can enable it via “Turn Windows features on or off” as described in Step 3.

How do I completely reset Windows Media Player?

Delete the registry key HKEY_CURRENT_USER\Software\Microsoft\MediaPlayer (after backing it up) and then re-register the DLLs. This resets all settings and the library.

What if the troubleshooter finds nothing wrong?

If the troubleshooter reports no issues, move on to the registry reset and SFC/DISM scans. Those address deeper corruption that the troubleshooter can’t detect.

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 →