Manually force terminate starting service C#
Here is the step to manually stop and terminate service that starting & running in background
- Go to Services.
- Right click on the service that we want to stop.
- Open command prompt as Administrator. write down the command as below:
sc queryex "Service name"
taskkill /pid PID /f
Ulasan