batch-fileata

How to find out if HDD is ATA or AHCI?


From a batch file how would you find if a hard drive is ATA or AHCI? Is it stored somewhere in a file I can parse or is there a command to find out?


Solution

  • There may be better methods but this detects AHCI here:

    wmic idecontroller|find /i "ahci">nul && echo AHCI detected