Hello,
Instead of upgrading straight to 24H2, I would recommend updating to 23H2 (released in the second half of 2023), the version before 24H2, and then using the steps I mentioned to vernglo vernglo (I can tell you the directions if you need)
To do this, you will need to download an enablement package from the Microsoft Update Catalog.
However, to make things easier, the direct download link to download the 23H2 enablement package is linked below, located at https://catalog.sf.dl.delivery.mp.microsoft.com/filestreamingservice/files/caa3ff4a-6420-4341-aeae-33b2d7f463be/public/windows11.0-kb5027397-x64_3a9c368e239bb928c32a790cf1663338d2cad472.msu. Once the .msu file finishes downloading, double click the file in your downloads folder and then you should see a window that is named "Windows Standalone Update Installer".
Let the Windows Standalone Update Installer install the enablement package, and then if prompted, restart your PC.
Then, you should be on Windows 11, version 23H2. You can check by opening the Start Menu, typing winver, then pressing the Enter key on your keyboard, and then it should say something like "Microsoft Windows Version 23H2".
Windows 11 23H2 isn't out of service just yet, so you can stay on 23H2, but if you would like to upgrade to 24H2, you can just ask for the instructions.
Let me know how this goes.