I had it happen all the time. Replaced a cheap USB cable and it went away.
Disable USB power saving in Windows
- Open the device manager. …
- When the listing expands, look for the items marked USB Root Hub.
- Right-click one of the hubs and select Properties.
- Press Power Management tab. …
- De select Allow the computer to turn off this device to save power.
- Click OK and you’re done.