Skip to content

Commit

Permalink
fix(KILLKPH): don't wait to stop service
Browse files Browse the repository at this point in the history
  • Loading branch information
he3als committed Sep 15, 2023
1 parent d74df3a commit 287cb4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/playbook/Executables/KILLKPH.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Get-Process -Name "ProcessHacker" -EA SilentlyContinue | Stop-Process -Force -EA SilentlyContinue
Stop-Service -Name "kprocesshacker2" -Force -EA SilentlyContinue
Stop-Service -Name "kprocesshacker2" -Force -EA SilentlyContinue -NoWait
Start-Sleep 10
sc.exe delete "kprocesshacker2" *>$null

$settingsXml = @"
Expand Down

0 comments on commit 287cb4f

Please sign in to comment.