Solved

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

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

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. …
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
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…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

832 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