Thursday, September 13, 2012

How to solve openscmanager failed error 5


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

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

Solution

  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

13 comments:

  1. Thank's very much.. it's works...

    ReplyDelete
  2. run as administrator worked... thanks

    ReplyDelete
  3. Thanks Mate!!!! It has worked..Thanks a lot :)

    ReplyDelete
  4. Thanks! Your suggestion of running as administrator worked

    ReplyDelete
  5. thanks it worked like a charm

    ReplyDelete
  6. Thank you so much - it saved me a lot of heartache.

    ReplyDelete
  7. Not Able to Troubleshoot MongoDB Installation Issue? Contact to DB Installation & Configuration Support
    Sometime when users install MongoDB they found installation issue when they run the command in CMD “Connection failed”. Actually this error occurs only when you cannot find the directory like “C:\data\db” and also check which version of Windows you are using. By this way you can easily solve your problem but if not then contact to Cognegic’s DB Installation Support or DB Configuration Support for quick and reliable solution.
    For More Info: https://cognegicsystems.com/
    Contact Number: 1-800-450-8670
    Email Address- info@cognegicsystems.com
    Company’s Address- 507 Copper Square Drive Bethel Connecticut (USA) 06801

    ReplyDelete