1. 程式人生 > 其它 >解除安裝office金鑰

解除安裝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