• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Beware of aggressive APM on Windows 10 Build 1809

Freakezoit

New Member
Joined
Mar 27, 2019
Messages
2 (0.00/day)
Location
Berlin
Processor i7 8700
Motherboard Asrock z170 OC Formula
Cooling Custom Watercooling
Memory 2x 8GB G.skill Flare X 3200 C16 B-die
Video Card(s) Too many xd
Power Supply Corsair RM650i / Antec True Power 850w / bequiet 1000w.
Benchmark Scores https://hwbot.org/user/freakezoit/
I went ahead and found the registry keys, and did the rest of the research.

First, there's no such thing as an "Advanced Power Management" setting(s) in Windows 10.

Totally wrong @ that point there is one :

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\iaStorAC\Parameters - EnableAPM
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci\Parameters - EnableAPM

AMD driver has also an HDD Parking setting :

Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\amdsbs\Settings\CAM - EnableHDDParking

Even the intel iastore driver ini has and idle powermanagement option - EnableIdlePowerManagement.

And that whole issue is an windows 10 (@ some build it startet) issue but with 1607 its not there , so something has changed and that has nothing to do with hipm or dipm . Even if both are disabled that headparking thing ocures.

As for SSD my pro series with APM has no issues whatever build. (i think that it only affects some drives with APM and not all)

I will investigate that further.
 
Joined
Mar 5, 2019
Messages
93 (0.05/day)
Guys this thread is a classic example how you should not make a thread. Please post instructions how to disable this via registry instead of alarming about problem and saying there is a fix but find out how to apply this fix yourself. I downloaded mentioned crystaldisk but im not sure if i applied correct fix. Please post guidance if you advise some1 to fix something. My hdd has problems with latency since 1607 maybe thats the cause.
 

Regeneration

NGOHQ.COM
Joined
Oct 26, 2005
Messages
3,076 (0.46/day)
Guys this thread is a classic example how you should not make a thread. Please post instructions how to disable this via registry instead of alarming about problem and saying there is a fix but find out how to apply this fix yourself. I downloaded mentioned crystaldisk but im not sure if i applied correct fix. Please post guidance if you advise some1 to fix something. My hdd has problems with latency since 1607 maybe thats the cause.

There is no global way to disable APM. It depends on the controller and device.

Try this software: https://sites.google.com/site/disablehddapm/

Move the "Disable HDD APM" shortcut to the Windows' Startup folder.
 
Joined
Mar 5, 2019
Messages
93 (0.05/day)
There is no global way to disable APM. It depends on the controller and device.

Try this software: https://sites.google.com/site/disablehddapm/

Move the "Disable HDD APM" shortcut to the Windows' Startup folder.

Thanks for quick response also how is that i have msi h110m pro-d mobo and the only solution up until this time to fix latency on hdd was to install intel ahci driver for example 15.9.8.1050 version. What is different between generic ahci microsoft driver and intel that intel has no latency problems and microsoft one is unusable constant 100% usage spikes and latencymon shows iastorport.sys 3000 qs jumps ( i dont install rst cuz its bloatware for non-raid systems just inf ahci driver manually via device manager).
 
D

Deleted member 193792

Guest
Can someone provide a definitive *.reg file to permanently fix this?
 
Joined
Mar 5, 2019
Messages
93 (0.05/day)
Can someone provide a definitive *.reg file to permanently fix this?

First you need to know which intel ahci drivers suits your mobo there are different irst branches v15,v16,v17 and older . Then once you manually install ahci driver use this fix + registry that simplest explanation i found here :
 

AsRock

TPU addict
Joined
Jun 23, 2007
Messages
18,851 (3.08/day)
Location
UK\USA
Processor AMD 3900X \ AMD 7700X
Motherboard ASRock AM4 X570 Pro 4 \ ASUS X670Xe TUF
Cooling D15
Memory Patriot 2x16GB PVS432G320C6K \ G.Skill Flare X5 F5-6000J3238F 2x16GB
Video Card(s) eVga GTX1060 SSC \ XFX RX 6950XT RX-695XATBD9
Storage Sammy 860, MX500, Sabrent Rocket 4 Sammy Evo 980 \ 1xSabrent Rocket 4+, Sammy 2x990 Pro
Display(s) Samsung 1080P \ LG 43UN700
Case Fractal Design Pop Air 2x140mm fans from Torrent \ Fractal Design Torrent 2 SilverStone FHP141x2
Audio Device(s) Yamaha RX-V677 \ Yamaha CX-830+Yamaha MX-630 Infinity RS4000\Paradigm P Studio 20, Blue Yeti
Power Supply Seasonic Prime TX-750 \ Corsair RM1000X Shift
Mouse Steelseries Sensei wireless \ Steelseries Sensei wireless
Keyboard Logitech K120 \ Wooting Two HE
Benchmark Scores Meh benchmarks.
There is no global way to disable APM. It depends on the controller and device.

