none
How to prevent Windows to increment RNDIS device number RRS feed

  • Question

  • Hello,

    In manufacturing environment, we are connecting devices to Windows 7 enumerating a RNDIS device.
    Each time a new device is connected, Windows re-install the drivers and it creates a new entry in Windows registries.

    So it creates :
    Network Adapters
    ---- USB RNDIS Device #1
    then
    ---- USB RNDIS Device #2
    then
    ---- USB RNDIS Device #3

    ...and so on.

    The problem is after several hundreds of devices connected (only 1 device is connected at a time), Windows networking breaks. Windows is no longer able to connect to file shares.
    Then we're obliged to re-install Windows from scratch.

    Any idea on how we can solve this issue ? Do I need to do some updates on inf files or Windows settings ?

    Thanks,
    Benoit


    • Edited by Bouben Wednesday, August 14, 2013 1:10 PM
    Wednesday, August 14, 2013 1:10 PM

Answers

  • before connecting the device again, uninstall the driver for the existing instance and it will release its state (the number)

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Wednesday, August 14, 2013 6:17 PM

All replies

  • before connecting the device again, uninstall the driver for the existing instance and it will release its state (the number)

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Wednesday, August 14, 2013 6:17 PM
  • @Pavel

    We tested this solution using 'usbflag' and 'IgnoreHWSerNum<VID><PID>' but Windows still continue to increment the device name.

    @Doron

    Can it be easily done in command line ? We're on production line.

    Thanks
    Benoit

    Friday, August 16, 2013 6:54 AM
  • devcon remove can uninstall the device from the cmd line

    d -- This posting is provided "AS IS" with no warranties, and confers no rights.

    Monday, August 19, 2013 1:36 PM
  • Do you see multiple new instance entries created under Enum?

    What do you mean ? Which Enum ?

    Thanks
    Benoit

    Tuesday, August 20, 2013 4:30 PM