通过KMS(密钥管理服务器)激活Office的前提是:你的Office软件必须是VOL版本,即批量授权版,否则无法激活。
以下命令需要以管理员权限运行:
第1步:切换到Office安装目录
cd /D "D:Program FilesMicrosoft OfficeOffice15"
第2步:设置KMS服务器
cscript ospp.vbs /sethst:kms.03k.org
第3步:激活Office
cscript ospp.vbs /act
如果提示看到“successful”字样,那么就激活成功了。