Windows Services...
Hi all, I have a window 2003 SP2 system connected with two more systems. Now some of the services that I need are Automatic as Start Up Type. And when I switch on my comp they get automatically started. But what if I want the services to follow some particular sequence to be started? Suppose there are five services A,B,C,D, E on machine 1. And two on machine B, say F,G. Now I want the services to start in the following manner-- Service A (on machine 1) Service B (on machine 1) ServiceF (on machine 2) ServiceG (on machine 2) ServiceC (on machine 1) ServiceD (on machine 1) ServiceE (on machine 1)Is there any way to set the sequence of starting the services for Windows? I could very well make them Manual, but then I need to manually start the services which does not come under my requirement. I need them to follow that sequence when I start my computer.A help would be appreciated.Thanks.
May 29th, 2009 10:30am

hi there, Are your services run along with any driver , be it custom driver or any microsoft driver ?,and when do you want your serivce to be loaded ?, before boot , after boot or do you want to hook your service to svchost.exe ?AFAIK there are load order groups which you can create and load your specific drivers Is there a particular service yourservicedepend on? Or want to start before to use the service's resources?To be more precise.service control manager api and its service load orderand load dependencies etc should allow you to load your service withmore control than that provided fordrivers.And you cannot load at all of the services until user mode is ready enough to launch services,but you can get your service started pretty much as early on afterthat as you want. sainath windows driver development.
Free Windows Admin Tool Kit Click here and download it now
May 29th, 2009 10:50am

Hi, Please understand that most services have their dependent services. For example, quite a lot of services depend on the Remote Procedure Call (RPC) service. Therefore, the Remote Procedure Call (RPC) should be loaded before other services which depend on it. You may refer to the following article to manually add services dependencies to set their startup order. How to delay loading of specific services http://support.microsoft.com/kb/193888/en-us However, serious problems might occur if you modify the registry incorrectly.For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. Hope it helps. Tim Quan - MSFT
May 29th, 2009 2:06pm

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

Other recent topics Other recent topics