none
Clean up Registry Entries RRS feed

  • Question

  • Hi,

    I'm developing a NDIS driver for a usb wifi adapter and cannot seem to bind to IP protocol stack. After a long while of poking around, I found out that the registry HKML/SYSTEM/CurrentControlSet/Control/Class/{net-class-guid} has some garbage entries presumably from previous installations and incomplete removals. Those garbage entries have only partial information and lack the ndi/interfaces entry for NDIS to bind, but they have enough info for the system to associate with the network adapter (USB VID/PID?).

    I tried deleting them, but everytime I reboot, those entries come back.

    Is there a way to cleanly remove them or do I have to reset the PC?

    Thanks,

    Max

    Thursday, June 16, 2016 5:57 AM

All replies

  • Great, reset failed. Where's my god now?
    Thursday, June 16, 2016 6:01 AM
  • On the deleting them, did you check the other ControlSetXXX keys to see if they had the correct data, or the garbage entries? 


    Don Burn Windows Driver Consulting Website: http://www.windrvr.com

    Thursday, June 16, 2016 5:33 PM
  • Thanks for the reply!

    I checked ControlSet001 and it has the same entries. Is this where CurrentControlSet copies the information? I tried deleting those entries (00xx under {net-class-guid}) in ControlSet001 as well - but they also come back after a reboot.

    The broken entry contains the following keys:

    {net-class-guid}/0005/ComponentId

    {net-class-guid}/0005/DeviceInstanceId

    {net-class-guid}/0005/InstallTimeStamp

    {net-class-guid}/0005/NetworkInterfaceInstallResult

    {net-class-guid}/0005/Linkage/Export

    {net-class-guid}/0005/Linkage/FilterList

    {net-class-guid}/0005/Linkage/RootDevice

    {net-class-guid}/0005/Linkage/UpperBind

    Thursday, June 16, 2016 9:14 PM
  • Reset the OS.  If it fails, file a bug, and get a clean virtual machine ;)

    Good luck,

    -- pa

    Thursday, June 16, 2016 9:43 PM