How to Kill a Windows Service which is stuck at stopping

This is one issue, where I was unable to start the vCenter service , and was stuck at stopping. The following steps are for the vCenter Server installed on the Windows OS.

Step 1. Find the vCenter Server Service Name

Take a RDP to the vCenter Server, go in to services and double click on the service which is stuck saying Stopping.  Make a note of the “Service Name”.

Step 2. Make a Note of the PID for the vCenter Server service

sc queryex vpxd

TYPE               : 10  WIN32_OWN_PROCESS
STATE              : 3  STOP_PENDING
WIN32_EXIT_CODE    : 0  (0x0)
CHECKPOINT         : 0x0
WAIT_HINT          : 0x493e0
PID                : 2380
FLAGS              :

Step 3. kill the service using the following command

taskkill /f /pid 2380

Step 4. Once the process is kill, Start the services

Leave a Reply