Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error when installing Apache 2.4 on windows - not logged in as administrator

I am trying to setup Apache 2.4 on my windows vista following this guide. But I am getting an eror when I run the comman httpd -k install

// Error (OS 5)Access is denied. : AH00369: Failed to open the WinNT service manager, pe rhaps you forgot to log in as Administrator?

I don't login as administrator set when I swith on my computer. And when I check Control Panel, Administrative Tools, then Services Apache is not on the list.

Can anybody help with this?

like image 946
Danny Connolly Avatar asked Dec 08 '12 15:12

Danny Connolly


1 Answers

Find cmd.exe and right click to select run as administrator enter image description here

enter image description here

like image 105
Rakesh Soni Avatar answered Oct 11 '22 01:10

Rakesh Soni