diff --git a/tests/process/process.bat b/tests/process/process.bat index 3882df9..081af6b 100644 --- a/tests/process/process.bat +++ b/tests/process/process.bat @@ -1,3 +1,4 @@ +REM Test system processes that should always be running win-witr winlogon.exe win-witr lsass.exe win-witr win-witr.exe @@ -9,11 +10,42 @@ win-witr fontdrvhost.exe win-witr svchost.exe win-witr smss.exe win-witr services.exe -win-witr MsMpEng.exe win-witr powershell.exe win-witr Runner.Listener.exe win-witr cmd.exe win-witr pwsh.exe win-witr Runner.Worker.exe win-witr hosted-compute-agent +win-witr conhost.exe +win-witr dwm.exe +win-witr RuntimeBroker.exe +win-witr SearchIndexer.exe +win-witr spoolsv.exe +win-witr taskhostw.exe +win-witr dllhost.exe + +REM Start notepad and test it, then close +start /B notepad.exe +timeout /t 1 /nobreak >nul +win-witr notepad.exe +taskkill /F /IM notepad.exe >nul 2>&1 + +REM Start calc and test it, then close +start /B calc.exe +timeout /t 1 /nobreak >nul +win-witr calc.exe +taskkill /F /IM calc.exe >nul 2>&1 + +REM Start mspaint and test it, then close +start /B mspaint.exe +timeout /t 1 /nobreak >nul +win-witr mspaint.exe +taskkill /F /IM mspaint.exe >nul 2>&1 + +REM Start PowerShell and test it, then close +start /B powershell.exe -NoProfile -Command "Start-Sleep -Seconds 5" +timeout /t 1 /nobreak >nul +win-witr powershell.exe +taskkill /F /IM powershell.exe >nul 2>&1 +