aiastia / note

笔记
17 stars 5 forks source link

KMS 激活 #73

Open aiastia opened 1 year ago

aiastia commented 1 year ago

管理员身份运行 cmd 卸载之前的密钥: slmgr /upk or slmgr.vbs /upk

弹出窗口显示“成功地卸载了产品密钥”;【如果提示找不到密钥,不用管,直接跳到下一步】 安装产品密钥: slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX 弹出窗口显示“成功地安装了产品密钥” 设置密钥管理服务器: slmgr /skms kms.cangshui.net 弹出窗口提示:“密钥管理服务计算机名称成功地设置为kms.cangshui.net”,网络上非常多这种服务器 激活产品: slmgr /ato 弹出窗口提示:“成功地激活了产品” 查看激活过期时间: slmgr /xpr 查看激活信息: slmgr /dlv

aiastia commented 1 year ago

https://www.coolhub.top/archives/14/comment-page-8

https://learn.microsoft.com/zh-cn/windows-server/get-started/kms-client-activation-keys

https://learn.microsoft.com/zh-cn/DeployOffice/vlactivation/gvlks?redirectedfrom=MSDN

https://learn.microsoft.com/en-us/DeployOffice/vlactivation/gvlks

aiastia commented 1 year ago

Windows

# 管理员方式运行cmd,安装从上述链接中得到的key
slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
# 设置自建kms服务的地址或者域名,网络中搜到的也一样
slmgr /skms Your IP or Domain:1688
# 激活
slmgr /ato

Office or Visio or Project

# 管理员方式运行cmd,进入Office目录,找到OSPP.VBS文件
cd "C:\Program Files (x86)\Microsoft Office\Office16"
# 设置自建kms服务的地址或者域名,网络中搜到的也一样
cscript ospp.vbs /sethst:Your IP or Domain
# 安装从上述链接中得到的对应的Office或者Visio或者Project的key
cscript ospp.vbs /inpkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
cscript ospp.vbs /inpkey:XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99(Office2016)
cscript ospp.vbs /inpkey:PD3PC-RHNGV-FXJ29-8JK7D-RJRJK(Visio2016)
cscript ospp.vbs /inpkey:YG9NW-3K39V-2T3HJ-93F3Q-G83KT(Project2016)
# 若安装错误,卸载安装的key
cscript ospp.vbs /unpkey:xxxxx(key的后五位即可)
# 激活
cscript ospp.vbs /act
# 查看激活状态
cscript ospp.vbs /dstatus
aiastia commented 3 months ago

https://learn.microsoft.com/zh-cn/windows-server/get-started/kms-client-activation-keys

官方kms key