原创

查询office/windows激活状态

office:

cd "C:\Program Files\Microsoft Office\Office16"

cscript ospp.vbs /dstatus

---Processing--------------------------
---------------------------------------
PRODUCT ID: 00414-50000-00000-AA399
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/1/1 星期一
LICENSE STATUS:  ---LICENSED---
ERROR CODE: 0x4004F040 (for information purposes only as the status is licensed)
ERROR DESCRIPTION: The Software Licensing Service reported that the product was activated but the owner should verify the Product Use Rights.
REMAINING GRACE: 179 days  (259187 minute(s) before expiring)
Last 5 characters of installed product key: 6MWKP
Activation Type Configuration: ALL
DNS auto-discovery: KMS name not available
KMS machine registry override defined: 100.100.0.10:1688
Activation Interval: 43200 minutes
Renewal Interval: 43200 minutes
KMS host caching: Enabled
---------------------------------------

复制其中的SKU ID: 85dd8b5f-eaa4-4af3-a628-cce9e77c9a03

slmgr /xpr 85dd8b5f-eaa4-4af3-a628-cce9e77c9a03


查看window激活状态:

cmd

slmgr.vbs -dlv

正文到此结束
本文目录