Go Back   Tech Support Forum > Hardware Support > Removable Media Drives

Join Tech Support Forum Today

Closed Thread
 
Thread Tools Search this Thread
 
Old 01-21-2008, 06:23 PM   #1
Registered Member
 
Join Date: Nov 2007
Posts: 5
OS: xp


Preventing automatic spin down, USB hard drive

I have a WD 'My Book' USB HD and it auto spins down (sleeps) after 10 mins. WD say this is a permanent feature so I'm now wondering how best to prevent this with software or O.S., e.g. to save a small file to the drive automatically every 9 mins.? Thanks.

__________________
carl2007 is offline  
Old 01-25-2008, 11:14 PM   #2
Registered Member
 
Join Date: Jan 2008
Posts: 2
OS: XP/Vista


Re: Preventing automatic spin down, USB hard drive

same problem here, thats really annoying as it reduces the lifespan of the disk.

__________________
drunkendo is offline  
Old 01-27-2008, 05:30 PM   #3
Registered Member
 
Join Date: Nov 2007
Posts: 5
OS: xp


Re: Preventing automatic spin down, USB hard drive

Still struggling with this one. Does anyone know of an application or maybe even a command prompt routine that will save a small file routinely every so often to prevent a drive from going to sleep?
__________________
carl2007 is offline  
Old 02-01-2008, 04:50 AM   #4
Registered Member
 
Join Date: Nov 2007
Posts: 5
OS: xp


Re: Preventing automatic spin down, USB hard drive

I would advise against purchasing a WD MyBook USB drive. The thing is driving me mad, constantly spinning up and down every 10 minutes. It always seems when you want to save a file its just spun down! Still can't find a way to prevent this, it looks as though it may not be possible!
__________________
carl2007 is offline  
Old 09-14-2008, 01:52 AM   #5
Registered Member
 
Join Date: Sep 2008
Posts: 1
OS: xp sp3


Re: Preventing automatic spin down, USB hard drive

Okay here it is - This "feature" is built into the drives and can not be disabled. Every 10 minutes the drive will spin down. My personal opinion is this is more damaging to the drive since it stresses a lot more spinning up than saving 1 minute every now and again down.

To fix this problem you must read/write a piece of data to the drive every 9 minutes or so. You can either do this by creating a file (eg. alive.txt) on the drive and creating a batch file in windows and set it up using windows scheduler so it runs every 9 minutes:

echo a > m:\alive.txt

The other option (much nicer as you dont get the cmd.exe screen popping up all the time) is to make a program that does the same thing.
Paste the following into visual studio and compile it. I put this into the startup folder. It runs as a background process and does its work really nicely. 0% cpu usage and uses 664k ram (somehow).

#include "stdafx.h"
#include <windows.h>
#include <stdio.h>

int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow)
{
//The following sleeps for 550 seconds, opens m:\alive.txt
//and writes 'x' to the start of the file.

FILE *openfile = NULL;
while (true)
{
Sleep(550000);
openfile = fopen("m:\\alive.txt","w");
fputc('x',openfile);
fclose(openfile);
}

return 0;
}

__________________
Shagpile is offline  
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is on
Smilies are on
[IMG] code is on
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Post a Question





Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

RV & Travel Trailer Communities

Our RV & Travel Trailer sites encompasses virtually all types of Recreational Vehicles, from brand-specific to general RV communities.

» More about our RV Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


All times are GMT -7. The time now is 09:51 AM.


Copyright 2001 - 2010, Tech Support Forum

Windows 7 - Windows XP - Windows Vista - Trojan Removal - Spyware Removal - Virus Removal - Networking - Security