Thursday, September 13, 2012

How to solve openscmanager failed error 5


Some times when you working with command prompt, script running, or program installing with winnows environment  it may fire fallowing one of error.


  1. openscmanager failed <error 5>
  2. OpenSCManager failed - Access is denied. (0x5)
  3. [SC] OpenSCManager FAILED 5:
  4. "OpenSCManager()" failed with error code "5"


  1. Program (script. command prompt, software)  right click and run as administrator.
  2. If not success, Log-off and login as the administrator and try again