I recently switched from Windows 10 to Windows 11. I did a fresh install from a USB drive, not an "upgrade" install, but I just let Windows Setup shove the previous OS files into C:\Windows.old\ rather than formatting the drive.
When trying to reinstall Microsoft Flight Simulator 2020...