Microsoft has released a tool called PC Health Check. The tool can run on Windows devices and determine whether they are compatible with the company's upcoming Windows 11 operating system. Microsoft later announced that its tool is not reliable (original).
But even if it worked, it did not reveal why the device is not compatible, indicating what the problem is. So you have to check every component of your computer manually.





