I have found another glitch and have fixed it there was an undocumented GUID for network cards so I added that.

I have also found a way using WMI Query Language (WQL) to speed up the process of finding the proper device. it has given the process a HUGE speed boost. Instead of me calling WMI for all devices of a specific type and then checking each device for a matching Vendor ID I noticed that the Vendor ID was also apart of the PNPDeviceID and I learned how to use the WQL to have the SQL backend of WMI check to see if the Vendor ID is apart of the PNPDeviceID and to return devices that are. Since WMI has to iterate through all the devices any ways to select the ones i want may as well have it check for the proper ID while it's doing it. instead of having to roll through all the devices and then roll through the ones it returns looking for the device i want.

I am still testing it to make sure its good...

I am also thinking about splitting it off from the System plugin. I want to do this because I just added 2 more actions. enabling and disabling network cards. I want to expand this to blueteeth devices. and unmounting of drives. because of how many things the system plugin already does. this is going to make it overly complicated and would also cause me to have a lot of repeat code. So by moving it into it's own plugin I feel would be the right way to go.

ok i did not change the version number on this. but it will print out some information when that error is going to happen again. I am going to need that information that gets printed into the log. and the error will not show up or well it shouldn't it should produce an event now. and if you can copy that event that would be great

hmmm... no it should not do that. but how this system works is it will only create one event for each notification that windows sends out that a device is connected. and it shouldn't be showing up as a usb device because i highly doubt your TV is plugged in via USB. the thing is that with windows 10 they rearranged a lot of things dealing with the device notifications and I am still hammering out the variations. as it appears with windows 10 the use of the device name is not used for some strange reason so i wouldn't doubt that they are populating the fields differently.

so this is what i want you to do.

I am going to need you to make a macro with the event System.Device.Attached.* and in there make a python script action and add the code below