Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to build a KMS server that can activate Windows and Office

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article focuses on "how to build a KMS server that can activate Windows and Office". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to build a KMS server that can activate Windows and Office.

Windows and Office, which are commonly used in most families, are willing but powerless to buy genuine copies. However, it is not possible to use it, so you can set up a KMS server to activate it. (a little shameless)

KMS, or Key Management Service, makes it easy to create and control encryption keys for encrypting data.

Today, let's talk about how to use Python to build a usable KMS server in VPS on non-Microsoft systems. (Emulated KMS Servers on non-Windows platforms)

Compared with the native KMS activation mode, there is no need to worry about the KMS service process being mistakenly killed by antivirus software or blocked by Microsoft patches.

The main system environment of this paper is CentOS 6 x64, and the required programs are Python 2.6.6 and py-kms.

Of course, the system version is not limited to CentOS, but supports other distribution systems. The Python version is based on py-kms, py-kms depends on 2.6.x or 2.7.x, and requires the argparse library.

The installation process is actually very simple, just install argparse, the python dependency package for git and py-kms, and all you need is yum and OK. The specific steps are as follows:

Yum-y install git python-argparsecd / usr/local/git clone https://github.com/myanaloglife/py-kms.git

This installs py-kms under / usr/local/py-kms.

The method is also easy to use, and it can be executed directly.

Nohup / usr/bin/python / usr/local/py-kms/server.py > / dev/null &

In this way, it will be stationed backstage.

If you use a firewall, such as iptables, allow port 1688:

/ sbin/iptables-I INPUT-p tcp-- dport 1688-j ACCEPT

For most VL versions (Volume License) of Windows systems and Office software, you can use KMS activation. The steps are summarized as follows:

# for the VL version of the Windows system, open a command prompt as an administrator and enter the following command:

Cd "% SystemRoot%\ system32" cscript / nologo slmgr.vbs / skms your domain name or IP (e.g. cscript / nologo slmgr.vbs / skms kms.kn007.net) cscript / nologo slmgr.vbs / atocscript / nologo slmgr.vbs / xpr

# or direct pop-up window:

Slmgr / skms your domain name or IP (such as slmgr / skms kms.kn007.net) slmgr / atoslmgr / xpr

# for the VL version of the Office software, open a command prompt as an administrator and enter the software installation directory:

# take Office 2013 as an example, 32-bit version:

Cd "% ProgramFiles (x86)%\ Microsoft Office\ Office15"

# 64-bit version:

Cd "% ProgramFiles%\ Microsoft Office\ Office15"

# then execute the following command:

Cscript ospp.vbs / sethst: your domain name or IP (such as cscript ospp.vbs / sethst:kms.kn007.net) cscript ospp.vbs / actcscript ospp.vbs / dstatus here, I believe you have a better understanding of "how to build a KMS server that can activate Windows and Office", you might as well do it in practice! Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report