如何清除office多余激活信息

avatar 三月 4, 201909:37:03 评论 386 views

使用Office有时候会碰到说你的凭据过期,需要重新登录的情况。这是因为你的激活信息是针对不同的版本,存在多个激活信息。

也可能为未正确卸载Office 2016导致注册表有残留,各种清理工具无法彻底清除。

按以下步骤清除:(环境:Windows 10 家庭版 x64 & Office 2016 Pro Plus x64 )

        1、以Administrator(管理员或同等权限的用户)身份启动命令提示符(cmd)

2、输入

    cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus

如果是32位的软件输入这个:

   cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /dstatus

面板会显示如下(隐藏部分用问号代替)【命令提示符中可以进行复制粘贴操作】

Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。

---Processing--------------------------
---------------------------------------
PRODUCT ID: ?????-?????-?????-?????
SKU ID: ???
LICENSE NAME: Office 16, Office16ProPlusR_Grace edition(具体版本)
LICENSE DESCRIPTION: Office 16, RETAIL(Grace) channel            (Retail为零售版,VL为批量授权)
BETA EXPIRATION: 1601/1/1
LICENSE STATUS:  ---NOTIFICATIONS---
ERROR CODE: 0xC004F009
ERROR DESCRIPTION: The Software Licensing Service reported that the grace period expired.
Last 5 characters of installed product key: BTDRB          (激活码后五位) (多余的)
---------------------------------------
PRODUCT ID: ???

SKU ID: ???
LICENSE NAME: Office 16, Office16ProPlusVL_MAK edition
LICENSE DESCRIPTION: Office 16, RETAIL(MAK) channel
BETA EXPIRATION: 1601/1/1
LICENSE STATUS:  ---LICENSED---
Last 5 characters of installed product key: ?????          (已经激活的版本)
---------------------------------------
PRODUCT ID:???
SKU ID: ???
LICENSE NAME: Office 16, Office16ProPlusR_Retail edition
LICENSE DESCRIPTION: Office 16, RETAIL channel
BETA EXPIRATION: 1601/1/1
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: 20 days  (28940 minute(s) before expiring)
Last 5 characters of installed product key: 722QV      (激活码后五位) (多余的)
---------------------------------------
---------------------------------------
---Exiting-----------------------------

3、输入

cd /d C:\Program Files\Microsoft Office\Office16\

或者(32位)  cd /d C:\Program Files (x86)\Microsoft Office\Office16\

4、输入含你要清除的激活信息的后五位(别选错)   将下方五个问号替换成激活码后五位

 

cscript ospp.vbs /unpkey:?????

{示例:cscript ospp.vbs /unpkey:722QV}

5、成功清除显示如下

C:\Program Files\Microsoft Office\Office16>cscript ospp.vbs /unpkey:722QV
Microsoft (R) Windows Script Host Version 5.812
版权所有(C) Microsoft Corporation。保留所有权利。

---Processing--------------------------
---------------------------------------
Uninstalling product key for: Office 16, Office16ProPlusR_Retail edition
<Product key uninstall successful>
---------------------------------------
---Exiting-----------------------------

6、重新启动,Enjoy Yourselves!

from:微软社区

weinxin
我的微信公众号
分享科研软件、科研方法,为你的科研助力。
avatar

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: