5 replies
by dao251
I believe you cannot control that for services, which startup in "Automatic" mode. I'm not sure though :-)
And I cannot imagine why you need that.
NT provides that dependent services start in proper order.
You could simulate that behaviourby playing with HKLM/SYSTEM/CurrentControlSet/Services//DependsOnService
registry keys.
Or, you could msrk the services you want to start in certain order to "Manual" and then start thenm by "net start" command from a batch file.
Cheers,
Dima
by dver.marc
In Windows NT 3.1 and greater you have the option of creating Service Groups that have a specified load order.
The defined registry key for this is HKLM\System\CurrentControlSet\Control\ServiceGroupOrder.
You can programmaticaly change these values with the ChangeServiceConfig() function (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/hh/winbase/services_5gh3.asp?frame=true) and can be queried with the QueryServiceConfig() function.
Check out http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dllproc/hh/winbase/services_5gh3.asp?frame=true for sample usage of ChangeServiceConfig() (not order, unfortunately).
by dver.marc
by dver.marc
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending