title: Stopping Bitnami WAMP Apache and MySQL server through PowerShell in Windows?
body: <p>I've trying to write a script to stop Apache and MySQL services in Bitnami WAMP. If we do manually, we have to open C:\WAMP\manager-windows.exe and stop the services like this:
  <a href="https://i.stack.imgur.com/1yTu1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1yTu1.png" alt="enter image description here" /></a></p>
  <p>However, when I go into command prompt and run the command &quot;httpd -k start&quot;, the apache server starts running and I can access my web app but if I open manager-windows.exe again it doesn't reflect the change. I've been also trying to stop the Apache service using command prompt commands &quot;httpd -k stop&quot; but that is somehow conflicting with Apache web server when it is started through the manager-windows.exe.</p>