As far as I know,
sfc /scannow attempts to fix corrupted system files from Windows Component Store and it doesn't require internet connection.
Dism /Online /Cleanup-Image /RestoreHealth attempts to fix corrupted system files from Windows Update therefore internet access is required.
If you ever encounter problems, you should run
sfc /scannow first and if it doesn't succeed, then run
Dism /Online /Cleanup-Image /RestoreHealth. When Dism command is done, just run
sfc /scannow again and restart PC. That's it!
