Turn off your hard drive after a time of inactivity in Windows

Looking for a way to turn off your hard drive after a period of inactivity in Windows 10 and Windows 11? Here are two ways to do it.

Windows 10, Windows 11, idle, idle, hard disk, disk

If you think the hard drive consumes a lot of power, especially on your Windows 10 or Windows 11 laptop, you can simply turn it off after a certain amount of inactivity. This helps save on your system's battery life. See two methods.

Method 1: Through the power supply options

  1. Open the Execute dialog box while pressing Win + R. Enter the word powercfg.cpl and press Enter to open the Power Options.
  2. In the Power Options window, click Change design settings in the Selected design you have set.

hard disk 1

  1. After that, select Change advanced power settings.
  • In the next window that appears, click on Hard drive to develop it. Then click on Hard disk shutdown after. From there, you need to change the time for the Battery (minutes) and for the Socket.
  Want to learn coding? 5 apps to try

hard disk 2

  1. When done, click Apply and click OK to save the changes.

Method 2: Via the command line

This is another method of setting your hard drive to shut down after a period of inactivity in Windows 11 and Windows 10. Here, you will use the command line for a much faster solution. Do the following:

  1. Open the Execute dialog box while pressing Wind + R. Enter the word cmd and press Ctrl + Shift + Enter at the same time to open the Command Prompt with Administrator privileges.
  • Now, copy-paste the following command and press Enter.
    powercfg -change -disk-timeout-dc 0

Note: Before running, change to 0 with the minutes you want to turn off the hard drive after the idle time while it is connected to the battery.

  1. Then run the following command and press Enter.
    powercfg -change-disk-timeout-ac-0

Note: Before running, change 0 to the minutes you want to turn off the hard drive after the idle time while it is plugged in.

  ownCloud your own Cloud: install on Linux

hard disk 3

After running these commands, close the command prompt and restart your system. Now, when your computer will shut down if Windows 10 and Windows 11 remain idle after the specified time.

Follow us on Google News iGuRu.gr at Google news

Windows 10, Windows 11, idle, idle, hard disk, disk

Written by Dimitris

Dimitris hates on Mondays .....

One Comment

Leave a Reply
  1. Disabling the drive makes sense to save battery. My question is if the same is true in the case of an SSD that has no mechanical parts and does not rotate. Logically, any savings will be negligible, unless I know something….

Leave a reply

Your email address is not published.

Your message will not be published if:
1. Contains insulting, defamatory, racist, offensive or inappropriate comments.
2. Causes harm to minors.
3. It interferes with the privacy and individual and social rights of other users.
4. Advertises products or services or websites.
5. Contains personal information (address, phone, etc.).


25 +    = 30