This article explains how to run a diagnostic in Windows 10 and Windows 11.
How do you test for hardware errors in a computer?
There are a few ways to create system diagnostic reports in Windows 10 and 11. In addition to the built-in Windows options, many hardware manufacturers have troubleshooting tools, and there are also third-party apps for diagnosing computer hardware issues.
If you can't figure out what's wrong with your PC, start with the Windows troubleshooter:
In Windows 11, go to Settings > System > Troubleshoot.