Last update at :2024-02-05,Edit by888u
KMS server introduction
KMS is a key management system and an application for online activation of VOL versions of WINDOWS and OFFICE. At present, many activation software on the Internet actually add an automatic execution shell to KMS. Today we will introduce how to build a KMS server.
Building requirements
One VPS and open port 1688 Xshell tool
Building Tutorial
The one-click script used in this tutorial comes from GitHub:
https://github.com/dakkidaze/one-key-kms
CentOS, Redhat, Fedora, etc. please choose CentOS script
wget https://raw.githubusercontent.com/dakkidaze/one-key-kms/master/one-key-kms-centos.sh chmod +x one-key-kms-centos.sh ./one-key-kms-centos.shDebian, Ubuntu, Mint, etc. please choose Debian script
wget https://raw.githubusercontent.com/dakkidaze/one-key-kms/master/one-key-kms-debian.sh chmod +x one-key-kms-debian.sh ./one-key-kms-debian.shStart KMS
wget https://raw.githubusercontent.com/dakkidaze/one-key-kms/master/kms.sh chmod +x kms.sh ./kms.sh startThe kms.sh here can also use the start/stop/restart/status function to manage the KMS server.
After the installation is complete, enter the following command to view the monitoring status of port number 1688
netstat -nxtlp | grep 1688Local activation tutorial
Note: KMS can only activate the VOL version of the system and Office. KEY list officially provided by Microsoft:
Office 2016: https://technet.microsoft.com/zh-cn/library/dn385360(v=office.16).aspx
Office 2013: https://technet.microsoft.com/ZH-CN/library/dn385360.aspx
Office 2010: https://technet.microsoft.com/ZH-CN/library/ee624355(v=office.14).aspx
Windows: https://docs.microsoft.com/zh-cn/windows-server/get-started/kmsclientkeys
View version command
wmic os get captionRun cmd with administrator privileges to install the key obtained from the above list. The command is as follows:
slmgr /ipk *****-*****-*****-*****-*****Run cmd with administrator privileges and set the KMS server address to your own IP or domain name, followed by the port number (:1688). The command is as follows:
slmgr /skms Your IP or Domain:1688 #IP or domain name add: 1688Reminder: This is what this script does. When your KMS service is started, this can be set to your own KMS server address.
Use administrator rights to run cmd to manually activate the system. The command is as follows:
slmgr /atoRegarding the activation of Office, it must be a VOL version, otherwise it cannot be activated.
Find your Office installation directory, the 32-bit default is generally C:\Program Files (x86)\Microsoft Office\Office16
The default for 64-bit is generally C:\Program Files\Microsoft Office\Office16
Office16 is Office 2016, Office15 is Office 2013, and Office14 is Office 2010.
Open the directory mentioned above, there should be an OSPP.VBS file.
Use administrator rights to run cmd to enter the Office directory. The command is as follows:
cd "C:\Program Files (x86)\Microsoft Office\Office16"Run cmd with administrator rights to register the KMS server address:
cscript ospp.vbs /sethst:Your IP or DomainUse administrator rights to run cmd to manually activate Office, the command is as follows:
cscriptospp.vbs/actNote: KMS activation is only valid for 180 days.
Every once in a while, the system will automatically request renewal from the KMS server. Please ensure that your own KMS service is running normally.
Recommended site searches: ip138 website query, cm domain name registration, my ip address, server purchase, Ministry of Industry and Information Technology registration website, station group server rental, dynamic ip server, how to check ip, host domain name, domain name registration price,
发表评论