You are on page 1of 3

thewindowsclub.

com

Prevent Hard Drive from going to sleep in


Windows 10 / 8 / 7
Windows settings
First, create a System Restore Point before making any changes to your system & be careful
about any 3rd-party offers while installing freeware.
In this post, we will see how you can prevent your primary, secondary or external hard disk
drive or USB from going to sleep on a Windows 10 / 8 / 7 computer. You do not want your
external hard disk going to sleep and yet you find that at times it goes into the Sleep mode.
Sleep is a power-saving state that lets you quickly resume full-power operation when you
want to start working again.

To prevent the Hard Disk from going to sleep, click on the Battery / Power icon in the taskbar
and select More Power options. In the Control Panel windows which opens, select Change
Plan settings for your current Power Plan. In the next window, select Change advanced
power settings.
In the Power Options box that opens, click the + sign next to the Hard Disk option. Here you
will see the required settings under Turn off hard disk after heading. Change the value to 0.
Click on Apply > OK and exit. This setting will prevent your hard disk from entering the
Sleep mode.
SPRVCE NAPJEN
-odpojen pevnch disk
-powercfg -change -disk-timeout-ac 0=Co nastav pro aktuln schma pi napjen
ze zsuvky as odpojen na nikdy
-powercfg -change -disk-timeout-dc 0=co nastav as odpojen na nikdy pro aktuln
schma pi napjen z baterie

Bat file

-Pokud m njak disk, kter m odpojen napevno naprogramovan v sob, tak


me zkusit sm vytvoit dvkov soubor .BAT, kter bude opakovan otevrat nap.
C:\nosleepHDD.txt
@echo of
:loop
type C:\nosleepHDD.txt
timeout /t 600 /nobreak
goto loop
Pomoci kompiltoru Bat to Exe Converter http://www.f2ko.de/en/b2e.php lze dvkov
soubor CMD pevst do podoby .exe souboru, kde v nastaven kompilace lze vybrat
volbu "hidden".
Good idea, but the same efect should be achieved with a simple scheduled task that
runs a BAT file with something like "dir > X:keepalive.txt" where X is the relevant
drive.
U dvkovch soubor pro cmd.exe je akort nevhoda vyskakujc okno pkazovho
dku, co jedno z een, jak to obejt, je konverze do .EXE. Dal varianta je
naspat .VBS skript, ale CMD je znmj.

Software
If you are looking for a freeware to make things easy, try these! NoSleepHD writes an empty
text file every few minutes to your external hard disk drive to keep it from going into autosleep mode. KeepAliveHD will write an empty text file to your primary as well as secondary
drives so as to prevent it from going into automatic standby mode. Mouse Jiggler will prevent
Windows computer from going to sleep. Sleep Preventer will prevent your computer from
switching to Sleep, Hibernate, Standby mode.

KeepAliveHD
KeepAliveHD is a simple program which prevents your hard drive to go into automatic
standby mode. It works by writing a small text file to your external drive every few minutes.

This program is inspired by the NoSleepHD but it was too limited so I decided to write
my own version. Also if you have any feature request please let me know.

You might also like