On another PC, download the
Windows 10 media creation tool and use it to make a win 10 installer on USB
Once you have USB, put it in the PC that won't update
open file explorer (win + e key)
navigate to USB drive
run setup. exe
agree to upgrade current PC
It will restart and install 22H2 and probably fix this problem.