Solved

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

Posted on 2010-11-13
5
4,598 Views
Last Modified: 2012-08-13
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
Comment
Question by:Dada44
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 9

Assisted Solution

by:Lance_P
Lance_P earned 250 total points
ID: 34130457
Right click and run Apache as 'administrator'
0
 
LVL 62

Accepted Solution

by:
gheist earned 250 total points
ID: 34130714
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
 

Author Comment

by:Dada44
ID: 34132428
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
 

Author Closing Comment

by:Dada44
ID: 34132807
I made it disabling the UAC , thanks a lot
0
 
LVL 62

Expert Comment

by:gheist
ID: 34134179
I described a way while still using uac with elevated command prompt.
disabling UAC is not necessary.
0

Featured Post

Get Actionable Data from Your Monitoring Solution

Your communication platform is only as good as the relevance of the information you send. Ensure your alerts get to the right people every time with actionable responses. Create escalation rules that ensure everyone follows the process and nothing is left to chance.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my time as an SEO for the last 2 years and in the questions I have assisted with on here I have always seen the need to redirect from non-www urls to their www versions. For instance redirecting http://domain.com (http://domain.com) to http…
There are many reasons a PC runs slower than when it was new, ranging from malicious software intended to mess things up to simple general Windows use.  Your PC performance may slowly degrade over time without you noticing but when you buy a PC from…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question