Try this software: https://sites.google.com/site/disablehddapm/

Move the "Disable HDD APM" shortcut to the Windows' Startup folder.

What brands are those ? or any list on those ?, i have never had one that i could not disable APM on, just like the old samsung i have now.

 
Joined
Mar 5, 2019
Messages
93 (0.05/day)
What brands are those ? or any list on those ?, i have never had one that i could not disable APM on, just like the old samsung i have now.


Could you please share software that you use to disable this and verify this registry tweak i posted above ?
 

AsRock

TPU addict
Joined
Jun 23, 2007
Messages
18,851 (3.08/day)
Location
UK\USA
Processor AMD 3900X \ AMD 7700X
Motherboard ASRock AM4 X570 Pro 4 \ ASUS X670Xe TUF
Cooling D15
Memory Patriot 2x16GB PVS432G320C6K \ G.Skill Flare X5 F5-6000J3238F 2x16GB
Video Card(s) eVga GTX1060 SSC \ XFX RX 6950XT RX-695XATBD9
Storage Sammy 860, MX500, Sabrent Rocket 4 Sammy Evo 980 \ 1xSabrent Rocket 4+, Sammy 2x990 Pro
Display(s) Samsung 1080P \ LG 43UN700
Case Fractal Design Pop Air 2x140mm fans from Torrent \ Fractal Design Torrent 2 SilverStone FHP141x2
Audio Device(s) Yamaha RX-V677 \ Yamaha CX-830+Yamaha MX-630 Infinity RS4000\Paradigm P Studio 20, Blue Yeti
Power Supply Seasonic Prime TX-750 \ Corsair RM1000X Shift
Mouse Steelseries Sensei wireless \ Steelseries Sensei wireless
Keyboard Logitech K120 \ Wooting Two HE
Benchmark Scores Meh benchmarks.
The software is Hard Drive Sentinel, i am on a AMD right now.
 
D

Deleted member 193792

Guest
First you need to know which intel ahci drivers suits your mobo there are different irst branches v15,v16,v17 and older . Then once you manually install ahci driver use this fix + registry that simplest explanation i found here :
I got AMD X470 and Windows 10 AHCI drivers in RAID0 mode.
 
Joined
Jul 5, 2013
Messages
25,559 (6.52/day)
All the troubles depicted in this thread can be mitigated within the Windows power management settings themselves.

Go to "Power Options". Click on "Advanced power settings" where the power plans reside.
A new window will open. Regardless of which plan you choose, the hard drive sleep options can be changed.
Click on "Change plan settings" -> click on "Change advanced power settings".
A new window will open and the option at the very top will be "Hard Disk" -> "Turn off hard disk" -> "Setting(minutes):"
If you set it to "0"(zero) all of your drives will never shut down or sleep regardless of APM settings.

I currently have mine set for 240 minute(4hours) and Windows obeys that setting, keeping the drives awake until that time limit is reached.
DriveSleepSettings.jpg


How this setting has escaped everyone's attention is beyond me, but it really is that simple.
 
Joined
Mar 6, 2017
Messages
3,204 (1.24/day)
Location
North East Ohio, USA
System Name My Ryzen 7 7700X Super Computer
Processor AMD Ryzen 7 7700X
Motherboard Gigabyte B650 Aorus Elite AX
Cooling DeepCool AK620 with Arctic Silver 5
Memory 2x16GB G.Skill Trident Z5 NEO DDR5 EXPO (CL30)
Video Card(s) XFX AMD Radeon RX 7900 GRE
Storage Samsung 980 EVO 1 TB NVMe SSD (System Drive), Samsung 970 EVO 500 GB NVMe SSD (Game Drive)
Display(s) Acer Nitro XV272U (DisplayPort) and Acer Nitro XV270U (DisplayPort)
Case Lian Li LANCOOL II MESH C
Audio Device(s) On-Board Sound / Sony WH-XB910N Bluetooth Headphones
Power Supply MSI A850GF
Mouse Logitech M705
Keyboard Steelseries
Software Windows 11 Pro 64-bit
Benchmark Scores https://valid.x86.fr/liwjs3
How this setting has escaped everyone's attention is beyond me, but it really is that simple.
Because people would generally like to bash Microsoft and suggest tons of tweaks only to turn around and have issues which they don’t blame themselves for but Microsoft instead and then whine and complain that Windows 10 sucks.
 
