I have a Windows 10 installation that got into a blue screen boot loop after a system crash. I assumed the registry got corrupted since that happened 32 times in the past with this device and putting a backup of the registry back made the system boot but it wouldn't function properly because the registry backup was from 21H2 and the system files were updated to 22H2. To solve that I copied the system files from 21H2 I had in a backup over the updated system files, and the Windows 10 installation works again, it connects to the internet again and the apps and start menu work.
But there are still many other problems, running DISM gives me error 87, the cleanup-image option is unknown. SFC tells me the system was repaired successfully but it doesn't solve any problems. Putting back the newer registry just causes the blue screens to come back.
I want to use a Windows ISO file of Windows 10 Pro 22H2 to perform an in-place upgrade install so the system is completely refreshed but my registry, settings, apps, profiles, and wifi passwords are conserved. The installation starts and goes to 90%-100% but never reboots. Instead it gives me an error stating that the Windows installation has failed, the error logs are empty, and safe boot, nor anything else I found online seem to fix the error.
It could be that the permissions of some files are incorrect but I don't understand why nothing I try seems to do anything. To get around this I would like to know if it's possible to manually copy the files from a good windows image onto my corrupted installation to get it in a state that's stable enough to get the Windows upgrade tool to refresh the operating system.
Google has never helped me fix anything when my Windows installations run into issues. Every single website shows the exact same, useless steps that are just some general solutions to the most basic problems. Completely useless to me 90% of the time. I asked ChatGPT for help and got nothing useful out of that either. Can someone explain how you can install Windows manually by using a command prompt, or by just using Windows Explorer? I also want to know how to transfer settings and wifi passwords from backups of older installations.
After experiencing stuff like this as many times as I did, it's very annoying that Microsoft disabled the automatic RegBack feature, I can only suggest to manually regularly backup your entire registry under C:\Windows\System32\config. The system itself rarely gets damaged, but the registry breaks very often when the system crashes, sometimes completely wiping the contents of the registry even, rendering the entire system useless.