Select Troubleshoot -> Advanced options And choose the command prompt.
Also, use the Official Windows Upgrade Assistant orMedia Creation ToolFor a smooth And Error Free Upgrade process.
I hope this time you get success to Upgrade Windows 10 2022 update Version 22H2.