Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KMS 激活 #73

Open
aiastia opened this issue Sep 29, 2022 · 3 comments
Open

KMS 激活 #73

aiastia opened this issue Sep 29, 2022 · 3 comments

Comments

@aiastia
Copy link
Owner

aiastia commented Sep 29, 2022

管理员身份运行 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
Copy link
Owner Author

aiastia commented Sep 29, 2022

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
Copy link
Owner Author

aiastia commented Mar 22, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant