User Tools

Site Tools


microsoft:misc:koll_proc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
microsoft:misc:koll_proc [2019/10/10 08:33] – created rpleckomicrosoft:misc:koll_proc [2019/10/10 09:12] (current) rplecko
Line 1: Line 1:
 === Kill process / Stop hung service === === Kill process / Stop hung service ===
  
-  - Ordered List ItemStart CMD with administrative rights+  * Start CMD with administrative rights 
 +  * Find  service you want to kill (in this case "spooler"
 + 
 +<code> 
 +C:\Windows\system32>sc queryex | findstr /I spoo 
 +SERVICE_NAME: Spooler 
 +DISPLAY_NAME: Print Spooler 
 +</code> 
 +  * Now we know the right name of service (SERVICE_NAME: Spooler) and we can find its PID 
 + 
 +<code> 
 +C:\Windows\system32>sc queryex Spooler |findstr PID 
 +        PID                : 3480 
 +</code> 
 +  * With known PID we can now kill the process 
 +<code> 
 +taskkill /f /pid 3480 
 +SUCCESS: The process with PID 3480 has been terminated 
 +</code> 
microsoft/misc/koll_proc.1570696388.txt.gz · Last modified: 2019/10/10 08:33 by rplecko