Hi
One thing that you could look at is in Power Management.
Check and see if the setting to allow Windows to turn off USB devices is checked.
That shouldn't really cause them to be turned off when they are in use but it's worth checking.
There could be some kind of glitch.
Mine is checked, if it's unchecked there is a box for letting Windows turn them back on.
Look in Device Manager, Serial Bus Controllers, Root Hub, Properties, Power Management, and look for a box that you can deselect.
This isn't an uncommon problem, when I searched I found a lot of posts for Windows 8 and later.
Look through this post and see if anything looks like it would help.
usb shuts off randomly
Mike