I used this tutorial to run py-kms on windows and everything works fine but I want py-kms server to create logs about computers which connected to it and activated. So, How can I do that?
**** I can not activate windows where py-kms is installed. Why?
if name == 'main':
win32serviceutil.HandleCommandLine(AppServerSvc)
C:\Windows\Python27\python.exe kms-winservice.py install
services.msc
Find "py-kms" service and change startup type from manual to auto.
Try to start the py-kms service.
Try activate Windows Server 2008 R2 VL:
slmgr.vbs /skms 127.0.0.1
slmgr.vbs /ato
Hello,
I used this tutorial to run py-kms on windows and everything works fine but I want py-kms server to create logs about computers which connected to it and activated. So, How can I do that?
**** I can not activate windows where py-kms is installed. Why?
Download and install: https://www.python.org/ftp/python/2.7.14/python-2.7.14.amd64.msi (into C:\Windows\Python27) https://github.com/mhammond/pywin32/releases/download/b222/pywin32-222.win-amd64-py2.7.exe
Download and extract py-kms-master.zip into C:\Windows\Python27\py-kms cd C:\Windows\Python27\py-kms\
Create file kms-winservice.py and put into file this code:
import win32serviceutil import win32service import win32event import servicemanager import socket import subprocess
class AppServerSvc (win32serviceutil.ServiceFramework): _svcname = "py-kms" _svc_displayname = "py-kms" _proc = None _cmd = ["C:\Windows\Python27\python.exe", "C:\Windows\Python27\py-kms\server.py"]
if name == 'main': win32serviceutil.HandleCommandLine(AppServerSvc) C:\Windows\Python27\python.exe kms-winservice.py install services.msc
Find "py-kms" service and change startup type from manual to auto. Try to start the py-kms service. Try activate Windows Server 2008 R2 VL: slmgr.vbs /skms 127.0.0.1 slmgr.vbs /ato