Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Dependant service registry setting not working.

Dependant service registry setting not working.

Forum Windows 2000/NT : Windows 2000/NT General Discussion - Dependant service registry setting not working.

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.win2000.setup (More info?)

 

I have 2 services, both Portmappers.

One of the portmappers must start before the other otherwise it gets stuck
at "Starting". So I set the DependOnService of the other one to depend on
this one.

However on server reboot the dependant service starts up right away, and the
other one still gets stuck at "Starting".

Any suggestions on how I can get my dependant service to wait till the other
service is "Started" before trying to start up ?

Thanks
Mark

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.win2000.setup (More info?)

 

Think I got to the bottom of this.

I made the DependOnService registry entry with regedit, and that didnt allow
the variable type "REG_MULTI_SZ" so I just used "REG_SZ". This seemed to work
fine as the dependancy showed up fine in the services properties.

However, on boot up the dependancy gets ignored.

I then ran regedt32.exe instead, and this allows you to create
"REG_MULTI_SZ" variables.

After server reboot the dependancies seem to work fine.

Thanks to anyone who took a look at this post.

Mark

Reply to Anonymous
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Dependant service registry setting not working.
Go to:

There are 878 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them