@set serviceName=CADOSYS-ServiceGuard
@sc stop %serviceName%
@sc delete %serviceName%

@set serviceName=CADOSYS-Input
@sc stop %serviceName%
@sc delete %serviceName%

@set serviceName=CADOSYS-OCR1
@sc stop %serviceName%
@sc delete %serviceName%

@set serviceName=CADOSYS-Erkennung1
@sc stop %serviceName%
@sc delete %serviceName%

@set serviceName=CADOSYS-Export
@sc stop %serviceName%
@sc delete %serviceName%

@set serviceName=CADOSYS-Statistic1
@sc stop %serviceName%
@sc delete %serviceName%

@set serviceName=CADOSYS-Statistic2
@sc stop %serviceName%
@sc delete %serviceName%

@set serviceName=CADOSYS-Observation
@sc stop %serviceName%
@sc delete %serviceName%

@set serviceName=CADOSYS-Supervisor
@sc stop %serviceName%
@sc delete %serviceName%

@echo Fenster wird in 5 Sekunden geschlossen.

@ping localhost -n 5 >NUL
@exit

