卸载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

 

posted @   泰小海  阅读(1936)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 全程不用写代码,我用AI程序员写了一个飞机大战
· MongoDB 8.0这个新功能碉堡了,比商业数据库还牛
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 白话解读 Dapr 1.15:你的「微服务管家」又秀新绝活了
点击右上角即可分享
微信分享提示