# How to spin down a single drive on Windows?

**URL:** <https://boards.straightdope.com/t/how-to-spin-down-a-single-drive-on-windows/413239>\
**Category:** Factual Questions\
**Created:** [July 26, 2007, 4:26pm UTC](https://boards.straightdope.com/t/how-to-spin-down-a-single-drive-on-windows/413239 "2007-07-26T16:26:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bett](https://avatars.discourse-cdn.com/v4/letter/b/e9c0ed/32.png) [@bett](https://boards.straightdope.com/u/bett)\
**Post date:** [July 26, 2007, 4:26pm UTC](https://boards.straightdope.com/t/how-to-spin-down-a-single-drive-on-windows/413239/1 "2007-07-26T16:26:15Z")

</div>

I have a second drive on my Windows 2000 system that I just use occasionally for backup or scratch space. I’d like to not have it spinning all the time when the computer is running. Is there a way for me to manually enable/disable the drive? A command line way would be great, but a GUI method would be fine as well.

---

<div class="post-metadata">

**Author:** ![gotpasswords](https://avatars.discourse-cdn.com/v4/letter/g/c57346/32.png) [@gotpasswords](https://boards.straightdope.com/u/gotpasswords)\
**Post date:** [July 26, 2007, 4:57pm UTC](https://boards.straightdope.com/t/how-to-spin-down-a-single-drive-on-windows/413239/2 "2007-07-26T16:57:42Z")

</div>

This is trivial to do, and probably automatically done, with an external drive, and all but impossible to do with an internal drive.

Typicaly, Windows will shut down an external drive after five minutes, but for internal drives, it’s all-or-none - there’s only one timeout for drive shutdown and power management. If you want the drive to go to sleep after ten minutes, your boot drive will also sleep after ten minutes. Depending on what you’re doing on the computer, this may have an adverse effect on performance and your patience if you have to keep waiting for the drive to spin up.

The good news, is that if you’re truly doing nothing with the internal backup drive, it should stay off until you need it, assuming you have power management set to shut down drives after some time of non-use.

---

<div class="post-metadata">

**Author:** ![Aserrann](https://avatars.discourse-cdn.com/v4/letter/a/82dd89/32.png) [@Aserrann](https://boards.straightdope.com/u/Aserrann)\
**Post date:** [July 26, 2007, 5:18pm UTC](https://boards.straightdope.com/t/how-to-spin-down-a-single-drive-on-windows/413239/3 "2007-07-26T17:18:08Z")

</div>

You _can_ manually disable/enable a drive, but i believe it needs a restart to change status, so not very convenient.

To do it, Right click on “My Computer” and click on “Properties”. Go to the “Hardware” tab, and then click on “Device Manager”

Once in there, click on the plus next to “Disk Drives” to expand it, right click on your backup drive, and click “Disable”.

However, as I said before, not very convenient. Using power management to automatically spin down the drives is much, much simpler.

---

<div class="post-metadata">

**Author:** ![Nanoda](https://avatars.discourse-cdn.com/v4/letter/n/ce73a5/32.png) [@Nanoda](https://boards.straightdope.com/u/Nanoda)\
**Post date:** [July 27, 2007, 1:10am UTC](https://boards.straightdope.com/t/how-to-spin-down-a-single-drive-on-windows/413239/4 "2007-07-27T01:10:17Z")

</div>

No idea how to do this in Windows.  
For anyone who cares how to do it in Linux, my spindown script used to be:

```auto

#flush buffer
hdparm -f /dev/hdb

#unmount
umount /dev/hdb1
sleep 5

#set spindown to 5 sec
hdparm -S 1 /dev/hdb

#Low power standby
hdparm -y /dev/hdb

```

To spin it up again, I had:

```auto

#!/bin/sh
mount /dev/hdc1 /home/backup/store2
sleep 5

#Lets make sure it's spun up before we start things.
ls /home/backup/store2 > /dev/null
sleep 20

#set spindown to 5 min
#hdparm -S 60 /dev/hdc

```

---

<div class="post-metadata">

**Author:** ![Tim\_T-Bonham.net](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@Tim\_T-Bonham.net](https://boards.straightdope.com/u/Tim_T-Bonham.net)\
**Post date:** [July 27, 2007, 6:12am UTC](https://boards.straightdope.com/t/how-to-spin-down-a-single-drive-on-windows/413239/5 "2007-07-27T06:12:00Z")

</div>

I would suggest instead that you should move your Windows swap files to this drive, and leave it active and spinning. Having the swap files on a different drive from your data & programs will reduce contention on _both_ drives, and likely improve the life expectancy of them.

After all, you’ve already paid for both drives, why not put them both to use?

---

<div class="post-metadata">

**Author:** ![Number](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/number/32/242_2.png) [@Number](https://boards.straightdope.com/u/Number)\
**Post date:** [July 27, 2007, 12:46pm UTC](https://boards.straightdope.com/t/how-to-spin-down-a-single-drive-on-windows/413239/6 "2007-07-27T12:46:37Z")

</div>

You could use Microsoft’s [DevCon](http://support.microsoft.com/kb/311272) utility to perform the procedure **Aserrann** suggested from the command line. To do this, first run **devcon find =diskdrive**. Identify the hardware ID of the drive you want to disable. Make sure it’s the secondary hard drive, not the primary. Then run **devcon disable \<hardware ID\>**. That should disable it. Running **devcon enable \<hardware ID\>** should bring it back.

Put the last two commands in separate batch files and you should be able to disable and enable the drive at will.
