Can I tell Windows when to spin down my drive(s)?

Ketchup

Elite Member
Sep 1, 2002
14,546
238
106
Server 2008. Two drives. One OS, one data. All data backed up outside of the machine.

I am looking for ways to keep the data drive on my file/media server from spinning during non-use hours (a.k.a. night time). Less heat and less spin time time on the drive is my line of thinking. I don't want the entire machine to be going in and out of sleep all the time, and it would be nice not to have to long onto the server and run something every night.

I thought possibly task schedule could do it, but I am not readily seeing a command for this.

Right now I am using the power profile to spin down the drive after one hour of inactivity. Works ok, but I am still getting some spin-down/spin-up during the day, which is what I am trying to avoid (longevity of the drive).

Appreciate any input.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,480
387
126
This question appears hundreds of times in many Forums in the last 10 years.

Sadly, I never saw a real answer for it beyond what you are already doing.


 

quikah

Diamond Member
Apr 7, 2003
4,085
663
126
You can make a nighttime power plan with the disk idle set to 5 minutes, then make a scheduled task (set to run whether logged in or not) to make it active (powercfg -setactive <nightpowerplan>). Then another scheduled task to set the normal power plan active in the morning. The only issue is that it would effect your OS drive also.

You might also look into this utility to see if it works on your system (idle setting doesn't seem to work for me). https://sites.google.com/site/disablehddapm/
 
Reactions: Ketchup

Ketchup

Elite Member
Sep 1, 2002
14,546
238
106
You can make a nighttime power plan with the disk idle set to 5 minutes, then make a scheduled task (set to run whether logged in or not) to make it active (powercfg -setactive <nightpowerplan>). Then another scheduled task to set the normal power plan active in the morning. The only issue is that it would effect your OS drive also.

You might also look into this utility to see if it works on your system (idle setting doesn't seem to work for me). https://sites.google.com/site/disablehddapm/
Thank you. I'll have to play with that.
 

Elixer

Lifer
May 7, 2002
10,376
762
126
Less heat and less spin time time on the drive is my line of thinking.
While that is true, it is also true it is more wear & tear on the drive spinning up, rather than just having it spin 24/7.

That said, open up powershell (or create cmdlets) and you can use...
"select disk 4", "offline disk" | diskpart
"select disk 4", "online disk" | diskpart

Then you can run each via a cron job.
 

Ketchup

Elite Member
Sep 1, 2002
14,546
238
106
See, that is exactly why I am torn. I used to have a really old IBM machine in the office for a lab where a drive that was probably 20+ years old was running until the day I took the machine offline. I had a drive for my home server that was used for 4 years, then just sitting 99% of the time the year after that, which failed it's last backup. So:

1. they obviously don't make them like they used to
2. I am really torn if it's best to even bother with the spin-down.
3. the hard drive in my sig is about 4 years old, spins down whenever the computer isn't used for ~20 minutes (sleep setting), and is still running fine as it gets accessed daily.

So I don't know.
 

JackMDS

Elite Member
Super Moderator
Oct 25, 1999
29,480
387
126
I n the last few years while switching old and computers to SSDs I retired IDE and SATA Drives 220 GB to 1 TB that set on a shelve in a Static bags. They were fully functional, about last 2-4 years old, and gently (I.e. no 24/7 RAID Drives) . After sitting a year or two in the bags I tried to reuse them and 6 out of 10 either did not work or died after short use.

I have No explanation for it but I doubt that any factors as mentioned above are part of the problem.

If I want to be paranoid I would say that it looks like the manufacturers put inside a self distract mechanism based on time.



P.S. If one wondered why I wanted to start using them again?

The conundrum of Win 10 "Eternal beta" is so that whenever there is a Major upgrade (like for release 1607 to 1703) I make an Acronis tib files of all my 1607 computers and only then upgrade to 1703.

I wanted to use the old 3.5" HDs just to copy to them the tib files and then put them on the shelve again.

.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |