Windows Media Player troubleshooting is one of those jobs that looks complicated but usually isn't. Nine times out of ten it's a missing codec, a dodgy library file, or a stale audio driver. This guide covers every fix in order, from the two-minute checks right through to a full reinstall. Work through it top to bottom and you'll be sorted.
TL;DR
Windows Media Player troubleshooting starts with testing a known-good file and rebuilding the media library. If that doesn't fix it, repair or reset the app in Settings, update your audio drivers, and run sfc /scannow. Persistent issues usually need a full Media Features reinstall via Windows components.
Key Takeaways
- Windows Media Player troubleshooting almost always starts with a codec or library problem, not a broken Windows installation.
- Clearing the WMP database from
%LOCALAPPDATA%\Microsoft\Media Player\fixes a surprising number of freezing and playback errors. - MP4 files won't play natively in WMP. You need a codec pack or a format conversion.
- If sfc /scannow finds damage it can't fix, follow up with DISM before assuming you need a reinstall.
- A full Media Features reinstall (disable, restart, re-enable, restart) is the nuclear option and works when everything else fails.
At a Glance
- Difficulty: Easy to Advanced
- Time Required: 10 to 45 mins
- Success Rate: 85% of users fixed with Quick or Intermediate steps
What Actually Causes Windows Media Player Troubleshooting Headaches?
Before you start clicking things at random, it helps to know what you're dealing with. WMP problems tend to fall into a handful of categories, and the fix you need depends entirely on which one you've hit.
The most common culprit is a missing or incompatible codec. Windows Media Player has a fixed list of supported formats: MP3, WAV, WMA, AVI, WMV, and a few others. Hand it an MP4, MKV, or FLAC file and it either refuses to play it or throws a vague error. This isn't a bug, it's just a limitation. According to Microsoft's own documentation, WMP relies on DirectShow codecs installed on your system, so if the right codec isn't there, nothing plays.
Second most common is a corrupted media library or database. WMP keeps an index of all your media files in %LOCALAPPDATA%\Microsoft\Media Player\. If that database gets corrupted (power cut during indexing, a bad Windows update, anything really), WMP can freeze, crash on launch, or refuse to add new files. I've seen this cause WMP to hang for two to three minutes just trying to open. Clearing those files fixes it almost every time.
Then there are audio driver issues. An outdated or partially broken audio driver doesn't always cause obvious sound problems. Sometimes it just makes WMP stall or crash mid-playback, especially with higher bitrate files. Microsoft's audio driver documentation explains how WMP communicates with the audio stack, and any break in that chain causes problems that look like WMP bugs but aren't.
Beyond those three, you've got damaged WMP installations (usually after a failed Windows update), and occasionally malware that hooks into media processes. The latter is less common but worth checking if nothing else explains the behaviour. For context on how malware can interfere with system processes, see our malware removal guide for Windows.
Right. Let's get into the fixes.
Windows Media Player Troubleshooting: Quick Fix (5 to 10 Minutes)
Start here. These steps fix the majority of WMP problems and take almost no time. Don't skip straight to the advanced stuff, you'll waste an hour reinstalling things you didn't need to.
Test a Known-Good File First Easy
- Find a file you know works
Grab a local MP3 or WAV file that played fine before. Not a stream, not a download you're unsure about. A file from your music folder that you've played a hundred times. - Play it in WMP
If it plays fine, your problem is file-specific, not WMP itself. The file you were trying to play is either corrupted or in an unsupported format. Test it in VLC to confirm. If VLC plays it, you need a codec. If VLC also fails, the file is corrupted. - Check the file format
WMP supports MP3, WAV, WMA, AVI, WMV, and a handful of others. MP4, MKV, FLAC, and OGG are not supported without extra codecs. If your file is one of those formats, either install a codec pack like K-Lite or convert the file using a free tool like HandBrake.
Rebuild the Media Library and Clear the Cache Easy
- Open WMP and restore the library
PressCtrl + Mto show the menu bar if it's hidden. Go to Tools > Advanced > Restore Media Library. Let it run through completely. - Clear history and privacy data
Still in WMP, go to Tools > Options > Privacy and click Clear History and Clear Caches. Click OK and close WMP fully. - Delete the database files manually
PressWin + R, type%LOCALAPPDATA%\Microsoft\Media Player\and press Enter. Select all files in that folder (Ctrl + A) and delete them. Do not delete the folder itself, just the contents. - Reopen WMP
WMP will rebuild its library from scratch. This takes a minute or two depending on how many files it indexes. Test playback once it's done.
More Windows Media Player Troubleshooting: Intermediate Fixes (15 to 30 Minutes)
Still broken? These fixes cover app corruption, missing Windows components, and driver problems. Most people who get past the quick fixes land here, and the success rate is still pretty good.
Run Windows Update Easy
- Open Windows Update
Go to Settings > Windows Update and click Check for updates. Install everything available, including optional updates. WMP-related fixes often ship as part of broader Windows component updates rather than standalone patches. - Restart and test
After updates install and you've restarted, open WMP and test playback. A surprising number of WMP playback errors are fixed by updates that don't mention WMP at all in their changelog.
Repair or Reset Windows Media Player Easy
- Open app settings
Go to Settings > Apps > Installed Apps. Search for Windows Media Player. Click the three-dot menu next to it and select Advanced options. - Try Repair first
Click Repair. This attempts to fix the installation without touching your library or settings. Wait for it to complete, then test WMP. - Reset if Repair didn't work
If playback is still broken, go back to Advanced options and click Reset. This wipes the app's data including your library and playlists. Export anything important before you do this.
Update Your Audio Drivers Medium
- Open Device Manager
Right-click the Start button and select Device Manager. Expand Sound, video and game controllers. - Update the audio driver
Right-click your audio device (usually Realtek High Definition Audio, Intel Smart Sound Technology, or similar) and select Update driver > Search automatically for drivers. - Check the manufacturer's site
Windows Update doesn't always have the latest driver. Visit your PC or laptop manufacturer's support page (Dell, HP, Lenovo, ASUS, etc.) and download the audio driver directly. This is especially worth doing if the automatic search says you're already up to date but WMP is still misbehaving. - Restart and test
Install the driver, restart the PC, and test WMP playback. Audio driver issues often cause WMP to freeze mid-playback or produce no sound on files that should work fine. HowToGeek's WMP guide also covers driver-related playback failures if you want a second opinion on symptoms.
Advanced Windows Media Player Troubleshooting Fixes (30+ Minutes)
These are the big guns. If you've worked through everything above and WMP is still broken, something is genuinely wrong at a deeper level. These fixes take longer but they sort even the most stubborn problems. Don't rush them.
Run System File Repair with sfc /scannow Medium
- Open Command Prompt as Administrator
Search for cmd in the Start menu, right-click it, and select Run as administrator. - Run the scan
Typesfc /scannowand press Enter. Do not close the window. The scan takes 10 to 20 minutes depending on your drive speed. Let it finish completely. - Read the result
You'll see one of three messages: no integrity violations found (WMP damage isn't from system files), found and repaired corrupted files (good, restart and test), or found corrupted files but could not repair them (you need DISM next). - If sfc couldn't repair, run DISM
In the same elevated Command Prompt, run:DISM /Online /Cleanup-Image /RestoreHealth. This pulls clean system files from Windows Update and takes 15 to 30 minutes. After it completes, runsfc /scannowagain. Then restart and test WMP.
Reinstall Windows Media Player via Windows Features Medium
- Open Windows Features
PressWin + R, typeoptionalfeaturesand press Enter. Alternatively, go to Control Panel > Programs > Turn Windows features on or off. - Disable Media Features
Expand Media Features and uncheck Windows Media Player. Click OK. Windows will warn you that some things may stop working. That's fine. Click Yes. - Restart the PC
You must restart here. Don't skip it. The uninstall doesn't complete properly without a restart. - Re-enable Media Features
Go back to Turn Windows features on or off, expand Media Features, and tick Windows Media Player again. Click OK and let Windows reinstall it. - Restart again and test
After the second restart, open WMP. It'll launch as a fresh installation. Rescan your media folders and test playback with a known-good file.
Malware Scan and Software Conflict Check Medium
- Run a full malware scan
Open Windows Security and run a Full scan (not Quick scan). If you have a third-party antivirus, run a full scan there too. Malware that hooks into media processes can cause WMP to crash or refuse to play files. If you suspect something more serious is going on, our Windows malware removal guide covers the full process. - Identify conflicting media software
If you have other media players installed (iTunes, VLC, Winamp, Plex, etc.), try temporarily disabling or uninstalling them one at a time. Some media applications install their own codec handlers that conflict with WMP's DirectShow pipeline. - Test WMP after each change
Don't uninstall everything at once. Remove one app, test WMP, and if it's still broken, move to the next. This way you'll know exactly which app was causing the conflict.
If you've worked through these Windows Media Player troubleshooting steps and it's still not playing properly, our remote support team can connect directly to your PC and sort it in one session. We fix WMP issues, codec problems, and driver faults daily.
Get remote helpPreventing Windows Media Player Troubleshooting Problems in Future
Most WMP problems are avoidable. Here's what actually makes a difference, in order of importance.
Keep Windows Update running. This is number one. WMP and its underlying components get fixes through Windows Update, and skipping updates is the fastest way to end up with a broken media stack. Don't defer updates indefinitely.
Stick to supported formats. WMP has a fixed set of formats it handles natively. If you regularly work with MP4, MKV, or FLAC files, either install a codec pack (K-Lite is the standard choice) or use a player that handles them without extra steps. Trying to force unsupported formats through WMP causes errors that look like WMP is broken when it isn't.
Keep audio drivers current. Check your PC manufacturer's support page every few months, not just Windows Update. Manufacturer-supplied audio drivers are often more stable than the generic ones Windows installs automatically.
Don't manually edit the WMP database. The files in %LOCALAPPDATA%\Microsoft\Media Player\ are not meant to be edited by hand. If you need to clear them, follow the proper steps above. Deleting individual files or editing them directly tends to make things worse.
Keep a test file handy. Sounds daft, but having a known-good MP3 or WAV file saved locally means you can diagnose problems in 30 seconds instead of spending 20 minutes wondering whether WMP is broken or the file is. Saves a lot of time.
If you're managing media across multiple devices or have had repeated WMP issues, it might also be worth checking our Windows audio troubleshooting guide to make sure the underlying audio stack is healthy. WMP problems and audio problems often share the same root cause.
Windows Media Player Troubleshooting: Summary
Windows Media Player troubleshooting follows a clear path. Start with the quick checks: test a known-good file, confirm the format is supported, and clear the WMP database from %LOCALAPPDATA%\Microsoft\Media Player\. That fixes most problems in under ten minutes. If it doesn't, run Windows Update, use the Repair or Reset option in Settings, and update your audio drivers. For stubborn cases, sfc /scannow followed by DISM sorts out system file corruption, and a full Media Features reinstall via Windows components handles damage that nothing else can touch. Malware and software conflicts are less common but worth checking if the behaviour is sudden and unexplained.
Work through the steps in order and you'll get there. And if you'd rather not spend your afternoon on it, our remote support team handles Windows Media Player troubleshooting jobs like this every day.


