Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: stop_pending service
I have a service that is stuck in the Stop_Pending state. It refuses to stop when sent a single or multiple requests to do so using wntSvcControl control code of 1. Also IntControl 56 does not work with P1 = app name and P2 = 1. We really do need a method of stopping this particular service or the application it is run from.
Windows can stop the application because when a shutdown is requested we receive the wait or end process message boxes and if end is clicked the offending application is stopped, is there anyway to stop a service in this Stop_Pending state???
1 and 4 are bit flags that equal 5..... Stop Pending means the service has informed the service control manager that it will be stopping. I don't think sending more Stop commands would do any good at that point. As you describe it, Windows isn't stopping the service with a Stop command, it's killing it at shutdown.
If the service doesn't eventually go from Stop Pending to Stop on its own, it sounds like there is something wrong with the service.
Article ID: W14946
File Created: 2001:11:08:12:41:06
Last Updated: 2001:11:08:12:41:06