Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5123
  • Last Modified:

Apache 2.2 on Vista: Failed to open the WinNT service manager

Hi all,

Trying to install Apache 2.2 on Windows Vista (Service Pack 1) I'm doing on the DOS-box:
\bin>httpd.exe -k install

I have:
Installing the Apache 2.2 service
<OS 5>Access denied: Failed to open the WinNT service manager

What is happening?
My account is the Administrator account and I've made sure that in the conf file the directoy path is in between " and with the / instead of the \

Any suggestions?

Thanks a lot
0
Dada44
Asked:
Dada44
  • 2
  • 2
2 Solutions
 
Lance_PCommented:
Right click and run Apache as 'administrator'
0
 
gheistCommented:
You need to run cmd.exe elevated - in menu search type "cmd" then right click to run as administrator (elevated)

rest should be obvious.
0
 
Dada44Author Commented:
Thanks guys, but I don't get it right or something else is wrong:

In the Apache2 folder I right click httpd.exe and I run it as administrator. The DOS-box shows all black and nothing happens, cannot type either.

As you can see I'm quite new to Apache, please explain further.

Thanks again

0
 
Dada44Author Commented:
I made it disabling the UAC , thanks a lot
0
 
gheistCommented:
I described a way while still using uac with elevated command prompt.
disabling UAC is not necessary.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now