Solved

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

Posted on 2010-11-13
5
4,526 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

The Service applet starts in Extended Mode by Default, with a taskpad on the left of the services pane. This view mode was introduced in XP. As I find it not very usefull, I like to use the Standard view as default, and without the Console tree. …
Introduction As you’re probably aware the HTTP protocol offers basic / weak authentication, which in combination with the relevant configuration on your web server, provides the ability to password protect all or part of your host.  If you were not…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

738 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