wrapper | OpenSCManager failed - Access is denied. (0x5)
Recently I was installing Hyperic 4.2 Agent (hyperic-hq-agent-4.2.0.7-1285-win32) in
Windows 7 Ultimate ,32 Bit Operating System.
When I tried to run the batch file from command prompt,
hq-agent.bat install
I got the following error
wrapper | OpenSCManager failed - Access is denied. (0x5)
Recently I was installing Hyperic 4.2 Agent (hyperic-hq-agent-4.2.0.7-1285-win32) in
Windows 7 Ultimate ,32 Bit Operating System.
When I tried to run the batch file from command prompt,
hq-agent.bat install
I got the following error
wrapper | OpenSCManager failed - Access is denied. (0x5)
When searched forums,I got the following link.
The problem is that those batch files requires Administrator access.
So create a batch file with following content
cmd
Now right click on the batch file and click 'Run As Administrator'
Now goto the directory and again run the batch file.Now the batch file was able to install a service.
Also see the title bar of the Command Prompt, which should contain Administrator:
Also see the title bar of the Command Prompt, which should contain Administrator:
To open a port in Windows 7, refer the following link,


No comments:
Post a Comment