Halt batch file until service stop is complete?

You can use NET stop, which is synchronous, i.e it will wait until the service stops.

See
NET stop

Leave a Comment