In a class programming Arduinos from Windows 7 boxes, we have noticed that it is advantageous to plug in the same board, because each new board is recognized as a new COM port. If this happens too much, it seems like a maximum is reached and no more COM ports can be allocated.
It also appears to be advantageous to plug in the board to the same USB socket every time because different sockets appear to be allocated different COM port numbers.
There are a number of related questions here:
How does Windows persist the knowledge of the location of which USB devices are in which ports? The behavior clearly changes if I plug in the same board after a reboot, or a different board.
Is there any way to look through and/or edit the list of COM ports?
Every now and then, despite our best efforts (at random), the machines seem to lock up and refuse to recognize an Arduino. Then we pop up the Device Manager, look for the device. Sometimes another reboot is necessary. Sometimes merely unplugging and replugging the Arduino works.
Is there any way to manually "lock" a COM port to a specific board, for example, reserve COM9 for a particular Arduino.
We are particularly interested in preventing these problems, because this is a high school environment with multiple users with new users. A way to streamline the process and reduce the incidence of problems would improve our ability to focus on the subject matter.