(This is for the Windows 11 HOME version by the way. Ask ChatGPT how they would differ for your version specifically and run that instead!)
IMPORTANT
I forgot to include the following commands into this imgur screenshot library to show the full list of commands that I used in my specific case. Instead of just this singular command, copy and paste the entire set below into an admin PowerShell or Command Prompt:
MAKE SURE TO CHANGE THE DRIVE LETTERS TO YOUR RESPECTIVE CORRUPTED DRIVE AS IT APPEARS FROM WITHIN YOUR SYSTEM!!
Obviously, mine is C:\ and D:\ (D being the MOUNTED drive letter)
FIRST: download a fresh Windows ISO of the latest publicly available version.
When I downloaded directly from Microsoft's website it gave me 25H2 ISO.
Next: Right click on the ISO → click "MOUNT" and take note of the drive letter that gets assigned to the mounted ISO!
===================================================================
DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\sources\install.wim:1 /LimitAccess
dism /online /cleanup-image /restorehealth
sfc /scannow
net stop wuauserv
net stop cryptsvc
net stop bits
net stop msiserver
ren C:\Windows\SoftwareDistribution SoftwareDistribution.old
ren C:\Windows\System32\catroot2 catroot2.old
net start wuauserv
net start cryptsvc
net start bits
net start msiserver
===================================================================
(ALL OF THESE COMMANDS REQUIRE POWERSHELL TO BE RUN AS ADMINISTRATOR)