It is pretty straightforward to run a hardware diagnostic on your Surface device. Instead of doing anything manually, you can make use of the Surface Diagnostic Toolkit. This portable program helps you run some tests and detect issues related to hardware.