Joined
Mar 6, 2017
Messages
3,204 (1.24/day)
Location
North East Ohio, USA
System Name My Ryzen 7 7700X Super Computer
Processor AMD Ryzen 7 7700X
Motherboard Gigabyte B650 Aorus Elite AX
Cooling DeepCool AK620 with Arctic Silver 5
Memory 2x16GB G.Skill Trident Z5 NEO DDR5 EXPO (CL30)
Video Card(s) XFX AMD Radeon RX 7900 GRE
Storage Samsung 980 EVO 1 TB NVMe SSD (System Drive), Samsung 970 EVO 500 GB NVMe SSD (Game Drive)
Display(s) Acer Nitro XV272U (DisplayPort) and Acer Nitro XV270U (DisplayPort)
Case Lian Li LANCOOL II MESH C
Audio Device(s) On-Board Sound / Sony WH-XB910N Bluetooth Headphones
Power Supply MSI A850GF
Mouse Logitech M705
Keyboard Steelseries
Software Windows 11 Pro 64-bit
Benchmark Scores https://valid.x86.fr/liwjs3
Windows 10 does suck.
You had to go there, didn't you? I'm of the opinion that if you keep Windows 10 as-is and you don't muck with it, you'll generally have no issues.
 
Joined
Jul 5, 2013
Messages
25,559 (6.52/day)
You had to go there, didn't you?
LOL! You can't make statements like that and not expect me to respond accordingly.
I'm of the opinion that if you keep Windows 10 as-is and you don't muck with it, you'll generally have no issues.
That is one school of thought. Not everyone has had the same experiences and not everyone is willing to run Windows 10 it's default configuration.

But we're getting off-topic here...
 
Joined
Mar 6, 2017
Messages
3,204 (1.24/day)
Location
North East Ohio, USA
System Name My Ryzen 7 7700X Super Computer
Processor AMD Ryzen 7 7700X
Motherboard Gigabyte B650 Aorus Elite AX
Cooling DeepCool AK620 with Arctic Silver 5
Memory 2x16GB G.Skill Trident Z5 NEO DDR5 EXPO (CL30)
Video Card(s) XFX AMD Radeon RX 7900 GRE
Storage Samsung 980 EVO 1 TB NVMe SSD (System Drive), Samsung 970 EVO 500 GB NVMe SSD (Game Drive)
Display(s) Acer Nitro XV272U (DisplayPort) and Acer Nitro XV270U (DisplayPort)
Case Lian Li LANCOOL II MESH C
Audio Device(s) On-Board Sound / Sony WH-XB910N Bluetooth Headphones
Power Supply MSI A850GF
Mouse Logitech M705
Keyboard Steelseries
Software Windows 11 Pro 64-bit
Benchmark Scores https://valid.x86.fr/liwjs3

INSTG8R

Vanguard Beta Tester
Joined
Nov 26, 2004
Messages
7,955 (1.13/day)
Location
Canuck in Norway
System Name Hellbox 5.1(same case new guts)
Processor Ryzen 7 5800X3D
Motherboard MSI X570S MAG Torpedo Max
Cooling TT Kandalf L.C.S.(Water/Air)EK Velocity CPU Block/Noctua EK Quantum DDC Pump/Res
Memory 2x16GB Gskill Trident Neo Z 3600 CL16
Video Card(s) Powercolor Hellhound 7900XTX
Storage 970 Evo Plus 500GB 2xSamsung 850 Evo 500GB RAID 0 1TB WD Blue Corsair MP600 Core 2TB
Display(s) Alienware QD-OLED 34” 3440x1440 144hz 10Bit VESA HDR 400
Case TT Kandalf L.C.S.
Audio Device(s) Soundblaster ZX/Logitech Z906 5.1
Power Supply Seasonic TX~’850 Platinum
Mouse G502 Hero
Keyboard G19s
VR HMD Oculus Quest 2
Software Win 10 Pro x64
How this setting has escaped everyone's attention is beyond me, but it really is that simple
Considering those settings have existed for at least a decade...
 
