How to Disable Sleep Mode for USB Ports
1. Open Control Panel and navigate to Power Options
2. Select Change plan settings for the plan that the machine is using
3. Click Change advanced power settings
4. Expand USB settings and then expand USB Selective suspend setting. Set this to Disabled to stop Windows from powering down any connected USB devices. Hit Apply and OK.