DxDiag:
Start -> Run -> type dxdiag and hit enter
or
Start -> type dxdiag and hit enter
Then click save all information and it'll put it into a DxDiag.txt file.
MS Info:
1. Press Windows Key + R.
2. Type MSInfo32 and press Enter.
3. In the MSInfo diagnostic window, Click File, then Save.
4. When the Save As window appears, choose Desktop.
5. Name the file "MSInfo" and click Save.