From what is seems, the ports are stuck or frozen. This happens even with the USB ports because of unknown causes or drivers. My advice is to access the Device Manager again and simply remove the COM devices from the list. Don't remove the driver, only the device. Close Device Manager and reboot the computer. After it boots, the driver should be installed again and the COM ports will be available in the application as well.