There can still be problems with the cable between a wired USB mouse and the port it is connected to. I have a Logitech multi-button mouse that works fine when the cable is a certain position, unfortunately that position appears to shift. Never found a replacement cable here in PY. People have given me older, cheaper brand mouses and the Logitech mouse cable contains more inner wires than the cheapo's do.
What also can be a problem is the USB port that is being used by the mouse. Even if there is nothing wrong with the mouse, its cable or the physical USB port it is connected to, then still there can be problem with Windows not being able to properly communicate with the USB device. While the device would work fine on the USB port right next to it.
Extremely irritating, I can tell you that much. I have a headless server here that has no problem with any USB device I connect to it, except the keyboard. that one will only work in one of the 8 USB ports on the back which are difficult to reach. The device is detected, Windows reports that the appropriate software is successfully installed...and that is it. Do not expect to be able to type anything. I exchanged keyboards (different models, different brands), but to no avail. So I hooked up an old PS2 clunker and all is dandy.
One would assume that the USB standard is around long enough for Windows to not behave so "stubborn" as it sometimes does. Ah well....