Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Startup order of Services 1

Status
Not open for further replies.

YvonneC

Technical User
Mar 28, 2001
12
IE
Is there anyway to set the startup order of services for Windows 2K?

We have 4 services in particular for a certain application that need to be started in a particular order if ever the server is rebooted.

Thanks in advance for your help.

Cheers.
 
Yes, it's possible. It can be done by defining the dependencies for each service. So, firstly the dependant service starts, then the main one. So, you have to define , that 1 service depends on 2, 2 depends on 3 and so on. By this strategy you can achieve your goal.
Here is the instructions of how to modify dependency:

Run Registry Editor (Regedt32.exe).
From the HKEY_LOCAL_MACHINE hive, go to the following key:

\SYSTEM\CurrentControlSet\Services\<service name>
From the Edit menu, select Add Value.
Add the following:

Value Name: DependOnService
Data Type: REG_MULTI_SZ
Data: <svc_name>


NOTE: <svc_name> Indicates the NT service that is needed to have already been started for this service to start.
Click OK and quit Registry Editor.
Shut down and restart Windows.

That's all.
Good luck!

Give me a Star, if advice is useful!




Victor K
MCSE+I;MCSE(w2k);CNE(5.1);CNE(6);CIWSP;CIWSA;Net+;CCNA;CCSE+
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top