Halt batch file until service stop is complete? July 30, 2023 by Tarik You can use NET stop, which is synchronous, i.e it will wait until the service stops. See – NET stop