Code Monkey home page Code Monkey logo

kms's Introduction

KMS server on python

Tested on Ubuntu 18.04

Port 1688 need to work

sudo bash
apt update && apt upgrade -y && apt-get install python3-tk python3-pip -y && pip3 install tzlocal pysqlite3 && reboot
sudo bash
cd /usr/local/sbin/

git clone https://github.com/shimuldn/kms

mv kms/py-kms/ /usr/local/sbin/
rm -r kms
chmod 755 py-kms/pykms_Server.py
nano /lib/systemd/system/py-kms.service

---------------- Put everything bellow this line on py-kms.service ----------------------

[Unit]
Description=Microsoft KMS emulator
After=network.target auditd.service

[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/usr/local/sbin
ExecStart=/usr/bin/python3 /usr/local/sbin/py-kms/pykms_Server.py -F /var/log/pykms_logserver.log -V INFO -s
Restart=on-failure

[Install]
WantedBy=multi-user.target
Alias=py-kms.service

---------------- Put everything before this line on py-kms.service ----------------------

systemctl daemon-reload
systemctl enable py-kms.service
systemctl start py-kms.service
systemctl status py-kms.service

For windows activation

slmgr /ipk W269N-WFGWX-YVC9B-4J6C9-T83GX  # For windows 10 pro
slmgr /ipk FJ82H-XT6CR-J8D7P-XQJJ2-GPDD4  # For windows 7 pro
slmgr /ipk 73KQT-CD9G6-K7TQG-66MRP-CQ22C  # For ThinPC
slmgr.vbs /skms k.myddns.me #(Replace k.myddns.me with your server ip address of the server)
slmgr.vbs /ato

If you keed kms key check here

Check here for more.

Enjoy

kms's People

Contributors

shimuldn avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.