Custom service always restarts
We have written a .net service used for our application. In Server2008, even if I stop the service (signed in as an administrator), it will always restart on it's own after a period of 1-4 minutes. I can't figure out why the service just restarts on it's own. I've even stopped, then disabled the service (using mmc), but after a couple minutes it will still restart and change itself back to automatically start. Just for testing, in the default domain controller policy, it is set to start automatically, but I wouldn't think this would have anything to do with it, but not sure. Does anybody have any ideas?
July 30th, 2010 6:48pm

The SYSTEM account is the responsable for starting your disabled services. If you set start automatically as an option, this will take affect after a restart so that the service will be enabled after the reboot. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Best regards.
Free Windows Admin Tool Kit Click here and download it now
July 30th, 2010 7:35pm

Check if there is no virus on you computer which is using the SYSTEM account administrative permissions to start these services. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. Best regards.
July 30th, 2010 7:36pm

If this is a DC and the defualt domain policy sets the service to start automatically, then it is likely that this is overriding your manual actions. To be sure, you may want to run a Resultant Set of Policy to see if the service is set to automatic for the policies being applied. -- Mike Burr
Free Windows Admin Tool Kit Click here and download it now
July 30th, 2010 8:16pm

Hi, I don’t think the issue is related to the group policy. As it’s your own developed .net service, so the issue is more related to coding development. As we mainly focus on the General question about Windows Server system and here is not the best support resource for coding development, it is recommend you to get further support in the corresponding community so that you can get the most qualified pool of respondents. Thanks for your understanding. For your convenience, I have list the related link as followed. MSDN Forums http://social.msdn.microsoft.com/Forums/en/categories Best Regards, Vincent Hu
August 3rd, 2010 11:59am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics