Please check the following:
Go into the Power Options in Control Panel, click on "Change Plan Settings" for your plan, then there should be an option "Change advanced power settings", then look under the "Hard Disk", set "Turn off Hard Disk after" to never (set 0). Under "USB Settings" area, set "USB selective suspend settings" to "disabled".
-------------
--If the reply is helpful, please Upvote and Accept as answer--