How to fix apple diagnostics error DEC500?

Let's see if we can get Apple Hardware Test working from a bootable USB drive.

The steps to do this are as follows:

  1. Create a bootable USB flash drive by using Disk Utility's Erase function. Make sure you choose OS X Extended for the format and the GUID Partition Map for the scheme. For the purposes of these steps, also give your USB the name AHT when you're erasing it.
  2. Now download the AHT for your particular Mac (i.e. AHT 3A238) from Apple here
  3. Mount the downloaded image (it should mount as AHTCOne)
  4. Now you will need to copy the AHT to your USB flash drive. To start, Launch the Terminal app (usually found within the Utilities folder)
  5. In the Terminal window, enter the following:

    cp -r /Volumes/AHTCOne/System /Volumes/AHT/

  6. Now we need to make the USB flash drive bootable, so enter the following line in Terminal:

    sudo bless --folder /Volumes/AHT/ --file /Volumes/AHT/System/Library/CoreServices/.diagnostics/diags.efi --label AHT

  7. Enter your Admin password

  8. Leave the USB flash drive plugged in and restart your Mac

  9. Immediately hold down the Option key

  10. Select the AHT option from the list and boot up

Now test to see if your Mac can run Apple Hardware Test or not.


NOTE for other readers:
  • Different Macs require different versions of Apple's diagnostic software. So this answer will not apply to you unless your Mac also requires AHT 3A238. Note: Macs introduced after June 2013 use Apple Diagnostics instead.
  • Likewise, the Terminal commands used in this answer are for this specific question.
  • However, assuming you have downloaded the AHT version for your Mac, then this answer can be adapted for your use by replacing the AHTCOne with whatever name your downloaded disk image mounted as at Step 3. For example, if at step 3 your downloaded disk image mounted as AHTCThree, then at Step 5 you would use AHTCThree instead of AHTCOne within the Terminal command.