Joined
Aug 20, 2007
Messages
20,709 (3.41/day)
System Name Pioneer
Processor Ryzen R9 7950X
Motherboard GIGABYTE Aorus Elite X670 AX
Cooling Noctua NH-D15 + A whole lotta Sunon and Corsair Maglev blower fans...
Memory 64GB (4x 16GB) G.Skill Flare X5 @ DDR5-6000 CL30
Video Card(s) XFX RX 7900 XTX Speedster Merc 310
Storage 2x Crucial P5 Plus 2TB PCIe 4.0 NVMe SSDs
Display(s) 55" LG 55" B9 OLED 4K Display
Case Thermaltake Core X31
Audio Device(s) TOSLINK->Schiit Modi MB->Asgard 2 DAC Amp->AKG Pro K712 Headphones or HDMI->B9 OLED
Power Supply FSP Hydro Ti Pro 850W
Mouse Logitech G305 Lightspeed Wireless
Keyboard WASD Code v3 with Cherry Green keyswitches
Software Windows 11 Enterprise (legit), Gentoo Linux x64
Hard disk sleep timer is different than APM mode, just FYI. You guys are discussing something entirely different from this threads topic.
 

wyxchari

New Member
Joined
Sep 13, 2020
Messages
3 (0.00/day)
I repeat this message that was in position # 37 and disappeared:

I had a laptop that I put a ssd on and the hdd I passed to the optical bay. Now the hdd turns off every 70 seconds like a DVD! I have also reviewed the external usb hdds, some turn off and others park their heads even every 5 seconds of the last access.

- To fix the internal hdd, I have installed the HDDScan application and it is done: Select disk, Tools, Command, APM 240 (20 minutes) and save the specific generated file.bat of each disk to start it and configure it at each boot. Example file.bat:
Bash:
"C:\Program Files (x86)\HDDScan\HDDScan.exe" "\\?\Usbstor#disk&ven_st912081&prod_7as&rev_3.aa#52e14c23&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}" -APM 240

- Fixing the external hdd is more complicated because you have to execute the command when you plug the hdd disk into the usb:
1.- First we put HDDScan as explained before and create a specific file.bat file for each disk.
2.- Create a scheduled task for each disk. In Action we put the disk specific file.bat. In triggers we put When an event occurs, Custom, New event filter, XML, Edit query:
XML:
<QueryList>
<Query Id="0" Path="Microsoft-Windows-StorageSpaces-Driver/Operational">
<Select Path="Microsoft-Windows-StorageSpaces-Driver/Operational">*[System[Provider[@Name='Microsoft-Windows-StorageSpaces-Driver'] and Level=4 and EventID=207]] and *[EventData[Data[@Name='DriveSerial']='52E14C23']]</Select>
</Query>
</QueryList>
In DriveSerial we put the serial number of the disk that appears in the bat of each disk. Compare the file.bat examples with the xml.
 
Joined
Jul 5, 2013
Messages
25,559 (6.52/day)
Hard disk sleep timer is different than APM mode, just FYI. You guys are discussing something entirely different from this threads topic.
While true, the setting I indicated above will over-ride, as a general rule, internal hard drive controller sleep settings. There are some drives that will continue to do their own thing, but that can be changed with the manufacturers own drive configuration utility and all of them have one.
 
Joined
Jan 5, 2006
Messages
17,691 (2.66/day)
System Name AlderLake / Laptop
Processor Intel i7 12700K P-Cores @ 5Ghz / Intel i3 7100U
Motherboard Gigabyte Z690 Aorus Master / HP 83A3 (U3E1)
Cooling Noctua NH-U12A 2 fans + Thermal Grizzly Kryonaut Extreme + 5 case fans / Fan
Memory 32GB DDR5 Corsair Dominator Platinum RGB 6000MHz CL36 / 8GB DDR4 HyperX CL13
Video Card(s) MSI RTX 2070 Super Gaming X Trio / Intel HD620
Storage Samsung 980 Pro 1TB + 970 Evo 500GB + 850 Pro 512GB + 860 Evo 1TB x2 / Samsung 256GB M.2 SSD
Display(s) 23.8" Dell S2417DG 165Hz G-Sync 1440p / 14" 1080p IPS Glossy
Case Be quiet! Silent Base 600 - Window / HP Pavilion
Audio Device(s) Panasonic SA-PMX94 / Realtek onboard + B&O speaker system / Harman Kardon Go + Play / Logitech G533
Power Supply Seasonic Focus Plus Gold 750W / Powerbrick
Mouse Logitech MX Anywhere 2 Laser wireless / Logitech M330 wireless
Keyboard RAPOO E9270P Black 5GHz wireless / HP backlit
Software Windows 11 / Windows 10
Benchmark Scores Cinebench R23 (Single Core) 1936 @ stock Cinebench R23 (Multi Core) 23006 @ stock
For a while now I'm using only SSD's so I'm fine. :)
 
