If you're experiencing errors with your USB ports becoming inactive on your device, it may be that the port is being disabled in order to save power. This feature can be disabled in Windows.
1. GO TO "DEVICE MANAGER"
Press the windows key or icon to activate the Windows Start Menu, and type "Device Manager." Open Device Manager from the search results.
2. OPEN "PROPERTIES" FOR THE RELEVANT USB PORT
Select/expand the Universal Serial Bus (USB) ports section in the left-hand column of the Device Manager. Right-click on the relevant USB port and from the menu that appears, select "Properties."
3. DISABLE THE DISABLING
In the Properties window that appears, select the tab labeled Power Management. There, uncheck the box next to "Allow computer to turn off the device to save power."
4. REPEAT FOR ALL RELEVANT USB PORTS
Disabling this option for one port doesn't automatically change it for all ports. If you're having issues with devices connected to multiple USB ports in your system, you need to uncheck that box for each one.