1. Disclaimer
This article is only for learning and communication, only represents personal remarks, and has nothing to do with any organization, and is not responsible for any abuse.
2. Introduction
Many people use KMS software to activate Windows or Office, I am no exception, have been using HEU KMS Activator.
However, the software found on the Internet is not very reassuring, and is usually regarded as a virus by antivirus software (especially Windows Defender).
And KMS activation is generally only 180 days. To keep it activated, you need to set up timed tasks and execute the KMS program at regular intervals, which gives viruses and malicious programs an opportunity.
In this way, KMS activation directly through CMD or PowerShell is obviously a safer way, although the configuration may be more troublesome.
This article will introduce the deployment of vlmcsd as a resident service in the server, so that the computer can be activated by connecting to the KMS service of the server.
The vlmscd program I'm currently using comes from
https://github.com/kkkgo/vlmcsd
Executable file download address:
https://github.com/kkkgo/vlmcsd/releases
3, build
Downloader:
Comment first then view it after your comment is approved. Join QQ Group to display all hidden texts.
Note: The KMS program needs to occupy the 1688 port, and it needs to allow TCP 1688 access in the firewall. If the port is occupied and cannot be started, you can execute the
1 | lsof - i:1688 |
See what program is using the port.
Take Linux CentOS 7 as an example, decompress the program to
/usr/local/vlmcsd/
create a new file
/usr/lib/systemd/system/kms.service
fill in
Comment first then view it after your comment is approved. Join QQ Group to display all hidden texts.
save, execute
1 | systemctl daemon-reload |
4. Management
Service management
1 | systemctl start vlmcsd # start vlmcsd systemctl stop vlmcsd # stop vlmcsd systemctl status vlmcsd # View running status |
Startup management
1 | systemctl enable vlmcsd # Set boot auto-start systemctl disable vlmcsd # Cancel the boot auto-start |
uninstall
1 | systemctl stop vlmcsd # stop vlmscd systemctl disable vlmcsd # Cancel the boot auto-start rm - f /lib/systemd/system/vlmcsd.service # delete system service unit systemctl daemon-reload # Reload system service unit rm - rf /usr/local/vlmcsd # delete the folder |
5, activate
5.1, activate Windows
Comment first then view it after your comment is approved. Join QQ Group to display all hidden texts.
5.2, activate Office
Comment first then view it after your comment is approved. Join QQ Group to display all hidden texts.
6. Summary
If you need genuine Office, you can refer to the article:
Get genuine Microsoft Office 365 for free
https://blog.tsinbei.com/archives/258/
Build KMS Server to Activate Your Windows and Office License
Comments