After performing an in-place upgrade to Windows 11 version 24H2, the system will keep a copy of the previous installation, but you can always delete these files to free up space. In this guide, I'll show you two ways to complete this task.

source https://www.windowscentral.com/software-apps/windows-11/how-to-reclaim-space-after-upgrading-to-windows-10-2024-update-version-24h2