Fix NS_E_DRM_STORE_NOTALLSTORED (0XC00D275F) for good
This error pops up when Windows can't save DRM licenses for protected media. Usually after a failed Windows update or corrupt user profile.
When this error shows up
You're trying to play a protected media file—maybe a rented movie from iTunes or a corporate training video that requires Windows Media DRM. The player spits out NS_E_DRM_STORE_NOTALLSTORED with code 0XC00D275F. The exact message reads: "Some of the licenses could not be stored." This usually happens after a Windows update that breaks the DRM license store, or when the user profile gets corrupted. Had a client last month whose entire print queue died because of a failed update, and this error was the sidekick.
What causes it
The DRM license store lives in a hidden folder and uses a database that's tied to your user account. When Windows Update messes with Media Foundation components—like it did in KB5021233 for Windows 10—the database gets corrupted. Or maybe you ran a disk cleanup tool that wiped the folder. The license store can't write new licenses because the database is toast. It's not a hardware issue, so don't waste time checking drivers.
How to fix it
Skip reinstalling Windows Media Player—that won't touch the license store. The real fix is to reset the DRM store and re-register the DRM DLLs. I've done this on maybe 50 machines, and it works 9 times out of 10.
Step 1: Close all media players
Kill Windows Media Player, Groove Music, Movies & TV, anything that could be holding DRM files open. Check Task Manager if needed.
Step 2: Delete the DRM folder
Open File Explorer and paste this path:
%userprofile%\AppData\Local\Microsoft\DRM
If you can't see the folder, enable hidden files: in Explorer, click View and check "Hidden items." Delete everything inside the DRM folder. Don't delete the folder itself—just the contents. Windows will rebuild them automatically.
Step 3: Re-register DRM DLLs
Run Command Prompt as Admin (right-click Start, choose "Command Prompt (Admin)" or "Terminal (Admin)"). Then copy-paste these one at a time, hitting Enter after each:
regsvr32.exe /u %windir%\system32\drmv2clt.dll
regsvr32.exe %windir%\system32\drmv2clt.dll
regsvr32.exe /u %windir%\system32\drmclien.dll
regsvr32.exe %windir%\system32\drmclien.dll
regsvr32.exe /u %windir%\system32\drmstor.dll
regsvr32.exe %windir%\system32\drmstor.dll
You'll see success messages for each. If any fail, note the error—that points to deeper corruption.
Step 4: Reset the Media Foundation database
Still in the admin command prompt, run:
reg delete HKLM\SOFTWARE\Microsoft\MediaFoundation /f
This nukes the Media Foundation config. Windows will rebuild it next time you play media. Don't worry, it's safe.
Step 5: Reboot and test
Restart your PC. After reboot, try playing the file that triggered the error. If it works, you're golden. If not, move to the next section.
What to check if it still fails
If the error persists, the problem isn't the license store—it's the user profile itself. Create a new local admin account (Settings > Accounts > Family & other users > Add someone else to this PC). Log into that new account and test the file. If it works there, your old profile is corrupted. Migrate your data and ditch it. Also check if the media file itself is expired—some DRM licenses have time limits. Look for a file like license.drm in the DRM folder and see if it's date-stamped years ago. If yes, the content's license expired, and no fix will help. The last resort is running the System File Checker: sfc /scannow from admin command prompt. It'll fix corrupted system files, but I've never seen it fix this specific error alone—it's usually the DRM reset that does the trick.
Was this solution helpful?