How to check if Office is activated (and which licence it uses)

Two ways to see whether Office is activated: one click in any Office app, or one command that shows exactly which licence is installed.

Updated December 2026

In any Office app

  1. Open Word, Excel or any other Office app.
  2. Go to File › Account (in Outlook: File › Office Account).
  3. 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 resultWhat it tells you
LICENSE NAMEThe 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 keyWhich key is installed, so you can compare it with your order
ERROR CODEShown 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?

Keys mentioned in this guide

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.