NS_E_DRM_STORE_NEEDINDI (0XC00D27DB): Fix DRM License Storage Error
This error means Windows Media DRM can't store a license because its security component needs updating. Here's the quick fix and why it works.
You've hit 0xC00D27DB — here's the fix without the fluff
That NS_E_DRM_STORE_NEEDINDI error, code 0xC00D27DB, usually pops up when you try to play a protected WMA or WMV file in Windows Media Player (or an app that uses its DRM stack). The message says the license can't be stored because the DRM component needs a security upgrade. What's actually happening is the local DRM store is corrupted or the security version has drifted — Windows can't verify the component's integrity or the license's encryption header.
The direct fix: reinitialize Windows Media DRM
Skip the registry cleaners and third-party tools. The real fix is forcing Windows to rebuild its DRM store. Here's the precise sequence:
- Close all media players and apps that might use DRM (browsers too, if they've played DRM content).
- Open an elevated Command Prompt. Hit
Win + X, pick Command Prompt (Admin) or Windows Terminal (Admin). If you're on Windows 7, search forcmd, right-click it, and choose Run as administrator. - Run this command:
regsvr32 /u %windir%\system32\drmupgrd.dll - Now run:
regsvr32 %windir%\system32\drmupgrd.dll - Next, delete the DRM database files. Stop the Windows Media Player Network Sharing Service first (
net stop WMPNetworkSvcin the admin prompt). - Navigate to
%programdata%\Microsoft\Windows\DRM(the folder is hidden by default — type the path directly into Explorer's address bar). Delete everything inside that folder. Yes, everything. Don't worry, it'll regenerate. - Reboot your machine.
After restarting, open Windows Media Player and re-try the file. It'll download the DRM update again from Microsoft's servers. If the file asks for a license, you'll have to re-acquire it (sometimes the original download link still works, sometimes you're out of luck).
Why does this work?
The drmupgrd.dll file is the DRM upgrade assistant — it handles version handshakes between your local store and the license server. Unregistering and re-registering it clears any stuck security state that's preventing it from initializing the upgrade path. Deleting the DRM folder wipes the corrupted license database and the IndivBox.key security file (which ties your machine to the DRM system). On reboot, Windows Media Player sees the folder missing and rebuilds it from scratch, pulling a fresh security upgrade from Microsoft's activation servers.
Less common variations of this issue
Sometimes the error isn't about a single file — it shows up when the DRM component itself is outdated. If you're on Windows 7 or 8 with all updates installed, the fix above works. But there are edge cases:
- Windows 10/11 with Media Feature Pack missing (N/KN editions): You'll get 0xC00D27DB because the DRM codecs aren't installed. Install the Media Feature Pack from Microsoft's site and then apply the main fix.
- 64-bit vs 32-bit confusion: If you registered a 32-bit version of
drmupgrd.dllon a 64-bit system (which shouldn't happen normally but can via third-party tools), the registration won't stick. Check that you're using%windir%\system32(which is the native 64-bit directory). The 32-bit version lives in%windir%\SysWOW64— don't mix them up. - Permissions issue: If the DRM folder exists but you can't delete its contents, run
icacls %programdata%\Microsoft\Windows\DRM /grant Administrators:Ffrom an admin prompt first. Some DRM files get locked with SYSTEM-only ownership. Take ownership first if needed (takeown /f "%programdata%\Microsoft\Windows\DRM" /r).
Prevention: stop this from coming back
The most common trigger is an interrupted DRM license acquisition — like losing internet during a WMA purchase or closing Windows Media Player before the license handshake finishes. To avoid it in the future:
- Keep Windows fully updated. DRM upgrades come via Windows Update (they're tagged as Update for Windows Media DRM).
- Never kill Windows Media Player or a DRM-enabled app while it's loading a protected file. Give it 10 seconds to finish the handshake.
- If you're on a corporate network with aggressive firewall rules, make sure
*.microsoft.comand*.windowsmedia.comare accessible. The DRM store needs to phone home for the initial security upgrade. - Skip third-party DRM cleaners or codec packs — they often register broken versions of
drmupgrd.dllor nuke the registry entries that link the DRM store to the license server.
That's it. The fix above works 9 times out of 10. If it doesn't, you're looking at a corrupted OS install or a damaged Windows Media Player component — at that point, a repair install or DISM /Online /Cleanup-Image /RestoreHealth is your next step.
Was this solution helpful?