|
发表于 2019-12-6 19:32:29
|
显示全部楼层
查是否有多余许可证
以系统管理员身分运行CMD
(ospp.vbs /dsatus 显示所安装产品密钥的授权信息)
if exist "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles%\Microsoft Office\Office16"
if exist "%ProgramFiles(x86)%\Microsoft Office\Office16\ospp.vbs" cd /d "%ProgramFiles(x86)%\Microsoft Office\Office16"
cscript //nologo ospp.vbs /dstatus>info.txt
start info.txt
pause > nul
echo
象这样
---Processing--------------------------
---------------------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: 52c4d79f-6e1a-45b7-b479-36b666e0a2f8
LICENSE NAME: Office 19, Office19ProPlus2019R_Grace edition
LICENSE DESCRIPTION: Office 19, RETAIL(Grace) channel
Last 5 characters of installed product key: 8MBCX
ERROR CODE: 0xC004F017
ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed.
---------------------------------------
---------------------------------------
---Exiting-----------------------------
要清除多余许可证
ospp.vbs /unpkey:8MBCX 以产品密钥的最后五位数卸载已安装的产品密钥 |
|