Updated December 2026
In any Office app
- Open Word, Excel or any other Office app.
- Go to File › Account (in Outlook: File › Office Account).
- Under Product Information, look for Product Activated and the name of your version, for example Microsoft Office LTSC Professional Plus 2024.
If you see Product Activation Required or an Unlicensed Product banner instead, read how to fix Unlicensed Product in Office.
With a command
The OSPP script shows every Office licence on the PC, its status, and the last five characters of each installed key. Open Command Prompt as administrator and go to the Office folder. On most PCs (64-bit Office) that is:
cd "C:\Program Files\Microsoft Office\Office16"If that folder doesn't exist, you have 32-bit Office:
cd "C:\Program Files (x86)\Microsoft Office\Office16"Then run:
cscript ospp.vbs /dstatus| Line in the result | What it tells you |
|---|---|
| LICENSE NAME | The exact Office edition and licence channel, for example Retail or a volume licence |
| LICENSE STATUS | ---LICENSED--- means activated. ---NOTIFICATIONS--- or ---GRACE--- means it isn't |
| Last 5 characters of installed product key | Which key is installed, so you can compare it with your order |
| ERROR CODE | Shown when activation failed, for example 0xC004F074 |
Microsoft 365 installed with your Microsoft account may not show up here: check it under File › Account instead.
Still stuck?
- See the other messages in our guide to Office activation problems.
- Reinstall cleanly with our complete uninstall guide, then install and activate Office again.
- If you bought the key from us, contact us with your order number and a screenshot. If the key is faulty, we replace it.
Keys mentioned in this guide
- Office 2024 Pro Plus $34.99
- Office 2021 Pro Plus $34.99
Still stuck?Send us a screenshot and your order number on the contact page. If a key we sold you won't activate, we fix it or send a replacement.