REM @ECHO OFF REM This script will terminate Visor and restart the main SIS GUI, but keep all other processes running wmic process where "name='WatchDog.exe'" delete wmic process where "name='Kongsberg.Cogs.Visor.exe' AND CommandLine Like '%--PipeName=sis5%'" delete REM taskkill /f /im SISMainApp.exe wmic process where "name='SIS5MainApp.exe'" delete timeout 2 start SIS5MainApp.exe -norestart ::if "%result%"=="0" start Helm.exe