Because the videos play correctly in Films & TV but not in Windows Media Player, the issue is most likely with codecs or a damaged Windows Media Player database/installation.
Try these steps on Windows 10/11:
- Check file compatibility and codecs
- Make sure the file type is supported by Windows Media Player (for example: MP3, WAV, WMA, AVI, WMV).
- If the file type is supported but still fails, install/update codecs: download and install a codec pack that includes the required codec (for example, K‑Lite Codec Pack or CCCP), or follow the guidance in the codec troubleshooting section.
- Reset the Windows Media Player library and cache
- Open Windows Media Player, press Ctrl + M to show the menu bar.
- Select Tools > Advanced > Restore Media Library.
- Then clear cache: Tools > Options > Privacy, under History select Clear History, then OK.
- Clear the Windows Media Player database manually
- Close Windows Media Player.
- Press Windows + R, type:
%LOCALAPPDATA%\Microsoft\Media Player\and press Enter. - Delete all files in that folder (do not delete the folder itself).
- Start Windows Media Player again and test playback.
- Update drivers and Windows
- Update audio and graphics drivers from Device Manager or the PC/sound‑card/GPU manufacturer’s site.
- Install the latest Windows updates from Settings > Update & Security > Windows Update > Check for updates.
- Run the Windows Media Player troubleshooter
- On Windows 11: Settings > System > Troubleshoot > Other troubleshooters, run Windows Media Player.
- On Windows 10: Settings > Update & Security > Troubleshoot > Additional troubleshooters, run Windows Media Player.
- Repair or reset Windows Media Player
- Go to Start > Settings > Apps > Installed apps.
- Find Windows Media Player, select the three dots, choose Advanced options.
- Select Repair. If that does not help, select Reset (this removes custom settings but not media files).
- Reinstall Windows Media Player
- Open Control Panel > Programs.
- Select Turn Windows features on or off.
- Clear the check box for Media Features, select OK, and restart the PC.
- Go back to the same dialog, check Media Features, select OK, and restart again.
If the problem persists after these steps, use Films & TV (or another player) for the affected files, as they may rely on encoding that Windows Media Player cannot support even with additional codecs.
References: