Здравствуйте, существует такая проблема, как автоматическая парковка головок HDD каждые 8 секунд простоя, что вызывает постоянные щелчки, задержки и порчу нервной системы.
На просторах интернета был найден нижеприведённый .bat файл, который не даёт диску засыпать, подскажите пожалуйста, как точно он работает?
wait.exe можно скачать здесь.
p.s.
wdidle3 и hdparm не работают.
Добавлено:
Код: @@ECHO OFF&COLOR 0A&MODE CON: cols=78 lines=13
REM --- SET THIS DRIVE LETTER (WITH ITS COLON CHARACTER) AS A VARIABLE
PUSHD %~dp0
SET DRIVE_LETTER=%~d0%
REM -----------------------------------------------------------------------
REM --- >>> DRIVE-AWAKE <<<
REM --- Prevents hard drive from powering down by keeping it "busy". Is done by
REM --- refreshing a zero byte text file on target drive at regular intervals.
REM --- Especially useful for hard drives connected externally via USB adapters.
REM --- Will prevent accidental corruption of the File Table of the external drive
REM --- while you have it in service . (run "chkdsk /f" command to repair it).
REM ---
REM --- A tiny helper utility (wait.exe , 5KB) is used to perform a countdown
REM --- function within a 40 second loop of the batch. You can download the
REM --- utility here: <http://www.horstmuc.de/wbat32.htm#wait>
REM ---
REM --- TO USE: Place this batch and 'wait.exe' at root of target drive and
REM --- start the batch. An interactive console window will open. As long as the
REM --- console window is working, the drive will not idle down or go to sleep.
REM -----------------------------------------------------------------------
TITLE %DRIVE_LETTER%\.DRIVE-AWAKE
IF EXIST %DRIVE_LETTER%\.DRIVE-AWAKE ATTRIB -R -A -S -H %DRIVE_LETTER%\.DRIVE-AWAKE
CD.>%DRIVE_LETTER%\.DRIVE-AWAKE
:LOOP
SET TIMER=wait.exe 1
CLS
FOR /l %%a in (5,-1,1) do (
ECHO Prevents hard drive from powering down by keeping it "busy". &ECHO Is done by refreshing a zero byte file on target drive at regular intervals. &ECHO Especially useful for hard drives connected externally via USB adapters. &ECHO. &ECHO Keep this command window open ^(minimized^) to keep the job running. &ECHO Stop this job by typing ^(CTRL+C^). &ECHO. &ECHO. &ECHO JOB IS RUNNING &ECHO - Target drive path is: "%DRIVE_LETTER%\.DRIVE-AWAKE" &ECHO - Refresh interval is: 5 seconds / %%a
%TIMER%
CLS
)
CD.>%DRIVE_LETTER%\.DRIVE-AWAKE
GOTO LOOP
SET TIMER=
SET DRIVE_LETTER=
POPD
EXIT
На просторах интернета был найден нижеприведённый .bat файл, который не даёт диску засыпать, подскажите пожалуйста, как точно он работает?
wait.exe можно скачать здесь.
p.s.
wdidle3 и hdparm не работают.
Добавлено:
Код: @@ECHO OFF&COLOR 0A&MODE CON: cols=78 lines=13
REM --- SET THIS DRIVE LETTER (WITH ITS COLON CHARACTER) AS A VARIABLE
PUSHD %~dp0
SET DRIVE_LETTER=%~d0%
REM -----------------------------------------------------------------------
REM --- >>> DRIVE-AWAKE <<<
REM --- Prevents hard drive from powering down by keeping it "busy". Is done by
REM --- refreshing a zero byte text file on target drive at regular intervals.
REM --- Especially useful for hard drives connected externally via USB adapters.
REM --- Will prevent accidental corruption of the File Table of the external drive
REM --- while you have it in service . (run "chkdsk /f" command to repair it).
REM ---
REM --- A tiny helper utility (wait.exe , 5KB) is used to perform a countdown
REM --- function within a 40 second loop of the batch. You can download the
REM --- utility here: <http://www.horstmuc.de/wbat32.htm#wait>
REM ---
REM --- TO USE: Place this batch and 'wait.exe' at root of target drive and
REM --- start the batch. An interactive console window will open. As long as the
REM --- console window is working, the drive will not idle down or go to sleep.
REM -----------------------------------------------------------------------
TITLE %DRIVE_LETTER%\.DRIVE-AWAKE
IF EXIST %DRIVE_LETTER%\.DRIVE-AWAKE ATTRIB -R -A -S -H %DRIVE_LETTER%\.DRIVE-AWAKE
CD.>%DRIVE_LETTER%\.DRIVE-AWAKE
:LOOP
SET TIMER=wait.exe 1
CLS
FOR /l %%a in (5,-1,1) do (
ECHO Prevents hard drive from powering down by keeping it "busy". &ECHO Is done by refreshing a zero byte file on target drive at regular intervals. &ECHO Especially useful for hard drives connected externally via USB adapters. &ECHO. &ECHO Keep this command window open ^(minimized^) to keep the job running. &ECHO Stop this job by typing ^(CTRL+C^). &ECHO. &ECHO. &ECHO JOB IS RUNNING &ECHO - Target drive path is: "%DRIVE_LETTER%\.DRIVE-AWAKE" &ECHO - Refresh interval is: 5 seconds / %%a
%TIMER%
CLS
)
CD.>%DRIVE_LETTER%\.DRIVE-AWAKE
GOTO LOOP
SET TIMER=
SET DRIVE_LETTER=
POPD
EXIT