RNDIS inf file installation failed with code 0x2 with DPInst inVista x86

Discussion in 'Windows Vista Drivers' started by hq4000, Apr 24, 2008.

  1. hq4000

    hq4000 Guest

    Your timely help is greatly appreciated!

    I have a RNDIS device. The INF file is created based the template at:
    http://msdn2.microsoft.com/en-us/library/bb500930.aspx. The only
    substantial difference between my INF file and the template is that I
    provided the real USB\VID. The DPinst is of

    The driver installs properly in Windows XP X86 machine. But it fails
    at Vista x86 machine. The error log from vista is presented as

    Looking for Model Section [RndisDevices.NT.5.1]...
    INFO: Installing devices with Id "USB
    \VID_XXXX&PID_XXXX&REV_XXXX&MI_XX" using INF "C:\Windows
    INFO: ENTER UpdateDriverForPlugAndPlayDevices...
    ERROR: RETURN UpdateDriverForPlugAndPlayDevices. (Error code 0x2: The
    system cannot find the file specified.)
    <With Windows XP - the line above will be "SUCCESS:RETURN
    ERROR: Installation failed. (Error code 0x2: The system cannot find
    the file specified.)
    ERROR: PnP Install failed. (Error code 0x2: The system cannot find
    the file specified.)
    hq4000, Apr 24, 2008
    1. Advertisements

  2. hq4000

    hq4000 Guest

    I think I know what caused the fail above. According to
    setuapi.dev.log (see bottom of this response), the "rndismpx.sys" file
    failed to be located from "C:\Windows\System32\DriverStore
    \FileRepository\netrndis.inf_11c462cd". In fact, I searched my
    system, and I can't find neither the .sys file nor the
    netrndi.inf_11c462cd folder. Any one knows why they are not in the
    Vista x86 system?

    If this is true, then the following RNDIS INF file sections needs to
    be changed. How?

    Characteristics = 0x84 ; NCF_PHYSICAL + NCF_HAS_UI
    BusType = 15
    include = netrndis.inf
    needs = Usb_Rndis.ndi

    ; no copyfiles - the files are already in place

    include = netrndis.inf
    needs = Usb_Rndis.ndi.Services

    Below is the setupapi.dev.log, see !!! for error
    ndv: Committing file queue...
    flq: CommitQ DelNodes=0 RenNodes=0 BackNodes=0
    flq: {SPFILENOTIFY_STARTQUEUE - exit(0x00000001)}
    flq: {SPFILENOTIFY_STARTSUBQUEUE - exit(0x00000001)}
    flq: Description - [windows cd]
    flq: SourcePath - [C:\Windows
    flq: SourceFile - [rndismpx.sys]
    flq: Flags - 0x00000000
    flq: {SPFILENOTIFY_NEEDMEDIA - exit(0x00000000)}
    !!! flq: Error 2: The system cannot find the file
    flq: {SPFILENOTIFY_ENDQUEUE - exit(0x00000001)}
    ! bak: Install failed, attempting to restore original
    flq: {_COMMIT_FILE_QUEUE exit(0x00000002)}
    ndv: Device install status=0x00000002
    hq4000, Apr 24, 2008
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.