Killing a stop pending task
I’ve had this problem before. One stops a task and it hangs in “stopping” state. This is a very effective force/fix.
You can retrieve the PID for the process of the service through the command
sc queryex <servicename>
it returns some information like this
NOME_SERVIZIO: <servicename>
TIPO : 10 WIN32_OWN_PROCESS
STATO : 3 STOP_PENDING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
CODICE_USCITA_WIN32 : 0 (0x0)
CODICE_USCITA_SERVIZIO : 0 (0x0)
PUNTO_ARRESTO : 0x0
INDICAZIONE_ATTESA : 0x0
PID : 1824
FLAG :
Then you can stop the service by the command
taskkill /F /PID 1824 (the specific PID)
Posted on 10:09 AM by Nathan aka Mysteryn11 and filed under
Windows Client
| 0 Comments »
You can retrieve the PID for the process of the service through the command
sc queryex <servicename>
it returns some information like this
NOME_SERVIZIO: <servicename>
TIPO : 10 WIN32_OWN_PROCESS
STATO : 3 STOP_PENDING
(STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN)
CODICE_USCITA_WIN32 : 0 (0x0)
CODICE_USCITA_SERVIZIO : 0 (0x0)
PUNTO_ARRESTO : 0x0
INDICAZIONE_ATTESA : 0x0
PID : 1824
FLAG :
Then you can stop the service by the command
taskkill /F /PID 1824 (the specific PID)
0 comments:
Post a Comment