"Mike Singleton" <[EMAIL PROTECTED]> writes:

> I know that Perl can programmatically manipulate Win32 service
> (start,stop,resume,etc.) but is the a way to change the user/password
> the service(s) run under? Thanks.

In theory, you can do this through WMI:

  http://msdn.microsoft.com/library/en-us/wmisdk/wmi/win32_service.asp

I was trying to use this interface to create a service, but I never
quite got it to work.  (I keep getting error code 8, "Unknown
Failure".  Oh, how I love Microsoft.)  Also, I think the documentation
is wrong about LoadOrderGroupDependencies and ServiceDependencies
being strings; they seem to be arrays or something.

But maybe someone else will have better luck :-).

 - Pat
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to