I am trying to start httpd.exe on windows 8 as a service. This is the instruction that is giving me problems:
Start apache in a DOS box: >httpd.exe Install as a service: >httpd.exe -k install
The first command works fine, but the second fails as follows:
C:\Apache24\bin>httpd.exe -k install Installing the Apache2.4 service (OS 5)Access is denied. : AH00369: Failed to open the WinNT service manager, perhaps you forgot to log in as Adminstrator?
The account I am using is a local account with administrator privileges. When using this account I am able to install software, administer other users accounts, etc. I do not see an "Adminstrator" or "Administrator" account on the "Control Panel\All Control Panel Items\User Accounts\Manage Accounts" screen. I have tried the following, as suggested in another post:
runas /noprofile /user:Administrator cmd
That results in a prompt for a password, which I do not seem to know. The PC came with Windows 8 preinstalled and if I was ever asked for an Administrator password I can not recall my response.
So my question is, how can I install a running application as a service on Windows 8 without knowing the password to the "Administrator" account? Or, how can I discover or reset the password to the "Administrator" account?