>Can you please tell me how to kill both the httpd.exe process by passing only >the parent pid on Windows.
Are you running apache as service or in the console? Console is the easiest => Ctrl + C service => net stop apache2.2 or taskkill -f -/IM httpd.exe Mario