SystemRage / py-kms

KMS Server Emulator written in Python
The Unlicense
2.07k stars 634 forks source link

Error in windows service #47

Closed katarman closed 4 years ago

katarman commented 4 years ago

Hello my issue is with the py-kms service , specifically the error is "1053" I have already tried all recommended actions (manual install with cmd and nssm) and all necessary pip libs All error is about the service cant respond in time. This is my errror message : --> C:>python kms-winservice.py start Starting service py-kms Error starting service: The service did not respond to the start or control request in a timely fashion.

-->C:\nssm-2.24\win32>nssm start py-kms py-kms: START: The service did not respond to the start or control request in a timely fashion The same message I receive when I try to start the service from servises tab.

Thank you in advance

DiRoiD commented 4 years ago

Hello, You need to do something as explained on the pywin32 side. Copy C:\Program Files\Python36\Lib\site-packages\pywin32_system32\pywintypes36.dll to C:\Program Files\Python36\Lib\site-packages\win32\pywintypes36.dll. Replace "36" with your python version in the file name.

simonmicro commented 4 years ago

@katarman Is this still relevant? Please close this issue if it is solved.

SystemRage commented 4 years ago

Duplicate of #58 and #71