Skip to content

high-performance, low-level disk diagnostic and repair utility for Windows.

License

Notifications You must be signed in to change notification settings

Adiru3/AmazeHealDisk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

8 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

AHD (Amaze Hardware Doctor) πŸš€

image

AHD is a high-performance, low-level disk diagnostic and repair utility for Windows. Developed by amazingb01 (Adiru), it is designed to push HDD, SSD, and NVMe (M.2) drives to their functional limits by identifying and refreshing weak or failing storage sectors.

πŸ›  Key Features

  • Maximum Treatment Logic: Uses FILE_FLAG_NO_BUFFERING to bypass Windows OS caching, ensuring direct hardware communication with the disk controller.
  • Real-Time Speed Graph: Oscilloscope-style visualization showing current read speeds in MB/s.
  • Interactive Block Map: A 4,000-block visual grid representing the disk surface. Click any block to see its exact byte offset and sector address.
  • Automatic Sector Refresh:
    • Yellow Blocks: Detects "slow" sectors (>150ms) and forces a rewrite to refresh the electrical charge (SSD) or magnetic alignment (HDD).
    • Red Blocks: Detects read errors and triggers the disk's internal Remapping logic to swap failed sectors with healthy spares.
  • Multi-Drive Support: Automatically detects physical drives, their models, and associated volume letters.
  • Acoustic Feedback: Contextual beeps (high/low pitch) when issues are found and addressed.

πŸš€ How to Build

AHD is written in C# and is compatible with the legacy .NET Framework 4.0 compiler found by default in all Windows 10/11 installations. No heavy IDE like Visual Studio is required.

  1. Save the source code as AHD.cs.
  2. Open Command Prompt (CMD) as Administrator.
  3. Run the following command:

C:\Windows\Microsoft.NET\Framework64\v4.0.30319\csc.exe /target:winexe /r:System.Management.dll /out:AHD.exe AHD.cs

πŸ”— Connect with me

YouTube TikTok Donatello