Download the Tom's Hardware App from the App Store
The reference for current tech news
Yes No
Tom's Hardware > Forum > Windows XP > Configuration & Customization > Script to restart windows service and not its dependency services

Script to restart windows service and not its dependency services

Forum Windows XP : Configuration & Customization Script to restart windows service and not its dependency services

Word :    Username :           
 

Hello,

I have a service which has about 21 dependent services i.e all those services depend on the single service. If we restart the service, then all the services should automatically get restarted but this is not happening as expected, is there any known reason for that?

I want to write a .bat script which restarts the dependent service but not the other. so that for restarting the single service to restart all the services i can restart each and all the services individually. But still should not remove the dependencies.

Reply to sravan313
Register or log in to remove.
Tom's Hardware > Forum > Windows XP > Configuration & Customization > Script to restart windows service and not its dependency services
Go to:

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

  • Ask the community now
  • Publish
Ad
Latest best answer
Name change?
By randoMIZER, 9 days ago:

I presume that special characters aren't allowed by the site, so I don't think that could...

They won a badge
Join us in greeting them