You may notice that your hard disk turns off after a specific period of inactivity.

This setting is configured using the Turn off hard disk after setting in Power Options.

This post written byMiniToolwill help you prevent hard disk from going to sleep on Windows 10.

click the Change advanced power settings link

This is done to save battery and thus extend the battery life of your PC.

The next part is about the methods.

Method 1: Change Plan controls

First, you’re able to change the power plan.

Prevent Hard Disk from going to Sleep in Windows 10 using Command Prompt

The steps are as follows:

Step 1:TypeControl Panelin theSearchbox, then navigate toPower Options.

Step 2:Next to your currently selected power plan, click theChange plan settingsoption.

Step 3:Then click theChange advanced power settingslink at the bottom.

[SOLVED] Solutions to Fix External Hard Drive Keeps Disconnecting

Step 4:Then you’re able to see theTurn off hard disk afteroption.

Step 5:ClickApplyand clickOK.

Then reboot your PC to save changes.

Then you might verify if your hard disk still goes to sleep or not.

If the issue persists, it’s possible for you to try the next method.

it’s possible for you to useCommand Prompt.

Here are the instructions.

Step 1:Typecmdin theSearchbox, right-hit the fist result to chooseRun as administratorto openCommand Prompt.

If you have any better solution to do that, just share it in the comment zone.