2013-02-16 07:36:00 -05:00
Apple Hardware Test (AHT)
=============================
2013-02-19 03:53:00 -05:00
Description
-------------
2014-01-19 10:12:33 -05:00
Apple computers ship with a preinstalled suite of hardware diagnostic tools, known as Apple Hardware Test (AHT). In principle you can start them by holding the ``d`` key while booting. Newer models support holding ``option d`` to load AHT over the internet. Refer to the official Apple documentation for details: Using AHT on [Intel-based Macs ](http://support.apple.com/kb/ht1509 ), [Mountain Lion ](http://support.apple.com/kb/PH11342 ), and [Mavericks ](http://support.apple.com/kb/PH14291 ).
2013-02-19 03:53:00 -05:00
If however, you reinstalled an older computer from scratch, the diagnostic tools might no longer be available. Unless you have the original disks that came with your computer, there seems to be no way to restore the AHT, as the [official AHT ](http://www.info.apple.com/support/aht.html ) page only contains information about ancient computer models.
It happens that Apple provides disk images with AHT for most computers, but does not make the links publically available. Various blogs and forums, mostly [Riven by Five ](http://rivenbyfive.blogspot.ch/2012/01/download-and-run-apple-hardware-test.html ) and [MacForum.ro ](http://macforum.ro/topic/1194-apple-hardware-test ) have gathered a list of these download links, that can come in very handy to whoever is trying to debug hardware problems.
2014-01-15 04:31:12 -05:00
You can use the following terminal commands to determine the model and board ID of your computer:
```sh
system_profiler SPHardwareDataType | grep 'Model Identifier' | awk -F: '{ print $2 }'
2014-01-18 10:20:23 -05:00
ioreg -l | grep board-id | awk -F\" '{ print $4 }'
2014-01-15 04:31:12 -05:00
```
2013-02-19 03:53:00 -05:00
Download the AHT for your computer model and use the contents to restore the ``/System/Library/CoreServices/.diagnostics`` folder, then reboot while holding ``d`` to start the diagnostic tools.
2013-02-16 07:36:00 -05:00
Download Links
----------------
### PowerMac
* [PowerMac v1.2.6, PowerMac G4 ](http://download.info.apple.com/Apple_Hardware_Test/693-3994-A.dmg )
* [PowerMac v2.2.5GMc2 ](http://download.info.apple.com/Apple_Hardware_Test/018-1594-A.dmg )
* [PowerMac v2.5GMc1 ](http://download.info.apple.com/Apple_Hardware_Test/018-1880-A.dmg )
* [PowerMac v2.5.2GMc1 ](http://download.info.apple.com/Apple_Hardware_Test/018-2216-A.dmg )
### PowerBook
* [PowerBook v1.2.3, PowerBook FireWire, PowerBook G4 ](http://download.info.apple.com/Apple_Hardware_Test/693-4420-A.dmg )
* [PowerBook v2.5.2GMc1 ](http://download.info.apple.com/Apple_Hardware_Test/018-2120-A.dmg )
### iBook
* [iBook v2.2.1GMc1 ](http://download.info.apple.com/Apple_Hardware_Test/018-1680-A.dmg )
* [iBook v2.5GMc1 ](http://download.info.apple.com/Apple_Hardware_Test/018-2056-A.dmg )
### iMac
* [iMac v2.5.1GMc1 ](http://download.info.apple.com/Apple_Hardware_Test/018-1879-A.dmg )
* [iMac v2.5.2GMc5 ](http://download.info.apple.com/Apple_Hardware_Test/018-2158-A.dmg )
* [iMac v2.5.3GMc1 ](http://download.info.apple.com/Apple_Hardware_Test/018-2215-A.dmg )
* [iMac4,1 3A103 ](http://download.info.apple.com/Apple_Hardware_Test/018-2392-A.dmg )
* [iMac5,1 Mac-F42786A9 ](http://download.info.apple.com/Apple_Hardware_Test/018-2533-A.dmg )
* [iMac5,1 Mac-F4228EC8 ](http://download.info.apple.com/Apple_Hardware_Test/018-2534-A.dmg )
* [iMac5,2 Mac-F4218EC8 ](http://download.info.apple.com/Apple_Hardware_Test/018-2535-A.dmg )
* [iMac6,1 Mac-F4218FC8 ](http://download.info.apple.com/Apple_Hardware_Test/018-2579-A.dmg )
* [iMac7,1 Mac-F42386C8 ](http://download.info.apple.com/Apple_Hardware_Test/018-2845-A.dmg )
2014-01-19 09:59:38 -05:00
* [iMac8,1 Mac-F226BEC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-3936-A.dmg )
* [iMac8,1 Mac-F227BEC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-3937-A.dmg )
2014-01-07 15:55:06 -05:00
* [iMac9,1 Mac-F2218EC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4293-A.dmg )
* [iMac9,1 Mac-F2218FC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4294-A.dmg )
* [iMac9,1 Mac-F2218EA9 ](http://download.info.apple.com/Apple_Hardware_Test/022-4297-A.dmg )
* [iMac10,1 Mac-F2268CC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4451-A.dmg )
2014-01-19 09:59:38 -05:00
* [iMac10,1 Mac-F2268CC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4647-A.dmg )
2014-01-07 15:55:06 -05:00
* [iMac10,1 Mac-F2268DC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4452-A.dmg )
2014-01-19 09:59:38 -05:00
* [iMac10,1 Mac-F2268DC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4644-A.dmg )
* [iMac11,2 Mac-F2238AC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4703-A.dmg )
* [iMac11,3 Mac-F2238BAE ](http://download.info.apple.com/Apple_Hardware_Test/022-4776-A.dmg )
* [iMac12,1 Mac-942B5BF58194151B ](http://download.info.apple.com/Apple_Hardware_Test/022-5090-A.dmg )
* [iMac12,2 Mac-942B59F58194171B ](http://download.info.apple.com/Apple_Hardware_Test/022-5091-A.dmg )
2013-02-16 07:36:00 -05:00
### MacMini
* [MacMini v1.1GMc2 ](http://download.info.apple.com/Apple_Hardware_Test/018-2079-A.dmg )
* [MacMini1,1 3A102 ](http://download.info.apple.com/Apple_Hardware_Test/018-2342-A.dmg )
* [MacMini2,1 Mac-F4208EAA ](http://download.info.apple.com/Apple_Hardware_Test/018-2886-A.dmg )
2014-01-07 15:55:06 -05:00
* [MacMini3,1 Mac-F22C86C8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4292-A.dmg )
2014-01-19 09:59:38 -05:00
* [MacMini4,1 Mac-F2208EC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4739-A.dmg )
2013-02-16 07:36:00 -05:00
### MacPro
* [MacPro2,1 Mac-F4208DA9 ](http://download.info.apple.com/Apple_Hardware_Test/018-2667-A.dmg )
* [MacPro1,1 Mac-F4208DC8 ](http://download.info.apple.com/Apple_Hardware_Test/018-2769-A.dmg )
* [MacPro3,1 Mac-F42C88C8 ](http://download.info.apple.com/Apple_Hardware_Test/018-3273-A.dmg )
2014-01-19 09:59:38 -05:00
* [MacPro3,1 Mac-F42C88C8 ](http://download.info.apple.com/Apple_Hardware_Test/022-3843-A.dmg )
* [MacPro3,1 Mac-F42C88C8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4020-A.dmg )
* [MacPro4,1 Mac-F221BEC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4149-A.dmg )
* [MacPro5,1 Mac-F221BEC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4831-A.dmg )
2013-02-16 07:36:00 -05:00
### MacBook
* [MacBook2,1 Mac-F4208CA9 ](http://download.info.apple.com/Apple_Hardware_Test/018-2590-A.dmg )
* [MacBook2,1 Mac-F4208CAA ](http://download.info.apple.com/Apple_Hardware_Test/018-2766-A.dmg )
* [MacBook3,1 Mac-F22788C8 ](http://download.info.apple.com/Apple_Hardware_Test/018-3085-A.dmg )
2014-01-19 09:59:38 -05:00
* [MacBook4,1 Mac-F22788A9 ](http://download.info.apple.com/Apple_Hardware_Test/022-3862-A.dmg )
* [MacBook5,1 Mac-F42D89A9 ](http://download.info.apple.com/Apple_Hardware_Test/022-4216-A.dmg )
* [MacBook5,1 Mac-F42D89C8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4037-A.dmg )
2014-01-07 15:55:06 -05:00
* [MacBook5,2 Mac-F22788AA ](http://download.info.apple.com/Apple_Hardware_Test/022-4299-A.dmg )
* [MacBook6,1 Mac-F22C8AC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4453-A.dmg )
2014-01-19 09:59:38 -05:00
* [MacBook7,1 Mac-F22C89C8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4705-A.dmg )
2013-02-16 07:36:00 -05:00
### MacBookPro
* [MacBookPro1,1 3A106 ](http://download.info.apple.com/Apple_Hardware_Test/018-2398-A.dmg )
* [MacBookPro1,1 3A107 ](http://download.info.apple.com/Apple_Hardware_Test/018-2405-A.dmg )
* [MacBookPro2,2 Mac-F42187C8 ](http://download.info.apple.com/Apple_Hardware_Test/018-2591-A.dmg )
* [MacBookPro2,1 Mac-F42189C8 ](http://download.info.apple.com/Apple_Hardware_Test/018-2592-A.dmg )
* [MacBookPro3,1 Mac-F4238BC8 ](http://download.info.apple.com/Apple_Hardware_Test/018-2770-A.dmg )
* [MacBookPro3,1 Mac-F42388C8 ](http://download.info.apple.com/Apple_Hardware_Test/018-2833-A.dmg )
2014-01-19 09:59:38 -05:00
* [MacBookPro4,1 Mac-F42C86C8 ](http://download.info.apple.com/Apple_Hardware_Test/022-3832-A.dmg )
* [MacBookPro4,1 Mac-F42C89C8 ](http://download.info.apple.com/Apple_Hardware_Test/022-3833-A.dmg )
2013-02-16 07:36:00 -05:00
* [MacBookPro5,1 Mac-F42D86A9 ](http://download.info.apple.com/Apple_Hardware_Test/022-4266-A.dmg )
2014-01-19 09:59:38 -05:00
* [MacBookPro5,1 Mac-F42D86C8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4048-A.dmg )
* [MacBookPro5,2 Mac-F2268EC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4217-A.dmg )
2014-01-07 15:55:06 -05:00
* [MacBookPro5,3 Mac-F22587C8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4343-A.dmg )
* [MacBookPro5,4 Mac-F22587A1 ](http://download.info.apple.com/Apple_Hardware_Test/022-4344-A.dmg )
* [MacBookPro5,5 Mac-F2268AC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4339-A.dmg )
2013-02-16 07:36:00 -05:00
* [MacBookPro6,1 Mac-F22589C8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4596-A.dmg )
* [MacBookPro6,2 Mac-F22586C8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4597-A.dmg )
2014-01-19 09:59:38 -05:00
* [MacBookPro7,1 Mac-F222BEC8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4653-A.dmg )
* [MacBookPro8,1 Mac-94245B3640C91C81 ](http://download.info.apple.com/Apple_Hardware_Test/022-5052-A.dmg )
* [MacBookPro8,2 Mac-94245A3940C91C80 ](http://download.info.apple.com/Apple_Hardware_Test/022-5053-A.dmg )
* [MacBookPro8,3 Mac-942459F5819B171B ](http://download.info.apple.com/Apple_Hardware_Test/022-5054-A.dmg )
2013-02-16 07:36:00 -05:00
### MacBookAir
* [MacBookAir1,1 Mac-F42C8CC8 ](http://download.info.apple.com/Apple_Hardware_Test/018-3259-A.dmg )
2014-01-19 09:59:38 -05:00
* [MacBookAir2,1 Mac-F42D88C8 ](http://download.info.apple.com/Apple_Hardware_Test/022-4114-A.dmg )
* [MacBookAir3,1 Mac-942452F5819B1C1B ](http://download.info.apple.com/Apple_Hardware_Test/022-4704-A.dmg )
2013-02-16 07:36:00 -05:00
* [MacBookAir3,2 Mac-942C5DF58193131B ](http://download.info.apple.com/Apple_Hardware_Test/022-4267-A.dmg )
### Xserve
* [Xserve1,1 Mac-F4208AC8 ](http://download.info.apple.com/Apple_Hardware_Test/018-3282-A.dmg )
* [Xserve2,1 Mac-F42289C8 ](http://download.info.apple.com/Apple_Hardware_Test/018-3282-A.dmg )
### Misc
* [unidentified ](http://download.info.apple.com/Apple_Hardware_Test/018-2393-A.dmg )
* [unidentified ](http://download.info.apple.com/Apple_Hardware_Test/018-2418-A.dmg )
2014-01-19 09:59:38 -05:00
* [unidentified ](http://download.info.apple.com/Apple_Hardware_Test/022-4706-A.dmg )
2013-02-16 07:36:00 -05:00
* [Bundle ](http://download.info.apple.com/Apple_Hardware_Test/018-3169-A.dmg )
2014-01-19 10:16:37 -05:00
- MacBook3,1 Mac-F22788C8
- MacBookPro3,1 Mac-F42388C8
- MacBookPro3,1 Mac-F4238BC8
- MacMini2,1 Mac-F4208EAA
2014-01-19 09:59:38 -05:00
- MacPro1,1 Mac-F4208DC8
- MacPro2,1 Mac-F4208DA9
- iMac5,2 Mac-F4218EC8
- iMac7,1 Mac-F42386C8
2014-01-19 10:16:37 -05:00
- iMac7,1 Mac-F4238CC8
* [Bundle ](http://download.info.apple.com/Apple_Hardware_Test/018-3254-A.dmg )
- MacBook3,1 Mac-F22788C8
- MacBookPro3,1 Mac-F42388C8
- MacBookPro3,1 Mac-F4238BC8
- MacMini2,1 Mac-F4208EAA
2014-01-19 09:59:38 -05:00
- MacPro1,1 Mac-F4208DC8
- MacPro2,1 Mac-F4208DA9
2014-01-19 10:16:37 -05:00
- iMac5,2 Mac-F4218EC8
- iMac7,1 Mac-F42386C8
- iMac7,1 Mac-F4238CC8
2014-01-19 09:59:38 -05:00
* [Bundle ](http://download.info.apple.com/Apple_Hardware_Test/022-5205-A.dmg )
- MacBookAir4,1 Mac-C08A6BB70A942AC2
2014-01-19 10:16:37 -05:00
- MacBookAir4,2 Mac-742912EFDBEE19B3
2014-01-19 09:59:38 -05:00
* [Bundle ](http://download.info.apple.com/Apple_Hardware_Test/022-5207-A.dmg )
- MacMini5,1 Mac-8ED6AF5B48C039E1
2014-01-19 10:16:37 -05:00
- MacMini5,2 Mac-4BC72D62AD45599E
2014-01-19 09:59:38 -05:00
* [Bundle ](http://download.info.apple.com/Apple_Hardware_Test/022-5344-A.dmg )
- iMac12,1 Mac-942B5BF58194151B
* [Bundle ](http://download.info.apple.com/Apple_Hardware_Test/022-5348-A.dmg )
2014-01-19 10:16:37 -05:00
- MacBook6,1 Mac-F22C8AC8
- MacBook7,1 Mac-F22C89C8
2014-01-19 09:59:38 -05:00
- MacBookPro8,1 Mac-94245B3640C91C81
2014-01-19 10:16:37 -05:00
- MacBookPro8,2 Mac-94245A3940C91C80
2014-01-19 09:59:38 -05:00
- MacBookPro8,3 Mac-942459F5819B171B
- MacPro4,1 Mac-F221BEC8
- MacPro5,1 Mac-F221BEC8
2014-01-19 10:16:37 -05:00
- iMac12,1 Mac-942B5BF58194151B
- iMac12,2 Mac-942B59F58194171B
2014-01-19 09:59:38 -05:00
* [Bundle ](http://download.info.apple.com/Apple_Hardware_Test/022-5745-A.dmg )
- MacBookAir5,1 Mac-66F35F19FE2A0D05
- MacBookAir5,2 Mac-2E6FAB96566FE58C
* [Bundle ](http://download.info.apple.com/Apple_Hardware_Test/022-5879-A.dmg )
- MacBookPro9,1 Mac-4B7AC7E43945597E
- MacBookPro9,2 Mac-6F01561E16C75D06
* [Bundle ](http://download.info.apple.com/Apple_Hardware_Test/022-5882-A.dmg )
- MacBookPro10,1 Mac-C3EC7CD22292981F
* [Bundle ](http://download.info.apple.com/Apple_Hardware_Test/022-6031-A.dmg )
- MacBookAir5,1 Mac-66F35F19FE2A0D05
- MacBookAir5,2 Mac-2E6FAB96566FE58C
2014-01-19 10:16:37 -05:00
- MacBookPro10,1 Mac-C3EC7CD22292981F
- MacBookPro10,2 Mac-AFD8A9D944EA4843
2014-01-19 09:59:38 -05:00
- MacBookPro9,1 Mac-4B7AC7E43945597E
- MacBookPro9,2 Mac-6F01561E16C75D06
- MacBookPro9,2 Mac-7DF2A3B5E5D671ED
2014-01-19 10:16:37 -05:00
- MacMini6,1 Mac-031AEE4D24BFF0B1
- MacMini6,2 Mac-F65AE981FFA204ED
2014-01-19 09:59:38 -05:00
- iMac12,1 Mac-942B5BF58194151B
- iMac13,1 Mac-00BE6ED71E35EB86
- iMac13,2 Mac-FC02E91DDD3FA6A4