How to stop a service in 'Stopping' state

Find the PID of the affected service using the below query.
sc queryex SPTimerV3


Will receive the below output on execution:

SERVICE_NAME: SPTimerV3
TYPE : 10 WIN32_OWN_PROCESS
STATE : 3 STOP_PENDING
(STOPPABLE, PAUSABLE, ACCEPTS_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x1
WAIT_HINT : 0x4e20
PID : 1696
FLAGS :



Kill the PID of the service
taskkill /PID 1696 /F

Comments

Popular posts from this blog

VMware and Windows Interview Questions: Part 2

VMware and Windows Interview Questions: Part 3

VMware vMotion error at 14%