Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

py-kms on W2012R2 as service start and then stop #71

Closed
ssv1907 opened this issue Jun 16, 2020 · 3 comments
Closed

py-kms on W2012R2 as service start and then stop #71

ssv1907 opened this issue Jun 16, 2020 · 3 comments

Comments

@ssv1907
Copy link

ssv1907 commented Jun 16, 2020

Hello
Installed py-kmc as written on the wiki (#2). Copied pywintypes38.dll to the Win32 folder #47. python-3.8.3-amd64 and pywin32-228.win-amd64-py3.8 also installed. Service py-kms installed successeful but it run and stop (((. What am I doing wrong? No errors in Windows Event and Path to Executable in service py-kmc is "C:\Python38\lib\site-packages\win32\PythonService.exe"

@simonmicro
Copy link
Contributor

  • Can you post any log files?
  • Can you execute it manually (and therefore check for any errors)?
  • Are you sure Python is available inside the service environment (idk how that part of Windows really works)?
  • Did you restart the server since you installed Python and everything else?
  • Just to be sure: You did not just download any file named like pywintypes38.dll from the internet and used it - instead you really used the .dll from your server?

@SystemRage
Copy link
Owner

Your service stops maybe because: #58 (comment)
try to auto-patch as described and give feedback if works (if it's the real problem i can later try to correct)

@ssv1907
Copy link
Author

ssv1907 commented Jul 3, 2020

Your service stops maybe because: #58 (comment)
try to auto-patch as described and give feedback if works (if it's the real problem i can later try to correct)

Bingo!!! It's work for me! Thanks

@ssv1907 ssv1907 closed this as completed Jul 6, 2020
edgd1er pushed a commit to edgd1er/py-kms that referenced this issue Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants