0XC00D2757

Fix NS_E_DRM_UNABLE_TO_CREATE_HEADER_OBJECT (0XC00D2757)

DRM header creation fails, usually due to corrupted DRM files or missing updates. Reset DRM or reinstall Windows Media components.

Quick answer

Delete the DRM folder under %ProgramData%\Microsoft\Windows\DRM and let Windows rebuild it.

Why this happens

This error pops up when Windows Media Player or any DRM-aware app tries to create a header object for protected content and fails. The culprit is almost always corrupted DRM data — usually a crash left files half-written, or an antivirus locked them mid-access. I've also seen it after a Windows update that didn't play nice with existing DRM licenses.

Think of the DRM store as a tiny database. If it gets out of sync, the whole chain breaks. The header object is the first link, so you get this cryptic error right out of the gate.

Fix steps

  1. Close all media apps — Media Player, Movies & TV, anything that touches DRM. Check the taskbar, then check Task Manager for background processes.
  2. Delete the DRM folder. Press Win+R, type %ProgramData%\Microsoft\Windows\DRM, hit Enter. Delete everything inside. Don't worry, you'll lose licenses for purchased content, but you can re-download most of it.
  3. Restart your PC. Windows rebuilds the folder on next boot.
  4. Try playback again. If it works, you're done. If not, move to the next step.

If that doesn't fix it

Sometimes the DRM store isn't the only problem. Here are the next things I check:

  • Run Windows Update. Sounds boring, but Microsoft ships DRM patches regularly. Skip it and you'll chase ghosts.
  • Re-register Windows Media Player. Open Command Prompt as admin and run:
    regsvr32 wmp.dll
    regsvr32 wmvdmoe2.dll
    regsvr32 wmadmod.dll
    Reboot after.
  • Check your date/time. DRM is picky about certificates. If your clock is off by more than a few minutes, header creation fails. Right-click the clock, select 'Adjust date/time', toggle on 'Set time automatically'.
  • Disable antivirus temporarily. Some AV suites lock DRM files during scans. Turn it off, test playback, then turn it back on. If that's the trigger, add an exclusion for C:\ProgramData\Microsoft\Windows\DRM.

When all else fails

If you're still stuck, you might have a deeper system corruption. Run sfc /scannow and DISM /Online /Cleanup-Image /RestoreHealth from an elevated prompt. It's a long shot, but I've seen it save a few machines.

Also, check if the file you're playing is actually DRM-protected. Ripped CDs or personal videos don't have DRM. If the error only appears on one file, it might be that file's header is corrupt — re-download it if you can.

Prevention tip

Don't let Windows Media Player be your only DRM manager. Use a dedicated player like VLC for unprotected stuff, and keep your DRM purchases in one place — like iTunes or a streaming service. Less moving parts means less chance of this mess.

And for the love of all that's holy, back up your DRM folder before you mess with it. A simple copy to a USB stick saves you from re-downloading a library of movies.

Related Errors in Windows Errors
0xC004F213 Windows 10 license validation failed after hardware change — fixed 0XC00D0BB9 NS_E_MSAUDIO_NOT_INSTALLED (0XC00D0BB9): MSAudio Codec Missing Fix 0XC0140012 ACPI Global Lock Error 0XC0140012: Fix It Fast 0X000036B0 Fix ERROR_SXS_SECTION_NOT_FOUND (0x000036B0) on Windows

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.