How to Force Stop a Windows Service

You may come across a Windows Service that you can’t stop because the options to do so are unavailable the start, stop, pause, and resume buttons might all be grayed out.

Solution is to forcefully stop the specific PID (process identifier) for the service which will in turn stop the service and in this article we will explain how to do this.

Note that you must use the actual name of a service in the command and NOT the display name.

1. First open the command prompt as administrator and identify the service PID  by running the following command:

sc queryex TrustedInstaller

2. Next use the following command to force the PID to stop:

taskkill /F /PID 3652

The service should now be stopped.