Skip to content

Est. 2011ยทMicrosoft Partner 7033487ยทDelivery under 3 minยทSupport 7 days a week

Your vault is empty.

License Error 0x4004F040

Office 0x4004F040: activated, but you must verify your Product Use Rights

10 min read Updated October 4, 2026 Office & Microsoft 365 Licensing

Fix it now

Office is activated. The severity bit on 0x4004F040 is clear, which the documented HRESULT layout defines as a success result, so nothing is broken and nothing needs repairing. Microsoft publishes no description for the code itself, so treat it as a prompt to check that what activated is what your agreement grants.

Run these in an elevated Command Prompt. Use the Program Files (x86) path for 32-bit Office

cd "C:\Program Files\Microsoft Office\root\Office16"
cscript ospp.vbs /dstatus
cscript ospp.vbs /dstatusall
cscript ospp.vbs /ddescr:0x4004F040
  1. Note three things from /dstatus: the product name, the channel, and the last five characters of the key.
  2. Compare the product name against what your agreement actually grants. Professional Plus and Standard are separate licences with separate keys, and installing the wrong one is the usual reason this appears.
  3. /ddescr: prints the text Office itself holds for the code, which is the only wording with the vendor behind it.
  4. If the installation exceeds what you hold, either redeploy the edition you are licensed for or license the edition you have installed. Both are legitimate answers.

Nothing here is urgent in the way a failed activation is. It is a compliance question with a technical prompt attached.

If the product name matches your agreement, record the check and stop. If it does not, the next section covers the four ways that happens.

Why it happens

Start with what can be established. Microsoft publishes no description for 0x4004F040 on any support or documentation page. What is documented is the HRESULT layout: the top bit is a severity bit, and when it is clear the result is a success rather than a failure. On this value it is clear. So whatever the notice says, Office activated, and there is no fault to repair on the machine.

Read the text your own machine holds rather than a gloss: cscript ospp.vbs /ddescr:0x4004F040 prints it. That is a two-second check and it is worth doing before anyone spends an afternoon on a compliance question they may not have.

The reason a code like this exists at all is that activation is deliberately not a compliance check. Volume keys are designed to activate broadly so that deployment does not stall, and Microsoft publishes a separate Generic Volume License Key for each edition precisely so that each edition can find its own licence. Nothing in that arrangement stops an administrator deploying Professional Plus with a Professional Plus GVLK on devices the agreement only covers for Standard. The software succeeds; the entitlement is a separate document.

In practice the mismatch has a small number of shapes. A build was deployed with a product ID that does not match what was bought. Devices outside the organisation named on the agreement are carrying the volume key. Or Office has moved into a shared or virtual desktop scenario whose terms differ from ordinary per-device use. The two companion codes, 0xC004F028 and 0xC004F073, have no published descriptions either.

The wrong edition was deployed

You have this one if /dstatus names Professional Plus and your purchase records say Standard, or the reverse.

  1. Decide which way to resolve it: deploy what you own, or own what you deployed.
  2. To step down, redeploy with the Standard product ID for your release, Standard2024Volume or Standard2021Volume, and let its own GVLK activate.
  3. To step up, obtain Professional Plus licences for those devices and leave the installation as it is.
  4. Correct the deployment source as well, or the next rollout repeats it.

Professional Plus includes applications Standard does not. Check which of them people actually open before deciding which direction to resolve in.

The device is not covered by the agreement

You have this one if The installation is on a machine owned by a contractor, a subsidiary or an entity that is not the one named on the agreement.

  1. Check how your agreement defines affiliates and which entities it covers. That is a question for the agreement, not for the software.
  2. Where a device falls outside, license it separately rather than extending the volume key to it.
  3. Remove the volume key from devices that should not carry it: cscript ospp.vbs /unpkey:<last five>.

Office is running on a shared or virtual desktop

You have this one if The notice appears only on session hosts or virtual desktops, and not on physical devices carrying the same key.

  1. Confirm what your agreement says about shared and virtual desktop use, since those rights are granted separately from ordinary device licensing.
  2. Where they are not included, either license the scenario properly or move those users to a subscription that covers shared activation.
  3. Document the outcome. This is the scenario that gets asked about most often in a licence review.

More devices are activated than you bought licences for

You have this one if The activation count against your key is comfortably higher than the number of licences on your purchase records.

  1. Produce a real device count from your management tooling rather than from memory.
  2. Retire Office from devices that do not need it and remove the key from them.
  3. Buy licences for the remaining gap.

Full reference

Which situation is yours

What you find What it means
Installed edition is Professional Plus, agreement covers Standard The installation exceeds the entitlement. Change one of the two
The product name and the agreement match Record the check and move on
The device belongs to a contractor or a subsidiary Coverage depends on how the agreement defines the organisation
Office is running on a virtual or session-based desktop Those rights are granted separately. Confirm before assuming
More devices activated than licences purchased A shortfall rather than a technical fault

