I am sure that you have issues with your computer usb port or the joystick you have contains a faulty cable. Use other cable and see if the problem is in port or in the cable. I do not think this is a software issue as windows have builtin usb port driver. Still if the cable and the port are fine then you can check the driver as well.