Click to See Complete Forum and Search --> : Script to ensure service is started after reboot of system


ninad12
May 7th, 2008, 09:54 AM
I need a script which will ensure that a particular service starts after the system reboot (also, if dependencies are mentioned it should check for those services started as well). If the service is in stop state by any chance the script will ensure that it is started up.
Also if the service is started it should not take any action.
I tried one, but the location of the script was not perfect, as each time a user logged to the system the script would run.
Any solution to this ?

PeejAvery
May 7th, 2008, 11:47 AM
VBScript is your only scripting option when working with processes. However, you are going to have to execute the script at every boot up AFTER all the processes have already started. You can't regulate that with just scripting.

http://www.activexperts.com/activmonitor/windowsmanagement/adminscripts/processes/