How do you make your stop/start service scripts gracefully handling the services that get stuck in STOP_PENDING or START_PENDING...
Related with SC STOP and START. Stop and Start a service via batch or cmd file?
I have one aproach in mind, but I don't like it.