Codec error 0xc004f011 stops Windows 11 from playing or recording video because a required codec is missing or corrupted. You can usually fix it by reinstalling the codec from the Microsoft Store or by running the built-in Windows Media Player troubleshooting tool. Below are the exact steps, plus background on why this error appears and how to prevent it.
What Causes Codec Error 0xc004f011?
Windows 11 relies on codecs—small software components that encode and decode audio and video—to play media files. Error 0xc004f011 specifically points to a missing or broken codec, often the HEVC (H.265) or VP9 codec from the Microsoft Store. The error typically appears when you try to open a video file in the Movies & TV app or Windows Media Player, and the system cannot find the codec needed to decompress the stream.
Common triggers include:
- A Windows update removed or replaced the codec.
- The codec was installed for a different user account.
- Corrupted system files or a failed Store app update.
- The video file uses a codec that Windows 11 does not include by default (e.g., HEVC from a phone or camera).
Quick Fix: Reinstall the HEVC Codec
The most common solution is to reinstall the missing codec from the Microsoft Store. Follow these steps:
- Open the Microsoft Store app.
- Search for HEVC Video Extensions or VP9 Video Extensions (depending on your file type).
- Click Install (or Get). If it shows Update, update it.
- Restart your computer and try playing the video again.
If the codec is already installed but still not working, uninstall it first: go to Settings > Apps > Installed apps, find the codec, click the three-dot menu, and choose Uninstall. Then reinstall it from the Store.
Run the Windows Media Player Troubleshooter
Windows 11 includes a built-in troubleshooter that can automatically detect and fix codec issues. To run it:
- Open Settings (Win + I).
- Go to System > Troubleshoot > Other troubleshooters.
- Find Windows Media Player (or Video Playback in some versions) and click Run.
- Follow the on-screen prompts. The tool will scan for missing or corrupted codecs and attempt repairs.
This often resolves the issue without manual intervention, especially if the error appeared after a recent update.
Check for Corrupted System Files
If the codec is present but the error persists, system file corruption may be the culprit. Use the System File Checker (SFC) and DISM tools:
- Open Command Prompt as administrator (search “cmd�, right-click, and select “Run as administrator�).
- Type
sfc /scannowand press Enter. Wait for the scan to finish. - If SFC finds errors, run
DISM /Online /Cleanup-Image /RestoreHealthand then restart.
These commands repair Windows system files that may be preventing the codec from loading correctly.
Use a Third-Party Media Player (Alternative)
If you prefer not to rely on Windows’ built-in apps, you can install a third-party media player that bundles its own codecs. Popular options include VLC Media Player and MPC-HC. These players do not depend on Windows codecs and can handle most video formats out of the box. Download them only from official websites to avoid malware.
Frequently Asked Questions
Why does the error only happen with certain video files?
Because different video files use different codecs. For example, a video from an iPhone might use HEVC, while a web download might use VP9. If the specific codec is missing, Windows throws error 0xc004f011 for that file only.
Is the HEVC codec free?
Microsoft sells the official HEVC Video Extensions for a small fee in the Store, but there is also a free version that some manufacturers preinstall. If you see a price, you can try the free alternative by searching for “HEVC Video Extensions from Device Manufacturer� (if available on your system).
Will reinstalling Windows fix this error?
Usually not necessary. Reinstalling Windows is a drastic step that should be a last resort. The fixes above resolve the issue in most cases without losing your data.
Can I download codecs from third-party websites?
It is not recommended. Third-party codec packs often contain adware or malware. Stick to the Microsoft Store or reputable media players like VLC that include codecs safely.
Does this error affect audio files?
Error 0xc004f011 is specifically for video codecs. Audio-only files might trigger a different error code if a corresponding audio codec is missing.
Preventing Future Codec Errors
To minimize the chance of this error recurring:
- Keep Windows 11 updated via Settings > Windows Update.
- Install codecs only from the Microsoft Store.
- Use a versatile media player like VLC for unusual file formats.
- If you frequently work with videos from phones or cameras, preinstall the HEVC and VP9 extensions.
By following the steps above, you should be able to resolve error 0xc004f011 and get back to watching your videos without interruption.
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
- Google Desktop Search Widget on Windows 11
- WhatsApp: How to Block Unknown Numbers
- How to Exit Vi in Linux: A Simple Guide
- iPhone Stuck on Setting Up Apple ID: Fixes
- How to Build a Computer Stand (Saturday Workshop)
- Customize Touch Keyboard Themes in Windows 11