Ahsay OBM – Clean restart client

What the script does is:

Restart the ahsay OBM services
Kill OBMs processes
Delete running/start/stop files

ahsaycleanup.bat:


rem ----------------
rem Stop Services
rem ----------------
net stop obautoupdate
net stop obscheduler
net stop obcdpservice
pause
rem ----------------
rem kill tasks if hung
rem ----------------
taskkill /F /IM Aua.exe
taskkill /F /IM AuaJW.exe
taskkill /F /IM bJW.exe
taskkill /F /IM Scheduler.exe
taskkill /F /IM bschJW.exe
taskkill /f /im cdpservice64.exe
taskkill /F /IM systemtray64.exe
pause
rem ----------------
rem delete rogue files from hung processes
rem ----------------
cd "%ProgramFiles%\Ahsay OBM\ipc"
del /s /q running
del /s /q stop
del /s /q start
cd \
cd "%userprofile%\.obm
del /s /q running
del /s /q stop
del /s /q start
pause
rem ----------------
rem start services
rem ----------------
net start obautoupdate
net start obscheduler
net start obcdpservice
pause