I used following command to stop the HTTP service
net stop http /y
And I got following error message:
The service is starting or stopping. Please try again later.
Now the HTTP service is in a in-between state. Its neither stopped nor starting. What should i do?
I read some similar issues but they are not helping.
You should be able to kill it via the Task Manager.
Right-click on taskbar -> Start Task Manager Go to Process tab If you can find the service under the Processes tab:
Right click and select "End Process" If you don't see it under Processes (or don't know which is the process for the service you want to kill),
While on the Processes tab
Check "Show processes from all users" in the lower left Then "View" menu and choose "Select Columns" Check "PID" and hit OK Go to the services tab to find the PID of the service you want to kill Go back to Processes tab and Right-click -> End Processstrong text
Copied the answer from the https://superuser.com/questions/489949/force-windows-7-service-to-stop
and it worked for me.