| 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.
AllStat records “The Software Licensing Service determined that the license is invalid. The license contains an override policy that is not configured properly” for this HRESULT. That identifies the official outcome; the additional value is the producing object, evidence set, nearby conditions and safe verification path.
Objects and state transitions
| Stage | Role for this HRESULT |
|---|---|
| Product instance | Application ID and Activation ID identify the exact licensed object. |
| License inputs | Packages, dependencies, signatures and policies feeding this result are loaded for that object. |
| Requested transition | The right, property, event, plug-in or service operation that returns this result is evaluated. |
| Commit or status | The intended state cannot be trusted or committed while this result remains unresolved. |
A later unlicensed, notification or grace-state message describes a consequence. Preserve the earliest event carrying this HRESULT for the same product object or service request.
What the constant itself tells you
| Signal | Interpretation |
|---|---|
| Family | The result is local to Software Protection Platform and should be tied to one product object, not the computer in general. |
| Object | The suffix names the object or transition to inspect before any broad activation reset. |
| Operation | Its HRESULT severity is failure; later status messages can describe only the resulting state. |
| State | The exact first caller and object identity are needed to distinguish a producer error from cleanup noise. |
Minimum diagnostic record
| Evidence | Question answered |
|---|---|
| Application ID, Activation ID and product name | For this HRESULT: Which Application ID and Activation ID returned the code? |
| LicenseStatus, LicenseStatusReason and grace values | For this HRESULT: Was the failure during package load, policy evaluation, authorization or service maintenance? |
| first API/slmgr method and earliest Security-SPP event | For this HRESULT: Is the named object absent, invalid, mismatched, duplicated or in the wrong lifecycle state? |
| caller identity and elevation | For this HRESULT: Can whether a clean reboot reproduces the result without modifying state be captured before changing state? |
| whether a clean reboot reproduces the result without modifying state | For this HRESULT: 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? |
Redact full keys, activation blobs, account tokens, private certificate material and raw hardware identifiers. Partial keys, hashes, IDs and UTC timestamps retain correlation value without publishing secrets.
How to reproduce the same boundary
- Bind this result to the exact Application ID, Activation ID, edition and partial key.
- Record
0xC004F053, UTC time, caller and the first method or server request that returned it. - Capture LicenseStatus, LicenseStatusReason and grace values specifically for this HRESULT.
- Prove the distinction between the named boundary and an unknown policy or duplicated policy identifier before remediation.
- After one supported change, repeat the same operation and compare state, events and response correlation for this HRESULT.
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"
Use the status output as evidence. Run an activation retry only after the collected state supports the identified prerequisite; blind retries can add quota, throttle or cleanup noise.
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”, follow that neighboring boundary rather than treating it as it. |
This controlled comparison is stronger than a broad reset because it changes one prerequisite and leaves product identity, evidence source and observation method stable.
Recovery without broad resets
A supported correction is to replace the malformed signed license package; do not hand-edit policy XML. A representative incident is a custom license declares override semantics incompletely.
Changes that make this code harder to diagnose
- avoid copying license packages or protected stores from another computer; it changes evidence without proving the named boundary.
- avoid force-deleting policy, plug-in or license files while sppsvc owns them; it changes evidence without proving the named boundary.
- avoid using rearm or key replacement as a universal package/policy repair; it changes evidence without proving the named boundary.
Technical references
- SoftwareLicensingProduct WMI class — official reference for the mechanism surrounding it.
- SoftwareLicensingService WMI class
- WMI properties and methods for volume activation
- Slmgr.vbs options
Looking for a different code? Search another status or error code.