In an admin command prompt, did you run:
dism /online /cleanup-image /restorehealth
Did it seem to get stuck at a certain percentage? No, DISM is not stuck! Separately, use this PowerShell command (as admin) to find out what it’s up to:
Get-Content C:\Windows\Logs\CBS\CBS.log -tail 10 -wait
This is very similar to the tail command in Linux.
tail -f /var/log/maillog
IMPORTANT NOTE: This process EATS RAM. If you have less than 16GB it may take a very long time as the system will then require VRAM significantly slowing down the repair process.
Additionally that powershell command can also be used to monitor:
sfc /scannow
Category: