Linux deploy KMS activation of Windows 10 and Office 2016

Disclaimer: Please support genuine conditions, this is a personal learning use.

vlmcsd : KMS service Github open source tool that provides activation windows and office services

download link

https://github.com/Wind4/vlmcsd/releases/download/svn1112/binaries.tar.gz

# cd /opt
# wget https://github.com/Wind4/vlmcsd/releases/download/svn1112/binaries.tar.gz
# gzip -d binaries.tar.gz 
# tar xvf binaries.tar

After decompression, get the following directory:

 Based on the type of operating system, find the corresponding program file vlmcsd-x64-musl-static, copied to the / opt / kms

# mkdir -p /opt/kms
# cp /opt/binaries/Linux/intel/static/vlmcsd-x64-musl-static /opt/kms/

Execute / opt / kms / vlmcsd-x64-static start the service, not an error, and has started tcp 1688 port that is OK

[root@localhost ~]# netstat -tlnp | grep 1688
tcp        0      0 0.0.0.0:1688            0.0.0.0:*               LISTEN      10034/./vlmcsd-x64- 
tcp6       0      0 :::1688                 :::*                    LISTEN      10034/./vlmcsd-x64- 

If the firewall is activated, add a rule tcp 1688 port is open, and reload the firewall policy

[root@localhost ~]# firewall-cmd --zone='public' --add-port=1688/tcp --permanent
success
[root@localhost ~]# firewall-cmd --reload
success

 Windows 10 is activated

Before activating Windows needs to determine windows using a Retail or volume license version (that is, VOL version), if the retail version, the serial number of the system needs to be changed to VOL version of the serial number.

General Enterprise is VL, Professional retail and VL version.

Win 10 Home Edition operating system kms want to activate, you need to use the home-liter version of the professional version of the upgrade key, the system will upgrade to Professional Edition , and then replace the KMS activation key.

Win 10 Home version available version upgrade Key:

-NPHTM-VK7JG C97JM-9MPGT-3V66T
4N7JM-CV98F-WY9XX-9D8CF-369TT 
FMPND-XFTD4-67FJC-HDR8C-3YH26

Pro KMS activation key inquiry address:

https://docs.microsoft.com/en-us/windows-server/get-started/kmsclientkeys

Windows 10 Pro :  W269N-WFGWX-YVC9B-4J6C9-T83GX
Windows 10 Enterprise :  NPPR9-FWDCX-D2C8J-H872K-2YT43

You can use winver or wmic os get captionto view the system version.

slmgr / ipk XXXXX-XXXXX-xxxxx- XXXXX # Configure KMS Client Key 

slmgr / SKMS KMS- Server IP # Configure KMS server address 

slmgr / ATO # activation system 

slmgr / DLV # View detailed license 
 slmgr / xpr # View system to activate time

Office 2016 activation

Into the office installation directory:

cd C:\Program Files\Microsoft Office\Office16\

ospp.vbs cscript / inpkey: XQNVK-8JYDB-WJ9W3-YJ8YR- WFG99   # Configure KMS client key
ospp.vbs cscript / sethst: KMS-KMS server configuration Server IP Address #
ospp.vbs cscript / ACT                       # activate office
ospp.vbs cscript / dstatus # View activation details

Microsoft Office 2016 VL Volume Licensing version of KMS activation key Volume:

Office Professional Plus 2016:  XQNVK-8JYDB-WJ9W3-YJ8YR-WFG99
Office Standard 2016:  JNRGM-WHDWX-FJJG3-K47QV-DRTFM
Project Professional 2016:  YG9NW-3K39V-2T3HJ-93F3Q-G83KT
Project Standard 2016:  GNFHQ-F6YQM-KQDGJ-327XX-KQBVC
Visio Professional 2016:  PD3PC-RHNGV-FXJ29-8JK7D-RJRJK
Visio Standard 2016:  7WHWN-4T7MP-G96JF-G33KR-W8GF4
Office 2013 Professional Plus:   YC7DK-G2NP3-2QQC3-J6H88-GVGXT
Visio 2013 Professional :  C2FG9-N6J68-H8BTJ-BW3QX-RM3B3

Guess you like

Origin www.cnblogs.com/xjcn/p/12163224.html