CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2008
    Location
    India
    Posts
    186

    Red face Registering coinstallers failed. Error 5: Access is denied.. Why..???

    Hi,

    I am getting the below log messages in setupapi.log file as my driver fails to load and is visible with yellow mark in Device Manager.(I am using an Admin account)

    Code:
    #-166 Device install function: DIF_REGISTER_COINSTALLERS.
    #E057 Registering coinstallers failed. Error 5: Access is denied.
    #E157 Default installer failed. Error 5: Access is denied.
    #I060 Set selected driver.
    #I125 Installing NULL driver for "USB\VID_04F1&PID_000A&MI_02\6&30047D5E&0&0002".
    #I121 Device install of "USB\VID_04F1&PID_000A&MI_02\6&30047D5E&0&0002" finished successfully.
    Please Help,

    Thanks,

  2. #2
    Join Date
    May 2009
    Posts
    16

    Re: Registering coinstallers failed. Error 5: Access is denied.. Why..???

    Are you using a Coinstaller? If so, can you tell if the inf settings are correct, and/or the DLL exists?

  3. #3
    Join Date
    Aug 2008
    Location
    India
    Posts
    186

    Re: Registering coinstallers failed. Error 5: Access is denied.. Why..???

    This problem is occuring only on some PCs... and works fine on most of the systems...!!! Why..???

  4. #4
    Join Date
    Aug 2008
    Location
    India
    Posts
    186

    Re: Registering coinstallers failed. Error 5: Access is denied.. Why..???

    Quote Originally Posted by TehPwner View Post
    Are you using a Coinstaller? If so, can you tell if the inf settings are correct, and/or the DLL exists?
    Actually m loading a bus driver... no coinstaller... but using an inf file... it works fine for most of the PCs...!!!

  5. #5

    Re: Registering coinstallers failed. Error 5: Access is denied.. Why..???

    Hello,

    If the driver installs okay on most machines and not on a few, it would seem to indicate that there is some sort of permissions related issue that is different on those few machines.

    A few questions are:

    Are the operating systems exactly the same?
    Is it being installed via shared resources?
    When the install works as expected, does the log still refer to the NULL driver?

    Peter

  6. #6
    Join Date
    Aug 2008
    Location
    India
    Posts
    186

    Unhappy Re: Registering coinstallers failed. Error 5: Access is denied.. Why..???

    Thanks for your reply PeterBritton,

    Quote Originally Posted by PeterBritton View Post
    A few questions are:
    Are the operating systems exactly the same?
    Yes
    Is it being installed via shared resources?
    No
    When the install works as expected, does the log still refer to the NULL driver?
    No, It says

    #-166 Device install function: DIF_REGISTER_COINSTALLERS.
    #I056 Coinstallers registered.
    #-166 Device install function: DIF_INSTALLINTERFACES.
    #-011 Installing section [USB_Device.NT.Interfaces] from "c:\windows\inf\oem26.inf".
    #I054 Interfaces installed.
    #-166 Device install function: DIF_INSTALLDEVICE.
    But on other PC(Problem)...

    #-166 Device install function: DIF_REGISTER_COINSTALLERS.
    # E057 Registering coinstallers failed. Error 5: Access Denied.
    # E157 Default installer failed. Error 5: Access Denied.
    # I060 Set selected driver.

    ****following logs are not there ****
    #-166 Device install function: DIF_INSTALLINTERFACES.
    #-011 Installing section [USB_Device.NT.Interfaces] from "c:\windows\inf\oem26.inf".
    #I054 Interfaces installed.
    #-166 Device install function: DIF_INSTALLDEVICE.
    ********


    #I125 Installing NULL driver for "USB\VID_04F1&PID_000A&MI_02\6&30047D5E&0&0002".
    #I121 Device install of "USB\VID_04F1&PID_000A&MI_02\6&30047D5E&0&0002" finished successfully.

  7. #7
    Join Date
    Aug 2008
    Location
    India
    Posts
    186

    Re: Registering coinstallers failed. Error 5: Access is denied.. Why..???

    After googling around i found the problem is related to the windows registy permissions...
    But still i am not able to figure out the solution for this issue...

    Please help,

    Thanks,

  8. #8

    Re: Registering coinstallers failed. Error 5: Access is denied.. Why..???

    Hello,

    A URL link to the webpage that gave details of the registry permissions, might be useful.

    Peter

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured