Link to home
Start Free TrialLog in
Avatar of agcsupport
agcsupportFlag for United States of America

asked on

Remove Office MAK license

Can someone tell me how to remove the original MAK license? The server wants to use the MAK license rather than the KMS license until I use ospp command to register the kms license then everything is ok - Thank you



C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /dstatusall
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

---Processing--------------------------
---------------------------------------
SKU ID: ################################################
LICENSE NAME: Office 16, Office16StandardVL_MAK edition
LICENSE DESCRIPTION: Office 16, RETAIL(MAK) channel
LICENSE STATUS:  ---UNLICENSED---
ERROR CODE: 0xC004F014
ERROR DESCRIPTION: The Software Licensing Service reported that the product key
is not available.
---------------------------------------
SKU ID: ###############################################
LICENSE NAME: Office 16, Office16StandardVL_KMS_Client edition
LICENSE DESCRIPTION: Office 16, VOLUME_KMSCLIENT channel
LICENSE STATUS:  ---LICENSED---
REMAINING GRACE: 179 days  (259031 minute(s) before expiring)
Last 5 characters of installed product key: #####
Activation Type Configuration: ALL
        DNS auto-discovery: KMS name not available
        KMS machine registry override defined: agcnwksvcs:1688
        Activation Interval: 120 minutes
        Renewal Interval: 10080 minutes
        KMS host caching: Enabled
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

cscript "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS" /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Open in new window

Avatar of agcsupport

ASKER

HI David - This server originally was MAK. I stood up a KMS server for OS and Office and converted the licenses on the servers. The /inpkey switch is what I used to install the KMS license.  Should that have removed the MAK entirely?

C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /dstatusall
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

---Processing--------------------------
---------------------------------------
SKU ID: ################################################
LICENSE NAME: Office 16, Office16StandardVL_MAK edition
LICENSE DESCRIPTION: Office 16, RETAIL(MAK) channel
LICENSE STATUS:  ---UNLICENSED---
ERROR CODE: 0xC004F014
ERROR DESCRIPTION: The Software Licensing Service reported that the product key
is not available.
---------------------------------------
SKU ID: ###############################################
LICENSE NAME: Office 16, Office16StandardVL_KMS_Client edition
LICENSE DESCRIPTION: Office 16, VOLUME_KMSCLIENT channel
LICENSE STATUS:  ---LICENSED---
REMAINING GRACE: 179 days  (259031 minute(s) before expiring)
Last 5 characters of installed product key: #####
Activation Type Configuration: ALL
        DNS auto-discovery: KMS name not available
        KMS machine registry override defined: agcnwksvcs:1688
        Activation Interval: 120 minutes
        Renewal Interval: 10080 minutes
        KMS host caching: Enabled
MAK keys don't expire, KMS keys do expire after 180 days. You are using KMS
Yes correct. What I trying to figure out is why after installing the KMS key the MAK continues to be there. I wouldn't care but for some reason after a restart the system wants to use the MAK rather than the KMS key.

How do I get rid of the MAK?
run this
cscript ospp.vbs /dstatus
run this next (may have many keys to remove
cscript ospp.vbs /unpkey:<last five characters of product key>

when cscript ospp.vbs /dstatus doesn't return a key now import your KMS key
The below is the output from /dstatusall which shows the MAK license. You will notice there is no key info. If i run /dstatus it only shows the KMS license
ok then from /dstatusall remove the key using /unpkey:
I cannot remove the MAK key because there is no key information.

--Processing--------------------------
---------------------------------------
SKU ID: ################################################
LICENSE NAME: Office 16, Office16StandardVL_MAK edition
LICENSE DESCRIPTION: Office 16, RETAIL(MAK) channel
LICENSE STATUS:  ---UNLICENSED---
ERROR CODE: 0xC004F014
ERROR DESCRIPTION: The Software Licensing Service reported that the product key
is not available.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.