![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyJ5whjILm2IHQPYUcHYPMKOa5NSFovZzxoBdxaEdq9FYIDa0T1xUhRp4-c_NuOYoYD5LgIKT2j9bK9UZ2uMzR4onUzv6Fjbvq8J0EcYfBHsNaiiUsL8OUFwsH4J5pMYCJAGRoFpj5J3Vh/s1600/4.jpg)
Situation
Some times when you working with command prompt, script running, or program installing with winnows environment it may fire fallowing one of error.Error
- openscmanager failed <error 5>
- OpenSCManager failed - Access is denied. (0x5)
- [SC] OpenSCManager FAILED 5:
- "OpenSCManager()" failed with error code "5"
Solution
- Program (script. command prompt, software) right click and run as administrator.
- If not success, Log-off and login as the administrator and try again