Need to restart failed service

Need to restart failed service

We have a problem where sysmain fails to start after some of our Win2019 servers reboot.

It can happen on pretty much any of them. Scheduled reboots happen in the middle of the night, by the time I come in the service is happy to start so it's probably waiting for a dependency to start and eventually gives up.

I thought about creating a config to start the service on startup, but Windows already tries to do that and fails.

What I really need is something that waits 10 minutes then starts.

Any nice ways of doing it other than a batch file where the first line is "wait 600"?

Thanks,

                  New to ADSelfService Plus?