如何清除windows和office的激活信息
1. cscript “C:/Program Files/Microsoft Office/Office16/ospp.vbs” /dstatus
```bash
C:/Users/Administrator>cscript "C:/Program Files/Microsoft Office/Office16/ospp.vbs" /dstatus
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
PRODUCT ID: 00413-20000-20015-AA724
SKU ID: 5f472f1e-eb0a-4170-98e2-fb9e7f6ff535
LICENSE NAME: Office 19, Office19ProPlus2019MSDNR_Retail edition
LICENSE DESCRIPTION: Office 19, RETAIL channel
BETA EXPIRATION: 1601-01-01
LICENSE STATUS: ---OOB_GRACE---
ERROR CODE: 0x4004F00C
ERROR DESCRIPTION: The Software Licensing Service reported that the application is running within the valid grace period.
REMAINING GRACE: 27 days (39036 minute(s) before expiring)
Last 5 characters of installed product key: WFJJ6
---------------------------------------
PRODUCT ID: 00414-50000-00000-AA000
SKU ID: 85dd8b5f-eaa4-4af3-a628-cce9e77c9a03
LICENSE NAME: Office 19, Office19ProPlus2019VL_KMS_Client_AE edition
LICENSE DESCRIPTION: Office 19, VOLUME_KMSCLIENT channel
BETA EXPIRATION: 1601-01-01
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: 6MWKP
Activation Type Configuration: ALL
DNS auto-discovery: KMS name not available
Activation Interval: 120 minutes
Renewal Interval: 10080 minutes
KMS host caching: Enabled
---------------------------------------
PRODUCT ID: 00339-10000-00000-AA771
SKU ID: d450596f-894d-49e0-966a-fd39ed4c4c64
LICENSE NAME: Office 16, Office16ProPlusVL_KMS_Client edition
LICENSE DESCRIPTION: Office 16, VOLUME_KMSCLIENT channel
BETA EXPIRATION: 1601-01-01
LICENSE STATUS: ---OOB_GRACE---
ERROR CODE: 0x4004F00C
ERROR DESCRIPTION: The Software Licensing Service reported that the application is running within the valid grace period.
REMAINING GRACE: 28 days (41503 minute(s) before expiring)
Last 5 characters of installed product key: WFG99
Activation Type Configuration: ALL
DNS auto-discovery: KMS name not available
Activation Interval: 120 minutes
Renewal Interval: 10080 minutes
KMS host caching: Enabled
---------------------------------------
---------------------------------------
---Exiting-----------------------------
2. cscript “C:/Program Files/Microsoft Office/Office16/ospp.vbs” /unpkey:6MWKP
C:/Users/Administrator>cscript "C:/Program Files/Microsoft Office/Office16/ospp.vbs" /unpkey:6MWKP
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
Uninstalling product key for: Office 19, Office19ProPlus2019VL_KMS_Client_AE edition
<Product key uninstall successful>
---------------------------------------
---Exiting-----------------------------
C:/Users/Administrator>cscript "C:/Program Files/Microsoft Office/Office16/ospp.vbs" /unpkey:WFG99
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
Uninstalling product key for: Office 16, Office16ProPlusVL_KMS_Client edition
<Product key uninstall successful>
---------------------------------------
---Exiting-----------------------------
C:/Users/Administrator>cscript "C:/Program Files/Microsoft Office/Office16/ospp.vbs" /unpkey:WFJJ6
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。
---Processing--------------------------
---------------------------------------
Uninstalling product key for: Office 19, Office19ProPlus2019MSDNR_Retail edition
<Product key uninstall successful>
---------------------------------------
---Exiting-----------------------------