Clear, practical technology insights BSOD Code Lookup · Windows Error Code Lookup · Wi-Fi Troubleshooting · PC Troubleshooting Checklist

How to Set the Hard Drive Idle Timeout in Windows 11

Set when a mechanical hard drive spins down on battery or AC power, and learn how to disable the timeout or troubleshoot wake-up delays.

Table of Contents

On a Windows 11 PC with a mechanical hard drive, the disk idle timeout can spin it down after a period without activity. A sleeping drive can take a moment to respond when you open a file. This is a setting for idle storage, separate from putting the whole PC to sleep.

Change the timeout in Power Options

  1. Press Windows + R, enter powercfg.cpl, and press Enter.
  2. Beside the active plan, select Change plan settings > Change advanced power settings.
  3. Expand Hard disk > Turn off hard disk after. Set the minutes for On battery or Plugged in where available, then apply. Choose Never if you don’t want an idle timeout.

How to turn off hard drive when not in use on Windows 11 Picture 1

How to turn off hard drive when not in use on Windows 11 Picture 2

How to turn off hard drive when not in use on Windows 11 Picture 3

How to turn off hard drive when not in use on Windows 11 Picture 4

Set the active plan from the command line

Open Windows Terminal or Command Prompt with administrative rights if needed. The following example uses 20 minutes on battery and 30 minutes when plugged in.

powercfg /change disk-timeout-dc 20
powercfg /change disk-timeout-ac 30

Change the minutes to suit your workload. A value of 0 disables the timeout. See Microsoft’s Powercfg reference.

How to turn off hard drive when not in use on Windows 11 Picture 5

How to turn off hard drive when not in use on Windows 11 Picture 6

If the option is missing or the drive stays awake

Available settings depend on the hardware and power model. Background indexing, backup software, and other activity can keep a drive awake. Some USB enclosures use their own power settings. If you hear repeated clicking or notice errors even with the timeout off, back up important files and check the drive’s health indicators.

Discussion

Reader Comments 0

Sign in with email or Google to join the discussion.