1. 准备工作
-
确定自己的是 VOL 版 Windows 或者 Office
-
找到对应版本(专业版、教育版等)的 VOL 密钥
可参考 Windows 和 Office KMS 密钥
2. 激活 Windows
-
管理员权限运行 CMD 或 PowerShell
-
安装产品密钥( xxxxx 表示对应自己版本的密钥)
1
slmgr /ipk xxxxx
-
设置 KMS 服务器
1
slmgr /skms example.com:1688
-
激活 Windows
1
slmgr /ato
-
查看激活信息
1
slmgr /dlv
更多命令及命令帮助直接输入 slmgr
。
3. 激活 MS Office
-
管理员权限运行 CMD 或 PowerShell
-
进入 Office 安装的根路径
(以 64 位 Office 2016 默认安装路径为例:C:\Program Files\Microsoft Office\Office16)1
cd C:\Program Files\Microsoft Office\Office16
-
安装产品密钥( xxxxx 表示对应自己版本的密钥)
1
cscript ospp.vbs /inpkey:xxxxx
-
设置 KMS 服务器
1
cscript ospp.vbs /sethst:example.com:1688
-
激活 Office
1
cscript ospp.vbs /act