Monday, May 2, 2016

Uninstalling Office 2016 KMS key from Windows Server 2012 R2 KMS server


You have a KMS server in your environment and would like to uninstall the KMS product key for Office 2016 with the command:

Slmgr.vbs /upk <Activation ID>

You execute the following command in an effort to obtain the Activation ID:

slmgr.vbs /dlv all


However, the output in the Windows Script Host window contains so much content that you are unable to see the information beyond the bottom of the screen and there is no way to resize the window:



The way around this is to use the cscript.exe command to execute slmgr.exe /dlv all command so that all the information is listed in the command prompt:

C:\Windows\System32>cscript.exe slmgr.vbs /dlv all



Or you can also pipe it to a text file as such:

C:\Windows\System32>cscript slmgr.vbs /dlv all > C:\slmgr-output.txt




Activation ID: 98ebfe73-2084-4c97-932c-c0cd1643bea7


With the Activation ID identified, you can now execute the following /upk command to remove the key from the KMS server:

slmgr.vbs /upk 98ebfe73-2084-4c97-932c-c0cd1643bea7



Justin Trantham said...

Works Great thanks

Anonymous said...

Very useful article. I had an issue with Office licences making the activation dialog pop. It helped me to understand that there was two licences installed (one valid and one invalid). And my problems were resolved by uninistalling the wrong one. Thank you.

Unknown said...

Office 2016 Product Key

You can buy the product key from the Microsoft office site and its partner vendor. If you don't want to pay in high price, then I recommend you to buy it from the partner vendor . The same genuine product key but with a much lower price. What's more, the customer service is extremely good and considerate.

Office 2016 Product Key