| Previous | Next |
| SL_E_INVALID_PACKAGE_VERSION | SL_E_ISSUANCE_LICENSE_NOT_INSTALLED |
SL_E_PKEY_INVALID_UPGRADE
Where this licensing result is produced
Interpret SL_E_PKEY_INVALID_UPGRADE inside product-key and edition matching, not as a generic activation failure. Windows has reached validation and installation of a product key against the installed edition, activation channel, SKU, PID configuration and license package; in this case, the supplied key grants an upgrade path and cannot activate a clean installation lacking the qualifying base state.
This result is HRESULT 0xC004F061. Pair it with the selected product/Activation ID and operation name so later logs do not attribute an add-on, edition, or volume-license result to the base Windows product.
Evidence to preserve before changing anything
Record installation type, qualifying-license evidence, current edition, key channel and whether the system was clean-installed or upgraded. Before changing the system, add the following context:
- Product identity: key channel/type and only the partial product key in ordinary logs.
- Activation context: Product ID and PID configuration.
- State at failure: installed license package/SKU inventory.
- Correlation evidence: operation used to install, change, validate or activate the key.
- Change history: current edition and Activation ID.
This result should be read against these rules: Key installation and activation are separate operations: successful installation does not prove that entitlement, activation limits, or server-side policy will allow activation. A syntactically well-formed key can still be unusable because its channel, edition, key range, upgrade rights, or Activation ID does not match the installed product.
This result is actionable because an upgrade key can be genuine and correctly formatted but still require a qualifying installation. Automation handling it should route the result to the owner of that layer rather than starting every recovery path at once.
Work from state to cause
- Select the exact licensing product or Activation ID that returned it; do not rely only on the first line of
slmgr /dlv. - Confirm the mechanism in use: validation and installation of a product key against the installed edition, activation channel, SKU, PID configuration and license package.
- Prove the code-specific condition by collecting: record installation type, qualifying-license evidence, current edition, key channel and whether the system was clean-installed or upgraded.
- Apply the distinction “an upgrade key can be genuine and correctly formatted but still require a qualifying installation” before choosing a key, network, certificate, firmware, time, or entitlement repair.
- Change one relevant precondition, rerun one activation/evaluation operation, and verify the resulting LicenseStatus and LicenseStatusReason.
What a safe fix looks like
Recovery should preserve entitlement and state rather than erase symptoms. In this case, use the key only in its authorized upgrade scenario or provide a full-license key for a clean installation; then query the same product instance and retain the post-fix it HRESULT and status.
Representative failure: A volume or retail upgrade key is entered on a freshly installed disk with no qualifying base license.
How this differs from adjacent licensing codes
| Result | Different condition |
|---|---|
SL_E_MISMATCHED_PRODUCT_SKU | Different condition: the requested or licensed SKU cannot be matched to an installed product SKU. |
SL_E_BASE_SKU_NOT_AVAILABLE | Different condition: an add-on or edition license depends on a base SKU that is not installed or available. |
SL_E_BLOCKED_PRODUCT_KEY | Different condition: the licensing policy identifies the otherwise recognizable key as blocked. |
Actions that usually make this harder to diagnose
- Avoid publishing a complete product key in logs, tickets or screenshots.
- Avoid cycling through unrelated keys without first identifying edition and channel.
Verification after the change
Verification should include a failing fixture for “the supplied key grants an upgrade path and cannot activate a clean installation lacking the qualifying base state” and a passing fixture after the targeted fix. Reboot or restart only when the documented mechanism requires it, and confirm that the state persists afterward.
Technical references
- Microsoft activation error-code troubleshooting — diagnostic and operational context.
- Plan for volume activation — supported tools and state fields used to verify the resulting state.
- KMS client activation keys — Microsoft guidance for the activation mechanism represented by this HRESULT.
- Slmgr.vbs activation options — platform behavior relevant to this HRESULT.
Looking for a different code? Search another status or error code.
