1
I have been trying to find a way to make a script to uninstall specific COM-ports from Windows 7 that are no longer used.
Background:
I'm using NI Teststand to test a productio test of an USB-serial device. This test will change the FTDI config, so each device tested will use two COM-ports. It doens't take long time until there are hundreds of COM-ports present in the system.
What I have tried:
I found this suggestion, but it doesn't seem to work. I can see all the devices when i use:
devcon findall =ports
But from what I have gathered it is only possible to remove active devices using:
devcon remove
Question:
How can I remove a large number of COM-ports from CMD?
Thanks in advance
/Jaxc
Ah thanks, I thought it was there I was since thats where I clicked "sign up" :) – Jaxc – 2016-08-05T14:44:44.883