Once again, I am working on a Project where I needed to update COM Ports on Legacy Devices.  After searching google for about an hour with no solution in sight, I decided to try AutoIT as it has rescued me before.

This script will launch Device Manager, search for the Device that you want to modify go through all the actions to make the change then apply it.

I used control handles so even if the dialog isn’t forefront it will still work.