User Tools

Site Tools


microsoft:misc:koll_proc

Kill process / Stop hung service

  • Start CMD with administrative rights
  • Find service you want to kill (in this case “spooler”)
C:\Windows\system32>sc queryex | findstr /I spoo
SERVICE_NAME: Spooler
DISPLAY_NAME: Print Spooler
  • Now we know the right name of service (SERVICE_NAME: Spooler) and we can find its PID
C:\Windows\system32>sc queryex Spooler |findstr PID
        PID                : 3480
  • With known PID we can now kill the process
taskkill /f /pid 3480
SUCCESS: The process with PID 3480 has been terminated
microsoft/misc/koll_proc.txt · Last modified: 2019/10/10 09:12 by rplecko