I just got gifted an HP Pavilion 570-p017c (i5-7400) that had bad USB 3 ports. Saw that the processor socket is LGA1151, so I thought (like a dummy) that an 8th gen processor would work. Bought a cheap used motherboard without thinking while I was at the client's house. But the H270 chipset is 6th and 7th gen only. Still learning about the newer equipment. sigh. EDIT: and the motherboard is a custom size. The 8th gen and later HP systems have ports on the back and front of the motherboard, obviating the need for an extra front panel board. Can't be used in the gifted system.
Don't really want to spend the money on an 8th gen system, even used. What I have been gifted is faster than my existing Dell Optiplex 7010 (i3 3rd gen). All I'm using it for is a test system for work (I work for myself) that runs Windows natively, so I can recover disks and work with them safely. Am going to consolidate two SSD's down to one 1 TB NVMe Samsung drive and run docks externally.
I also need to learn Windows 11. The more I read about how historically Microsoft is tightening down the requirements, makes me wary of setting this up with Windows 11. It has TPM 2.0, Secure Boot and UEFI already.