Problems installing and running games

Hello, I have problems running some games on a LeNovo Windows 11 notebook, Processor: 11th Gen Intel(R) Core™ i5-11300H @ 3.10GHz (8 CPUs), ~3.1GHz, Memory: 8192MB RAM which has the video card Card name: Intel(R) Iris(R) : 7940 MB, Dedicated Memory: 3953 MB, Shared Memory: 3987 MB installed on the same notebook. The games that I cannot install are Command & Conquer Generals and Command & Conquer Generals Zero Hour. Interestingly, these same games run on W7 notebooks with lower CPUs and lower capacity graphics cards. What happens?

Check out:

https://support.microsoft.com/en-us/windows/make-older-apps-or-programs-compatible-with-windows-783d6dd7-b439-bdb0-0490-54eea0f45938