L26※vps搭建kms服务器,激活Windows和Office

1> 安装docker

docker安装步骤

2> 拉取镜像

docker pull condor369/kms:latest
docker run -d -p 1688:1688  --name=kms  --restart=always condor369/kms:latest

3> vps开放1688端口

开放端口

4> 确定是否为批量授权版本

以管理员身份打开命令行窗口

slmgr /dlv   # 查看是否是批量授权版本

5> 查询通用批量许可证密钥 (GVLK)

查询许可证秘钥
操作系统版本产品密钥
Windows Server 2022 StandardVDYBN-27WPP-V4HQT-9VMD4-VMK7H
Windows Server 2022 DatacenterWX4NM-KYWYW-QJJR4-XV3QB-6VM33
Windows Server 2019 StandardN69G4-B89J2-4G8F4-WWYCC-J464C
Windows Server 2019 DatacenterWMDGN-G9PQG-XVVXX-R3X43-63DFG
Windows Server 2016 StandardWC2BQ-8NRM3-FDDYY-2BFGV-KHKQY
Windows Server 2016 DatacenterCB7KF-BWN84-R7R2Y-793K2-8XDDG

操作系统版本 产品密钥
Windows 11 专业版
Windows 10 专业版
W269N-WFGWX-YVC9B-4J6C9-T83GX
Windows 11 专业工作站版
Windows 10 专业工作站版
NRG8B-VKK3Q-CXVCJ-9G2XF-6Q84J
Windows 11 专业教育版
Windows 10 专业教育版
6TP4R-GNPTD-KYYHQ-7B7DP-J447Y
Windows 11 教育版
Windows 10 教育版
NW6C2-QMPVW-D7KKK-3GKT6-VCFB2
Windows 11 企业版
Windows 10 企业版
NPPR9-FWDCX-D2C8J-H872K-2YT43
操作系统版本 产品密钥
Windows 11 企业版 LTSC 2024
Windows 10 企业版 LTSC 2021
Windows 10 企业版 LTSC 2019
M7XTQ-FN8P6-TTKYV-9D4CC-J462D

6> 激活windows

slmgr /ipk  <秘钥>
slmgr /skms  192.168.1.1:1688  # 192.168.1.1为vps公网ip
slmgr /ato

7> 激活office

cd C:\Program Files\Microsoft Office\Office16  # 进入office 安装目录
cscript ospp.vbs /sethst:192.168.1.1:1688  # 192.168.1.1为vps公网ip
cscript ospp.vbs /act

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享