Unraid安装KMS Docker激活Windows+Office

如果你家里有多台电脑,还有各种虚拟机,那你一定会经常需要激活Windows和Office。现在WIN10或者WIN11的KMS软件都会被提示病毒,让人很不放心。以前用过Koolshare里的KMS激活插件,觉得非常好用。于是尝试在Unraid中安装KMS Docker,过程也非常简单。

第一步:安装KMS Docker

应用中心搜索KMS,安装VLMCSD-KMS-Server,其中只有一个端口参数为1688。

 

第二步:Windows中操作

(1)激活Windows

打开Windows的PowerShell或者CMD,逐行运行以下命令:

slmgr.vbs -upk
slmgr /ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
slmgr.vbs -skms Unraid的IP地址:1688
slmgr.vbs -ato
slmgr.vbs -dlv

(2)激活Office x86

cd \Program Files (x86)\Microsoft Office\Office16
cscript ospp.vbs /sethst:Unraid的IP地址
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /inpkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
cscript ospp.vbs /act
cscript ospp.vbs /dstatusall

(3)激活Office x86_64

cd \Program Files\Microsoft Office\Office16
cscript ospp.vbs /sethst:Unraid的IP地址
cscript ospp.vbs /setprt:1688
cscript ospp.vbs /inpkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
cscript ospp.vbs /act
cscript ospp.vbs /dstatusall

(以上参考官方说明:https://github.com/mikolatero/docker-vlmcsd

CDKEY:

Windows: Key Management Services (KMS) client activation and product keys for Windows Server and Windows | Microsoft Learn
Office 2013: GVLKs for KMS and Active Directory-based activation of Office, Project, and Visio - Deploy Office | Microsoft Learn
Office 2016 & 2019 & 2021: GVLKs for KMS and Active Directory-based activation of Office, Project, and Visio - Deploy Office | Microsoft Learn

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值