Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to command a disk to park and stop spinning in Windows 7, and I want the disk to stay parked and not spinning persistently through multiple reboots.

I have two drive bays on my Samsung RF711 laptop. I run the OS on a small SSD and I use the other bay for a mechanical 5400 rpm data drive.

When the spinning drive is parked I do not need to worry about jarring my laptop. Can I command the disk to go into a state where the disk does not spin and is not used at all, then command it later to start spinning and become available?

A windows solution is slightly preferred, but any dos command or free utility will do.

share|improve this question
    
The Windows Disk Management utility can make a disk "offline", which puts a little red down arrow near the Disk number in the left column. Does making a disk offline park the disk? Is there a DOS command to accomplish this? –  steampowered Nov 21 '11 at 16:36
    
Can't you just sleep the laptop or do you have an SSD as well? –  Synetech Jul 16 '12 at 20:02

1 Answer 1

up vote 2 down vote accepted

If you're satisfied with the Disk Management option of setting a drive offline, here's a command-line way to do it, from TechNet:

diskpart remove [{letter=d|mount=path|[all]}] [dismount][noerr]

Removes a drive letter or mount point from the volume with focus. If the all parameter is used, all current drive letters and mount points are removed. If you do not specify a drive letter or mount point, then DiskPart removes the first drive letter or mount point that it encounters.

Read the link to see more about this. I would suggest an example something along the lines of:

diskpart remove letter=x dismount

where x is the drive letter you wish to set offline.


EDIT: As requested, here is something that works on my local D: drive.

I created a script (which I called script.txt but can be called anything), as follows:

select volume 4
remove dismount all

Then from the command line, I typed this command:

diskpart /s script.txt

The response from my command was as follows (I've edited the line spacing):

Volume 4 is the selected volume.
DiskPart successfully removed the drive letter or mount point.
DiskPart successfully dismounted and offlined the volume.
share|improve this answer
    
I tried your example command plus variations of the command with slightly different syntax, but the syntax seems to be wrong each time. Could you edit your answer to include an example command which works? –  steampowered Jul 16 '12 at 16:53
    
As requested, please see my edited answer. –  user3463 Jul 16 '12 at 19:56

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.