Starting a service with a delay

  • Thread starter Thread starter Amila Chandrasekera
  • Start date Start date
A

Amila Chandrasekera

I need to start one of the services in our Windows 2000 Server 15 minutes
after rebooting it. THis needs to happen every time we reboot the server.
How can I do it ?

Amila
 
You could try something like this:

- define your service as mnually startable
- with SRVANY utility, define new automatic startable service which runs
visual basic script using cscript.exe as batch mode
- write your visual basic script to have 15 minutes delay and then siisue
"net start <your service>" command to start that original service.

Don't ask what that visual basic script would look. I know very litte of
visual basic. You coul also use normal batch file, if you can handle somehow
that delay.
 
Back
Top