A decades old bug in Windows has been that at bootup, windows tends to mis-identify serial ports that have data flowing at that time as a serial mouse or joystick. There are registry changes to preclude that. I recall doing it years ago with XP. Not sure about Win 7.
Microsoft published fixes/workarounds to be user applied but for some reason never actually fixed it in the OS.