msports.dll Error in Windows 10 and 11: Windows COM port setup errors

A USB serial device appears without a usable COM port or its setup log names msports.dll.
What this DLL does
This Windows filename is associated with installation support for some serial and parallel port configurations.
Start with this check
Check Device Manager for the exact adapter and COM port assignment. Record whether a supported driver was installed for the current Windows architecture.
Record the exact error, when it occurred, and the full module path if available. For a crash, open View reliability history from Start and look for the matching entry. The affected app, faulting module and exception code help distinguish an app problem from a system-wide one.
Choose the repair that fits
Use the adapter manufacturer’s approved serial driver. If an app expects another port, change only its supported device selection before altering system assignments.
Start with Microsoft’s app repair options if only one supported application fails. If unrelated built-in Windows features also fail and you suspect system file corruption, use Microsoft’s DISM and System File Checker instructions. Use supported packages and avoid downloading individual DLL files.
Verify the repair
Open the correct supported COM port from an authorized tool and verify a simple read or device response.
For a related check, see cfgmgr32.dll troubleshooting. Browse the DLL Errors & Fixes Library. Official reference: Microsoft’s Windows communications resources.