Skip to content

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

Your vault is empty.

License Error 0xC004F017

Unlicensed Product 0xC004F017 in Word, Excel, Visio and Project: Activation Failed

10 min read Updated October 5, 2026 Outlook & Office Applications

Fix it now

Office has an installation and a signed-in account, and that account holds no entitlement covering what is installed, so the applications drop to reduced functionality. Establish that a licence exists and is assigned to the right account before you clear anything locally.

Run these in PowerShell for a Microsoft 365 Apps installation

cd "C:\Program Files\Microsoft Office\Office16"
./vnextdiag.ps1 -action list
  1. Read what the application thinks it has: in Word, File then Account. Note the product named under Product Information and the account under User Information.
  2. Read what the account actually has: sign in to the Microsoft 365 portal as that user, or have an administrator check the assigned licences in the admin centre.
  3. If the account has no licence, or has one that does not include the desktop applications, assign the right one. Nothing below matters until the entitlement exists.
  4. If a licence is assigned, sign out from File, Account, close every Office process, reopen and sign in with the licensed account.
  5. If the wrong account is attached, remove it, and check the work-or-school account page in Windows Settings for a stale work account left behind.
  6. For Visio or Project, confirm the user holds a licence for that product in its own right. Neither is included in a Microsoft 365 apps licence.

For a volume-licensed installation the diagnostic is different: cscript ospp.vbs /dstatus, run from the Office program folder in an elevated prompt.

If the applications edit and save with no banner, you are done. The next section covers what Office checks at launch and why a valid subscription still fails.

Why it happens

A subscription installation of Office carries no key. It carries a licence token issued to the signed-in account and refreshed periodically against the service. At launch the applications look for a valid token covering the edition installed. If there is none, or the one present has expired and cannot be renewed, the title bar reads Unlicensed Product and most features are disabled. Microsoft’s own support page for this condition lists four causes: signing in with the wrong account, more than one Office installation on the machine, an expired subscription, and configuration or connectivity problems.

The phrase that matters is covering the edition installed. A user whose plan includes only the web and mobile applications has a genuine, paid, perfectly valid subscription and still cannot activate a desktop Word. A user with a full desktop apps licence has no entitlement whatsoever to desktop Visio or Project: separate products, separate licences, same installer, and they fail in exactly this way.

None of the three codes in this article has a published meaning. 0xC004F017 is not in Microsoft’s Windows activation error-code table. 0x8004FC12 and 0xC004C060 are not on the Office activation support pages. Everything you will read assigning them a specific cause comes from community answers. That is not a reason to ignore them, but it is a reason not to let one choose your next step: the state you can actually verify is what File, Account and the admin centre tell you.

Volume-licensed Office is a different mechanism entirely, activated by key rather than by signing in, and the two use different tools. Microsoft states that ospp.vbs is no longer used for Microsoft 365 Apps subscription activation and remains only for volume-licensed Office such as Office LTSC and Office 2019. For subscription activation the supported check is the vnextdiag.ps1 script, included from Version 2104.

No licence is assigned to the account

You have this one if The admin centre or the portal shows no subscription against that user.

  1. Assign an appropriate licence to the user in the admin centre.
  2. Allow time for the assignment to propagate before testing.
  3. On the client, sign out of Office, close every Office process, then sign in again.
  4. Confirm File, Account shows the expected product.

The plan does not include the desktop applications

You have this one if A subscription is assigned and it is one of the web-and-mobile plans.

  1. Confirm which plan is assigned and what it actually includes.
  2. Move the user to a plan that includes the installed desktop applications, or have them use the browser versions where that genuinely suffices.
  3. Sign out and back in on the client so a new token is issued.

Visio or Project is installed without its own licence

You have this one if Word, Excel and Outlook all activate normally while Visio or Project reports as unlicensed.

  1. Assign a licence for that product to that user.
  2. Check the tier. Project Plan 1 is web only; Project Plan 3 and Plan 5 include the Project Online desktop client. Visio also has web-only and desktop-including tiers, so confirm which one you are buying.
  3. Sign out and back in, then check File, Account inside Visio or Project specifically rather than in Word.

More than one Office installation, or the wrong account signed in

You have this one if The machine has had more than one Office version on it, or File, Account names an account nobody expected.

  1. Uninstall duplicate Office versions from the installed-apps list, restart, and run an online repair.
  2. Sign out of Office and back in with the correct account.
  3. Check the work-or-school account page in Windows Settings for a stale account still attached to the machine.
  4. Confirm the system date, time and time zone are correct, which Microsoft lists among its own troubleshooting steps.

Full reference

Reading the symptom

What you see What it means
No product shown, and no subscription in the portal No licence is assigned to the account
A subscription is assigned but has no desktop applications The plan does not include what is installed
Word and Excel activate but Visio or Project do not Those products need their own licences
Everyone affected at once The subscription lapsed, or licences were reassigned in bulk
It worked for weeks and then stopped The token could no longer be renewed

Which diagnostic for which installation

