PDA

View Full Version : how to start a DCOM service that is registered under a user account?



Sascha
12-19-2001, 11:14 AM
Hi,

When I use the LaunchAppAndait command to start a service (net start servicename) this always works, if the service is registered with ObjectName LocalSystem. This ObjectName contains the currently specified user that is allowed to start and stop that service-see registry. If there is another user registered, the setup will not succeed to start or stop that service! On the command line it works!

Is there something I forgot?

Sascha

Sascha
12-19-2001, 11:28 AM
Sorry, I found the problem. Net stop is still possible (does not depend on the user) but my code never reached this function due to a preceeding bug. Here my next question:

Is there a possiblility to check if a special service is running or a way to print out a list of all running processes/services?

Sascha