Office License keep popping up after install key

We've recently got a new computer which office 365 was preinstalled, so we uninstall the apps then install MS office 2016 with our volume license.

But the activation keep prompting! and when we checked in the option it says production activation required. then we try to run the script and we got this result:

Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.

---Processing--------------------------
---------------------------------------
<Product key installation successful>
---------------------------------------
---Exiting-----------------------------

C:\Windows\system32>Echo Activating Office
Activating Office

C:\Windows\system32>cscript "C:\Program Files\Microsoft Office\Office16\OSPP.vbs" /act
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.

---Processing--------------------------
---------------------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: ******
LICENSE NAME: Office 16, Office16StandardVL_MAK edition
LICENSE DESCRIPTION: Office 16, RETAIL(MAK) channel
Last 5 characters of installed product key: XXXX
<Product activation successful>
---------------------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: ******
LICENSE NAME: Office 16, Office16ProPlusVL_MAK edition
LICENSE DESCRIPTION: Office 16, RETAIL(MAK) channel
Last 5 characters of installed product key: XXXXX
<Product activation successful>
---------------------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: ******
LICENSE NAME: Office 16, Office16O365HomePremR_Grace edition
LICENSE DESCRIPTION: Office 16, RETAIL(Grace) channel
Last 5 characters of installed product key: KHGM9
ERROR CODE: 0xC004F017
ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed.
---------------------------------------
---------------------------------------
---Exiting-----------------------------

Can anyone helped us?

***Personal information deleted by the moderator. Please see the Microsoft Community Frequently Asked Questions for more information on how you can protect your privacy.*** 

 

Question Info


Last updated November 8, 2019 Views 16,456 Applies to:
Answer
Answer

After so many try out, I finally could find a relevant fix!

So first step is to write a script to activate your ms office:

Then you will received the result shown above and which office licensed key is not install.

Then you create another script to delete the license key that is showing errors.

For me is KHGM9

Script for unlicensing is:

cscript "C:\Program Files\Microsoft Office\Office16\OSPP.vbs" /unpkey: KHGM9

Then restart your ms office and VOILA!!!!!

if required to activate, insert back your license key then PROBLEM FIXED!!!!!

69 people were helped by this reply

·

Did this solve your problem?

Sorry this didn't help.

Great! Thanks for marking this as the answer.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this response?

Thanks for your feedback.