Disable USB Selective Suspend in Power Options
- Press Win + R, type powercfg.cpl, and press Enter.
- Click "Change plan settings" next to your active power plan → click "Change advanced power settings".
- Expand USB settings → USB selective suspend setting → set both On battery and Plugged in to Disabled.
- Click Apply and OK.
Also Disable Power Saving on USB Root Hubs
- Right-click Start → Device Manager → expand Universal Serial Bus controllers.
- Double-click each "USB Root Hub" → Power Management tab → uncheck "Allow the computer to turn off this device to save power" → click OK.