Installation Tool Command
Microsoft 365 Apps, subscription activation vnextdiag.ps1 ./vnextdiag.ps1 -action list
Volume licensed Office ospp.vbs cscript ospp.vbs /dstatus
Volume licensed, all licences ospp.vbs cscript ospp.vbs /dstatusall
Volume licensed, install a key ospp.vbs cscript ospp.vbs /inpkey:<key>
Volume licensed, activate ospp.vbs cscript ospp.vbs /act

vnextdiag.ps1 sits in the Office program folder – C:\Program Files\Microsoft Office\Office16, or the (x86) path for 32-bit Office on 64-bit Windows – and reports the licence type, product name, licence state, the user email that activated the product, the tenant, and whether shared computer activation or device-based licensing is in play. ospp.vbs sits in Program Files\Microsoft Office\root\Office16 and must be run from an elevated prompt by an account in the Administrators group.

What not to do first

Deleting the local licence store, running an activation reset, or reinstalling will not create an entitlement, and any of them can leave a working machine unlicensed while you sort out the real cause. Two minutes in the admin centre tells you whether you are looking at a client problem or a licence problem, and those two minutes are the best-spent part of this job.

When the licence is provably assigned and it still fails

  • Check the system date, time and time zone, which Microsoft lists among its own troubleshooting steps for this condition.
  • Run Office as an administrator once, and update Office to the latest version, both of which Microsoft names.
  • Temporarily disable the firewall and antivirus on one test machine to establish whether either is blocking activation, then re-enable them.
  • Check the proxy settings, since activation traffic goes to the service like everything else.
  • Check whether shared computer activation is required for this deployment. On a multi-user machine without it, licensing behaves in exactly this way and no amount of reassigning licences will change it.
  • Uninstall any second Office installation. Microsoft names multiple installations as one of the four causes and an online repair afterwards as the fix.

When a licence is the actual fix

This is the article where the licence genuinely is the fix. If File, Account shows no product and the admin centre shows no subscription for the user, nothing on the machine will change that and Office is behaving as designed. What you need depends on what is installed. Microsoft 365 Apps for business covers the installed desktop Word, Excel, PowerPoint and Outlook for a user across their own devices. Visio and Project are separate products with their own licences and the tier decides whether you get a desktop application at all: Microsoft publishes Project Plan 1 as web only, with the Project Online desktop client arriving at Plan 3 and Plan 5. Visio has the same shape of split between a web-only tier and one that includes the installed application, so confirm which tier covers the desktop app before you buy rather than after. Arco supplies these licences and, more usefully at this point, will check which SKU actually covers what you already have installed, so you do not end up with a subscription that leaves the same applications unlicensed.

Every code this article covers

Code What it points at Source
0xC004F017 Reported when Office activation is refused; the value is not in Microsoft’s activation error-code table and no meaning is published not published by the vendor
0x8004FC12 Seen during Office activation attempts; no published meaning not published by the vendor
0xC004C060 Seen on volume-licensed installations during activation; no published meaning not published by the vendor

Confirm the fix worked

  1. File, Account shows the expected product and account, with no unlicensed banner.
  2. Editing and saving work normally in every application that was affected, including Visio or Project if those were the problem.
  3. After a full restart the applications still show as licensed rather than reverting.
  4. For a subscription installation, vnextdiag.ps1 reports a licensed state for the installed product.
  5. For a volume installation, cscript ospp.vbs /dstatus reports a licensed status.

Questions people ask about this

Can I fix this without buying anything?

If the account already holds a licence covering what is installed, yes: sign out and back in, correct which account is attached, or clear stale local state. If it holds no such licence, no. Two minutes in the admin centre tells you which.

Why did Office work for weeks and then stop?

Because the token is refreshed periodically rather than checked once. A licence removed, reassigned or lapsed does not take effect the same instant; the applications carry on until the current token cannot be renewed, and then everything fails at once.

Should I use ospp.vbs to check a Microsoft 365 installation?

No. Microsoft states that ospp.vbs is no longer used for Microsoft 365 Apps subscription activation and remains only for volume-licensed Office. The supported check for subscription activation is vnextdiag.ps1 with the list action.

What does 0xC004F017 mean?

Microsoft does not publish a meaning for it, and it is not in the Windows activation error-code table. Diagnose from File, Account and the admin centre rather than from the number.

Is a one-off perpetual licence an option instead?

Yes. A perpetual licence is bought once and does not expire, but it is tied to one device, includes none of the cloud services, and does not gain new features. For a machine that needs Word and Excel and nothing else it can be the better buy.

Related error codes

Was this article helpful?

Your feedback helps us improve our documentation.

Related articles

Free Fix VBA Error 48 and 53: Missing References Break Macros After an Office Update License Error Outlook 0x8004060C: The Mailbox or Outlook Data File Has Hit Its Size Limit Free Fix AADSTS50126 and AADSTS50055: Outlook Keeps Asking for a Password That Works Online Free Fix Printing From Office Fails With 0x00000709 and 0x0000011b on Shared Printers
โ† Back to Knowledge Base