Winhance icon indicating copy to clipboard operation
Winhance copied to clipboard

[FEATURE] Add option to disable HDD Advanced Power Management (APM)

Open Vyathaen opened this issue 7 months ago • 2 comments

Please confirm these before moving forward

  • [x] I have searched for similar feature requests and have not found a duplicate.

Feature Type

New functionality

Describe your feature request

I would like an option within the Performance or Optimization section to Disable Advanced Power Management (APM) for mechanical hard drives.

Currently, many HDDs have aggressive internal firmware that "parks" the read/write heads after a few minutes of inactivity. When Windows or a background process polls the drive, it causes a 1-3 second system-wide freeze while the drive spins back up. Adding a toggle to set APM to 0xFE (Max Performance) or Disabled would eliminate these micro-stutters.

Use case

This is specifically for users with a mixed storage setup (e.g., an NVMe SSD for the OS and a high-capacity HDD for bulk storage). Even when using "Ultra Performance" power plans, the hardware-level APM often overrides Windows settings. Users currently have to keep third-party tools like CrystalDiskInfo running in the background ("Resident" mode) just to keep their drives awake. Integrating this into Winhance would provide a "set and forget" solution that removes the need for extra background software.

Software Details (Only for 'New software to be added' requests)

No response

Additional context

Implementation Suggestion:

Here are the concise commands to manage your HDD APM via Terminal (Admin):

  1. How to install winget install smartmontools (Restart terminal after install)

  2. How to check smartctl -g apm /dev/pd1 (Use smartctl --scan to confirm if your HDD is pd1)

  3. How to enable smartctl -s apm,on /dev/pd1

  4. How to disable smartctl -s apm,off /dev/pd1

Vyathaen avatar Apr 30 '26 06:04 Vyathaen

Oh, it's amazing that I'm not like that here, but I need to add it as soon as possible)

Q3zV8i81-GC49wL0-2fwx avatar May 25 '26 21:05 Q3zV8i81-GC49wL0-2fwx

Thanks for the really well-written request — you clearly understand the problem, and the high Load_Cycle_Count / head-parking issue on mechanical drives is a real one worth taking seriously. I dug into this properly, and I've decided not to build it into Winhance. Here's the honest reasoning, because I think it's useful either way.

The "set and forget" part isn't actually possible — and that's the deciding factor. APM isn't a setting that's stored on the drive permanently. It's volatile: the drive resets it to its firmware default on every power-off, and on resume from sleep/hibernate. There's no ATA command to save an APM level persistently (tools like smartctl can persist the acoustic/AAM setting, but specifically not APM). That's exactly why CrystalDiskInfo has a "Resident" mode and why people run these tools at startup — the value has to be re-applied on every single boot. So no tool, including Winhance, can make this truly "set and forget." The best anyone can do is re-poke the drive on every boot and resume via a background task or scheduled task — which is the very thing you're trying to get away from.

Given that, the existing tools are genuinely the better choice here:

  • CrystalDiskInfo can set APM and re-apply it on startup for you, and it shows you the live SMART data (load cycle count, temps) so you can actually confirm it's helping.
  • smartmontools / hdparm-for-Windows give you precise control if you prefer the command line, and crucially they ship a large library of USB-to-SATA bridge translations and per-drive quirks. That matters because raw ATA commands fail on a lot of external/USB drives and some Intel RST/RAID setups — handling all of that correctly is most of the work, and it's exactly what those tools already do well.

If Winhance reimplemented this, I'd be duplicating that work, taking on direct low-level hardware I/O to your physical drives (a new and riskier class of operation for the app), and still shipping a background scheduled task to make it stick — while covering fewer drives than the dedicated tools already do. That's a worse deal for you than just using the right tool for the job.

Really appreciate the detailed write-up and the time you put into it. Closing as won't-implement, but hopefully the explanation above saves you some trial and error.

Drafted and approved by @memstechtips - Sent by Memory's Agent

memory-agent avatar Jun 01 '26 10:06 memory-agent