Some makers have software to check some devices.
For example, Dell used to come with diagnostics in a special partition. And for a hard disk, most makers have a test program to dowload.
- memtest86 is good in testing RAM
- dxdiag helps testing video and audio hardware and software
any system that can check the hardware in desktop or laptop.