kms-server-for-windows-office

本文最后更新于:2024年8月9日 晚上

Sometimes when office 2021 setup complete , it’s need to be activated while you don’t have valid key. Here is a way when you have a kms server.


Activate windows Products

My kms server kms.msft.vip

1
2
3
4
# kms.v0v.bid
slmgr /skms kms.v0v.bid && slmgr /ato
# kms.msft.vip : My kms server
slmgr /skms kms.msft.vip && slmgr /ato

Windows OS download:

Windows Activation

Open source projects on Github

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# download tool to web root
[root@home /opt/nginx/html/kms]# wget https://github.com/ikxin/kms-tools/releases/download/v1.2.0/kms-tools-v1.2.0.zip
[root@home /opt/nginx/html/kms]# unzip kms-tools-v1.2.0.zip
[root@home /opt/nginx/html/kms]# ll
total 828
drwxr-xr-x 2 root root 267 Nov 9 21:02 assets
-rw-r--r-- 1 root root 5339 Jul 20 2022 favicon.ico
-rw-r--r-- 1 root root 730 Nov 9 21:02 index.html
drwxr-xr-x 2 root root 23 Jul 20 2022 js
-rw-r--r-- 1 root root 834361 Jul 20 2022 kms-tools-v1.2.0.zip
[root@home /opt/nginx/html/kms]# vim /etc/nginx/conf.d/kms.conf
# kms server
server {
listen 80;
server_name kms.srv;
location / {
root /opt/nginx/html/kms;
index index.html;
}
}
[root@home /opt/nginx/html/kms]# system restart nginx

image-20231109211300011

1
2
3
4
cd C:\Program Files\Microsoft Office\Office16
cscript ospp.vbs /inpkey:FXYTK-NJJ8C-GB6DW-3DYQT-6F7TH
cscript ospp.vbs /sethst:wrt.lan
cscript ospp.vbs /act

kms-server-for-windows-office
https://git.msft.vip/2023/11/09-kms-server-for-windows-office/
作者
Jas0n0ss
发布于
2023年11月9日
更新于
2024年8月9日
许可协议