What the software can and cannot tell you

Question Where the answer lives
Which edition is installed cscript ospp.vbs /dstatus, and File, Account, About
Which licences are present on the machine cscript ospp.vbs /dstatusall
Which key activated it The last five characters in the /dstatus output
How many devices have used the key Your volume licensing portal, not the client
What the agreement permits The agreement and its accompanying terms

That table is the whole point of this notice. Everything in the top half is knowable from the machine in a minute. Everything in the bottom half is not knowable from the machine at all, which is why the software raises a prompt rather than an error: it has done what it can and the rest is a document.

Edition, product ID and key all have to agree

Microsoft publishes a distinct Generic Volume License Key for Professional Plus and for Standard in each release, and a distinct product ID for deploying each: ProPlus2024Volume and Standard2024Volume, with the 2021 equivalents for that release. Its own guidance on the product IDs is blunt: if you use the wrong product ID, you cannot activate Office. So a deployment that activated at all tells you the three agreed with each other. What it does not tell you is whether they agree with what you bought.

Doing the check properly, once

  1. Export the installed edition and channel from a sample of devices, using /dstatus through your management tooling rather than by walking to desks.
  2. Get the licence quantities and products from your volume licensing portal, not from an old purchase order.
  3. Compare them by edition, not by count alone. A hundred licences of the wrong edition is not coverage.
  4. Note the devices that fall outside the organisation named on the agreement, because those need their own licences whatever the count says.
  5. Write down who confirmed it and when, so the same question does not have to be answered from scratch next year.

The two companion codes

0xC004F028 and 0xC004F073 have no published descriptions. Both are failure-severity codes, unlike 0x4004F040, so if you are seeing one of them the machine is not activated and this is the wrong article. Read the vendor’s text with cscript ospp.vbs /ddescr: and work from there.

Can you simply ignore it?

Technically, yes: Office is activated, editing works and no banner appears. Whether that is wise depends on whether the mismatch behind it is real. A notice that reflects an edition or a device genuinely outside your agreement does not go away on its own, and it resurfaces during a licence review, when the conversation is less comfortable and the remedy is priced by someone else. Checking costs an hour.

When a licence is the actual fix

This notice has two honest resolutions and only you can say which fits. If people are genuinely using the applications that only Professional Plus includes, then licensing what is installed is the cleaner outcome, and Arco supplies Office LTSC 2024 Professional Plus as a perpetual per-device licence. If they are not, redeploying the edition you already own costs nothing but the rollout. We are happy to look at what your agreement grants against what is deployed and tell you which of the two you are facing before you spend anything.

Every code this article covers

Code What it points at Source
0x4004F040 Returned after a successful activation. No published description; its severity bit is clear, which the documented HRESULT layout defines as a success result not published by the vendor
0xC004F028 A failure-severity code from the same licensing layer. No published description not published by the vendor
0xC004F073 A failure-severity code from the same layer. No published description not published by the vendor

Confirm the fix worked

  1. cscript ospp.vbs /dstatus reports a licensed status and names the edition you are licensed for.
  2. cscript ospp.vbs /dstatusall shows no second licence you did not expect.
  3. The product ID used to deploy matches the licence you hold.
  4. The number of activated devices agrees with your purchase records.
  5. The check is written down, with who confirmed the entitlement and when.

Questions people ask about this

Is Office actually activated?

Yes. The severity bit on this code is clear, and the documented HRESULT layout defines that as a success result. Office works, editing is enabled and no banner appears.

What does 0x4004F040 say exactly?

Microsoft does not publish a description for it. Run cscript ospp.vbs /ddescr:0x4004F040 on the machine to read the text Office itself holds, and treat that as the authority rather than any table you find.

Can I just ignore it?

Nothing will break if you do. Whether that is wise depends on whether the mismatch behind it is real. If it reflects an edition or a device outside your agreement, it resurfaces during a licence review rather than going away.

How do I find out what my agreement grants?

Your purchase records and your volume licensing portal are the authority, not the software. The portal lists the products and quantities on the agreement, and the accompanying terms describe the use rights for each.

Does resolving this always mean buying something?

No. If the wrong edition was deployed and nobody needs the extra applications, redeploying the edition you already own resolves it at no licence cost. Buying is the answer only when the deployment reflects what people genuinely use.

Related error codes

Was this article helpful?

Your feedback helps us improve our documentation.

Related articles

Free Fix Office 0x80072F0D: TLS inspection is breaking Office licensing calls License Error Office for Mac 0x8A010101: the account signed in holds no Office licence Free Fix Office 0x4004FC04: the Activation Wizard cannot reach Microsoft servers Free Fix Office 30204-44: antivirus or a proxy is blocking the Office installer
โ† Back to Knowledge Base