| Previous | Next |
| SL_E_DUPLICATE_POLICY | SL_E_LICENSE_MANAGEMENT_DATA_DUPLICATED |
SL_E_MISSING_OVERRIDE_ONLY_ATTRIBUTE
Where this result is produced
SL_E_MISSING_OVERRIDE_ONLY_ATTRIBUTE is HRESULT 0xC004F053. It belongs to the local Software Protection Platform. Its narrow boundary is: an override policy lacks the attribute that marks or constrains it as override-only.
Windows reports “The Software Licensing Service determined that the license is invalid. The license contains an override policy that is not configured properly”.
Minimum diagnostic record
| whether a clean reboot reproduces the result without modifying state | Does the evidence support “replace the malformed signed license package; do not hand-edit policy XML” rather than an unknown policy or duplicated policy identifier? |
How to reproduce the same condition
- Record
0xC004F053, UTC time, caller and the first method or server request that returned it. - Capture LicenseStatus, LicenseStatusReason and grace values.
- Before remediation, confirm that the failure is not instead the neighboring condition: an unknown policy or duplicated policy identifier.
REM Evidence context: SL_E_MISSING_OVERRIDE_ONLY_ATTRIBUTE
cscript %windir%\system32\slmgr.vbs /dlv
powershell -NoProfile -Command "Get-CimInstance SoftwareLicensingProduct | Where-Object PartialProductKey | Select Name,ApplicationID,ID,LicenseStatus,LicenseStatusReason,PartialProductKey"
Do not merge these conditions
| Result | Different condition |
|---|---|
SL_E_DUPLICATE_POLICY | the combined license set defines the same policy more than once where uniqueness is required |
SL_E_LICENSE_MANAGEMENT_DATA_DUPLICATED | license-management metadata appears more than once where the schema permits one record |
SL_E_LICENSE_MANAGEMENT_DATA_NOT_FOUND | license-management metadata required to evaluate or maintain the license is absent |
A focused reproduction for this exact result
| Control | Design |
|---|---|
| Failing fixture | A custom license declares override semantics incompletely. |
| Single variable | Change only presence of the exact required object in the correct product and storage scope. |
| Positive control | Restoring only that official dependency removes the code without a broad store reset. |
| Different result | If the experiment instead proves “the combined license set defines the same policy more than once where uniqueness is required”, diagnose that condition separately rather than treating it as this HRESULT. |
Recovery without broad resets
To correct this using supported mechanisms, replace the malformed signed license package; do not hand-edit policy XML.
Technical references
Looking for a different code? Search another status or error code.