Access is denied : AH00369: Failed to open the Windows service manager

Access is denied : AH00369: Failed to open the Windows service manager cover image
  1. Home
  2. Apache
  3. Access is denied : AH00369: Failed to open the Windows service manager

When I try to run httpd.exe -k install for Apache on Windows 10, I get an error – “(OS 5)Access is denied. : AH000369: Failed to open the Windows service manager, perhaps you forgot to log in as Administrator?” But I am logged in as the admin since I have only one user account on my Windows 10 computer. What am I doing wrong?
Varun Pande

This is not a big issue at all. All you need to do launch Command Prompt as the administrator. Here is what you would be getting.

Error when installing Apache on Windows 10 - Access is denied. : AH000369

Sponsored Links

Follow the instructions below.

  1. Click the Windows icon (bottom-left), search for ‘command prompt’ and get it listed.
    httpd.exe -k install command for Apache
  2. Right-click and select “Run as administrator”. If a User Account Control displays a pop-up, simply click on the “Yes” button.
    httpd.exe -k install command for Apache
  3. Now issue the command httpd.exe -k install by moving to the “bin” folder in the Apache install folder (it is c:/Apache24/bin by default).
    httpd.exe -k install command for Apache
Apache Web Development