While the command is running, it's expected to see the process stuck at 20 or 40 percent. After a few minutes, the process will complete successfully.
If you need to repair Windows and have already tried the SFC.EXE /scannow command without success you can use the following commands as well to affect repair.
Use this command to run the advanced scan and carry out repairs automatically.
DISM /Online /Cleanup-Image /RestoreHealth
DISM /Online /Cleanup-Image /CheckHealth
Comment: Basic scan no action is taken.
DISM /Online /Cleanup-Image /ScanHealth
Comment: More advanced scan
While the command is running, it's expected to see the process stuck at 20 or 40 percent. After a few minutes, the process will complete successfully.