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