I had the same problem when I was setting up my sister's computer last month. What fixed it for me was using a USB stick instead of a DVD. I made sure to format the USB properly and used the Windows Media Creation Tool to get the ISO. Also, I unplugged everything that wasn't necessary (like my external hard drive and printer) during the installation.
Windows 10 support window is now up as of October 2025. So it’s upgrade time or move to something else…