In Windows 10, is there a way to modify the name of a MIDI port or device?

Whenever a USB MIDI device is connected to a Windows 10 PC, it is assigned a name. However, if the device is plugged into a different USB port, it will receive a new name.

A script being used by colleagues in another part of the world is dependent on finding a MIDI device with a specific name, and the script will not function properly if the device is attached to a different USB port. It is not feasible to modify either the script or the users’ behavior, so a method for renaming the MIDI port is desired.

Previously, in Windows 7, users uninstalled and reinstalled the driver to accomplish this, but this does not work in Windows 10, as the operating system remembers the device name.

Therefore, the question is: where are the MIDI port names for USB devices stored in Windows 10?

Askify Moderator Edited question May 3, 2023