Quantcast
Channel: Terence Luk
Viewing all articles
Browse latest Browse all 836

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

$
0
0

Problem

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

image

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:

imageimage

Solution

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

image

image

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

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

image

image

image

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

image

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

image


Viewing all articles
Browse latest Browse all 836

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>