Office Pro Plus 2016 and master image not activating with KMS

Recently I was troubleshooting an issue with a Citrix PVS vdisk image that had issues activating Office Professional Plus 2016 after it had been set in Shared mode, and the server had been booted. This is the procedure I had to do to solve it.

Issue

The error that was given was

ERROR CODE: 0xC004E016
ERROR DESCRIPTION: The Software Licensing Service reported that the product key is invalid.

Solving the issue

First of all shut down everything using the vdisk, and then in properties on the vdisk, change the “Microsoft Volume License” on the vdisk to “None”, and press “Ok”. Then reopen the properties on the vdisk and set it to “Private mode”.

Then start up a server with the vdisk, and after it has started, connect to it with RDP.

Then use the Office 2016 uninstaller to uninstall the Office 2016 installation.

Afer the uninstall is complete, reboot the server, and reconnect when it's backup.

Then run the procedure to activate it again. Instead of “XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99”, use the correct GVLK that you need. You can find them here.

C:\Windows\system32>cd "\Program Files (x86)\Microsoft Office\Office16"

C:\Program Files (x86)\Microsoft Office\Office16>cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.

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

C:\Program Files (x86)\Microsoft Office\Office16>cscript ospp.vbs /sethst:kms.local.techie.cloud
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.

---Processing--------------------------
---------------------------------------
Successfully applied setting.
---------------------------------------
---Exiting-----------------------------

C:\Program Files (x86)\Microsoft Office\Office16>cscript 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: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
LICENSE NAME: Office 16, Office16ProPlusVL_KMS_Client edition
LICENSE DESCRIPTION: Office 16, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: XXXXX
<Product activation successful>
---------------------------------------
---------------------------------------
---Exiting-----------------------------

C:\Program Files (x86)\Microsoft Office\Office16>ospprearm
Microsoft Office rearm successful.

The “ospprearm” is important to run at the end, and then afterwards shut down your server.

Change the properties of the vdisk back to “Shared mode”, and then press “Ok”. Reopen the properties and change “Micrsoft Volume License” back to “KMS”. Now startup the server with the vdisk again, and check the current license status of Office.


comments powered by Disqus