pythoncode-tutorials icon indicating copy to clipboard operation
pythoncode-tutorials copied to clipboard

pywintypes.error: (1058, 'StartService', 'The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.')

Open AresDragoi opened this issue 4 years ago • 5 comments

looks like services.py needs some tweaking as it produces continuous errors. I was not able to locate the cause of this one. p.s.: running on windows

AresDragoi avatar Sep 18 '20 21:09 AresDragoi

Hey, Did you try to run the script as an administrator?

x4nth055 avatar Sep 27 '20 11:09 x4nth055

Yes

AresDragoi avatar Sep 28 '20 07:09 AresDragoi

image While running in an admin command prompt. Windows 10, Python 3

Column01 avatar Nov 08 '20 02:11 Column01

Same issue here. Any ideas?

QuoteDev avatar Mar 14 '21 07:03 QuoteDev

Going to "Services" in Windows and enabling the "Routing and Remote Access" service worked for me. It is disabled by default.

zaz3 avatar Nov 15 '21 06:11 zaz3