This pc came from the factory with windows 10 and I upgraded it to 11 over a year agoYou state being on Windows 11, where did you source the installer for the OS? As for your networking/installer issue, does the same issue crop up with anything else on your platform?
Did that. Didn't helpHave you verified that your Windows files are in good order (DISM and SFC)?
Use the System File Checker tool to repair missing or corrupted system files - Microsoft Support
Describes how to use the System File Checker tool to troubleshoot missing or corrupted system files in Windows 8.1, Windows 8, Windows 7 or Windows Vista.support.microsoft.com