卸载office密钥

一、管理员身份运行命令提示行;

二、命令提示行上输入:

cd C:\Program Files\Microsoft Office\Office16

弹出如下内容:

C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /dstatus Microsoft (R) Windows Script Host Version 5.812 版权所有(C) Microsoft Corporation。保留所有权利。  ---Processing-------------------------- --------------------------------------- PRODUCT ID: 内容手动删除 SKU ID: 内容手动删除 LICENSE NAME: Office 21, Office21ProPlus2021VL_KMS_Client_AE edition LICENSE DESCRIPTION: Office 21, VOLUME_KMSCLIENT channel BETA EXPIRATION: 1234/1/1 LICENSE STATUS:  ---NOTIFICATIONS--- ERROR CODE: 0xC004F056 ERROR DESCRIPTION: The Software Licensing Service reported that the product could not be activated using the Key Management Service (KMS). Last 5 characters of installed product key: 12345 Activation Type Configuration: ALL         DNS auto-discovery: KMS name not available         KMS machine registry override defined: 10.0.8.241:1686         Activation Interval: 120 minutes         Renewal Interval: 10080 minutes         KMS host caching: Enabled --------------------------------------- --------------------------------------- ---Exiting-----------------------------

三、命令提示行上输入:

cscript ospp.vbs /unpkey:12345

命令中的“12345”是上一步查询出来的密钥后五位。

四、命令提示行上输入,结束密钥卸载。

cscript ospp.vbs /act