Setting dependencies on NT services (Network & Queue)

ice_cube210

VIP Member
Hi All,

My Network and Queue services are currently set to startup manually. I want to set it to Automatic , but the queue service should'nt start before the network. I tried setting this in dependencies tab on the service properties , but it was disabled (read only). Can anyone tell me where I can set this...

Does this have to be set when installing the services itself .. or can I edit this property somewhere

Thanks in advance
 
I've attached a script you can use. Change the extension to .cmd and edit the script for your needs.

The executables need are in the WinNT resource kit (available free online from Microsoft).

Colin

P.S> Replace my time and date calls with the NOW.EXE executable......it's better.
 

Attachments

  • 82071-jdestart.txt
    1.6 KB · Views: 189
If I am not mistaken, services startup in alphabetical order. The Queue service will start after the Network service so long as you did not change their default names.
 
HowTo

Data Classification: Confidential



Title: Installing OneWorld Services with Dependencies on NT Enterprise
Server.

Abstract: Installing OneWorld services with dependencies so that they do
not stumble over each other when starting them up or bringing them down.

Product

OneWorld

Suite

Technical

Release

All Release Levels

Document ID

oti-99-0077

Date Created

07/30/1999

Date Reviewed

01/31/2001

Date Revised

01/31/2001



Installing OneWorld Services with Dependencies on NT Enterprise Server

To specify that the Jdesnet and Jdesque services have dependencies on
each other, as well as other services (e.g., Microsoft's SQL Server),
install the services with the -d (dependencies) parameter.

The format is as follows: jdesnet -I -aDomain\Username -pPassword
-dServiceName.

By installing the jdesnet service in the above format, it will
automatically setup jdesnet to start with "this account" using the
username and password you have specified. It will also be installed with
a dependency on the particular ServiceName. You may determine the exact
services names from the products documentation or from the Control
Panel/services screen. It is not case sensitive and spaces are
acceptable in the services names, but must be enclosed in quotation
marks.

It is highly recommended that OneWorld services be installed with
dependencies to eliminate the starting up or taking down the services in
the wrong order. For example, if one tries to start the jdesque service
first, the system will automatically start MSSQLserver and jdesnet
before it starts jdesque.
 
Thanks for all your replies guys. I will try all the options given. Think my best bet would be to uninstall the services and install them again with the instructions mentioned in the KG document. Will also try the script

Thanks again
 
Back
Top