[python-win32] Services stopping on logout

Andrew Bennetts andrew@puzzling.org
Thu, 14 Mar 2002 12:23:55 +1100


On Wed, Mar 13, 2002 at 10:54:58AM -0800, Jeff Shannon wrote:
> 
> > Andrew Bennetts <andrew-pywin32@puzzling.org> wrote:
> >
> > I'm having a mysterious problem where Python services are stopping when the
> > user logs out.  I *think* this behaviour may have started around the time I
> > upgraded to Python 2.2 / win32all-136.  I'm on Windows 2000.
> 
> At a semi-random guess, did you install Python2.2 and the service itself as
> Administrator?  If they were installed as a regular user, then I'd expect them
> to only run while that user is logged in.

I did install the service as Administrator, but it appears I did not install
Python2.2 as Administrator.  I just tried completely uninstalling Python and
re-installing it as Administrator, and it works fine now.

Thank you!  That had me stumped, though it's obvious now that you've pointed
it out to me.

It strikes me as odd that installing Python as non-Administrator would
prevent a service using it from running as Administrator, but if that's the
way it has to work, then fair enough.

Thanks again.

-Andrew.