microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
111.4k stars 6.56k forks source link

Easier way to keep HDs awake #15534

Open bebotette opened 2 years ago

bebotette commented 2 years ago

Description of the new feature / enhancement

As seen in the title, this feature would be a very good addition to MS Powertoys.

Basically, it allows users to prevent a specific hard drive/SSD or multiple of them to fall into 'sleep' state. By default, windows turns off hard drives that aren't being used after a specific amount of time. This feature disables that by randomly writing a file (e.g. a text file) at specific intervals to prevent a drive from fall asleep.

Scenario when this would be used?

preventing hard drives to fall asleep

Supporting information

https://github.com/stsrki/KeepAliveHD https://www.ghacks.net/2009/03/03/prevent-external-hard-drives-from-entering-sleep-mode/

crutkas commented 2 years ago

Didn't know SSD waking up was a problem. I'd honestly have this as part of Awake.

dend commented 1 year ago

To confirm - is this the case with SSDs?

caffeinate on macOS does have this capability in the shape of the -m argument, so I think that would be potentially something that is useful for Awake as well.

bebotette commented 1 year ago

not particularly for ssd but more for hdds. I have 2 internal HDDs and 2 external HDDs, and having this feature would probably be nice. maybe not within 'awake' but like an extra feature of powertoy?

bebotette commented 1 year ago

To confirm - is this the case with SSDs?

caffeinate on macOS does have this capability in the shape of the -m argument, so I think that would be potentially something that is useful for Awake as well.

yes exactly like that.