07-29-2025 01:13 AM
I would like to do, Re-scan method in Teststand
Tasks:
1. want to see all connected comports
2. Then I will selelct which component I need to disable/eject. 
3. Then again, I will install that disabled comport. 
4. Again, I want to see all connected Comport
Please guide me through it, if you have a solution
07-29-2025 01:39 AM
This is no particular TesStand issue….
from what you describe, you might want to check MS Pnputils from TestStand
07-29-2025 01:45 AM
Thank you for the reply,
Could you please let me know how I can do that? Any link/ reference or short description? 
I have never worked with Ms Pnputils
07-30-2025 01:40 AM
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA0VU00000006zt0AA&l=de-DE
gives a brief introduction. Though this article refers to USB devices, most of it is applicable for COM interfaces as well.
I recommend exploring this to learn from it.
08-04-2025 07:18 AM
As stated previously, this is not exactly TestStand's purpose.
If I understand correctly, you have an issue with your drivers getting corrupted throughout the sequence you're running? If so, it would be more beneficial to look for the root-cause of your drivers getting corrupted.