Apache 2.4 is unkillable and can't be stopped on Windows Server

Solution 1:

OK, so I think I was on the right track.

After searching on the Web about the recently installed updates, the KB4338818 is the one causing problems.

This is happening for other softwares, like FileZilla Server, as detailed here.

I've just uninstalled this Security Update and now Apache can be started/stopped as normal!

So I hope Microsoft will fix this in a later update!

Solution 2:

Microsoft is releasing KB4345459 to fix the issues in Windows 7 and Windows 2008 Server.

https://support.microsoft.com/en-us/help/4345459/stop-error-0xd1-after-a-race-condition-occurs-in-windows-7-service-pac