License Consumption Failed — Tokens.dat Corrupted
What This Error Means
The Software Licensing Service reported that license consumption failed (SL_E_EUL_CONSUMPTION_FAILED). Windows stores activation tokens in C:\Windows\System32\spp\store\2.0\tokens.dat. When that file is corrupted—after failed updates, disk issues, or cloning—activation can fail with 0xC004E015 even if your product key is valid.
This error is different from an invalid product key (0xC004E016) or a blocked key (0xC004C003). The fix targets the local licensing store, not the key itself.
How to Fix It
- Open an elevated Command Prompt (Run as administrator).
- Stop the Software Protection service:
net stop sppsvc - Navigate to the store folder:
cd %windir%\system32\spp\store\2.0 - Rename the corrupted file:
ren tokens.dat tokens.bar - Restart the service:
net start sppsvc - Rebuild license information:
cscript.exe %windir%\system32\slmgr.vbs /rilc - Restart your PC, reinstall your product key with
slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX, then runslmgr /ato. - If activation still fails, ensure system date/time is correct and your network can reach Microsoft activation servers.