Joined
Jun 29, 2009
Messages
1,871 (0.35/day)
Location
Heart of Eutopia!
System Name ibuytheusedstuff
Processor 5960x
Motherboard x99 sabertooth
Cooling old socket775 cooler
Memory 32 Viper
Video Card(s) 1080ti on morpheus 1
Storage raptors+ssd
Display(s) acer 120hz
Case open bench
Audio Device(s) onb
Power Supply antec 1200 moar power
Mouse mx 518
Keyboard roccat arvo
my sandisk ssd has it and the toshiba drive:
hddsentinel-apm.png
 

wyxchari

New Member
Joined
Sep 13, 2020
Messages
3 (0.00/day)
The APM of the hdd can be configured in many ways from the moment the computer is turned on.
1.- The hdd takes the default APM value stored in disk memory and begins to use it as the current value.
2.- The BIOS may or may not change the current value, but what it almost always does is freeze the accesses to be able to change the default value, although it is possible to continue changing its current value. That is why some programs such as HDAT2 to change the default APM values, need to remove the current to the disk, it is re-plugged in HOT and thus bypass the BIOS.
3.- The Windows ACHI driver may or may not change the current value.
4.- Windows power settings do not normally change these current APM values. Windows has its own disk power timers and when the limit is reached it shuts down the disk. The problem is that if the APM of the disk is lower than that of Windows, the APM of the disk will fire earlier and the Windows power settings are of no use.
5.- Programs such as HDDScan, CrystalDiskInfo, ... change the value of the "CURRENT" APM but it is lost at each startup so you have to configure them as starting with Windows so that the values are maintained. To change the value to "DEFAULT" mainly to use USB drives, each manufacturer has its own tools. For example, WD uses wdidle3.exe in DOS, which, although it does not change the default APM, does change the idle timer, which is similar up to a maximum of 300 seconds or 5 minutes. For Hitachi there are some utilities but they do not change the default values, but the current values. For Seagate I have successfully used a HDAT2 call in DOS but it works only on some drives.
6.- To this we add the disks plugged in via USB, which are much more difficult to configure, since they are plugged in after the computer starts up and the APM is not usually configured by BIOS, AHCI, or Windows. You have to configure the APM manually after plugging them in or doing a scheduled task associated with an event as I explained in a previous post.

The majority of users do not experience problems with the discs since normally the APM is configured by default in 80h which is 10 minutes to park the heads and does not turn off the engine turn. But about the year 2010-2014, "green" discs were manufactured that park their heads even every 1 second or after 8 seconds unless BIOS, ACHI, Windows or programs change the current value. In practice they are continually making clicking noises and shortening the life of the disc. The disks are designed for a maximum of around 300,000 head parking spaces and bad sectors start to appear from that value. I confirm that I have 2,5" Seagate disks with bad sectors with 680,000 head parkings because of an APM of only 10 seconds that although they did not turn off the spinning of the disk, they did park the heads, even with a 20 minute shutdown disk in Windows.
 
Joined
Mar 11, 2019
Messages
285 (0.15/day)
The disks are designed for a maximum of around 300,000 head parking spaces and bad sectors start to appear from that value. I confirm that I have 2,5" Seagate disks with bad sectors with 680,000 head parkings because of an APM of only 10 seconds that although they did not turn off the spinning of the disk, they did park the heads, even with a 20 minute shutdown disk in Windows.
Parking has no correlation to bad sectors, sectors go bad with age through magnetic weakness, not whether or not the actuator is active or not.

Hard disk sleep timer is different than APM mode, just FYI. You guys are discussing something entirely different from this threads topic.

APM settings beneath 80h(128) perform the same thing as disk sleep timer (idle spin down)
 
Top