New
#1
What is the correct order of DISM and sfc commands to fix problems?
Today i updated my system to build 2004.
Everything went fine and so far i haven't had any problems.
For good meassure i ran sfc /verifyonly and it found some problems.
From reading here in the forum and from this Microsoft support document, it is recommended first to run
DISM.exe /Online /Cleanup-image /Restorehealth
and then
sfc /scannow
Here in the forum i found this thread where it is recommended to run DISM and sfc in this order:
1) Dism.exe /online /Cleanup-Image /checkhealth
2) Dism.exe /online /Cleanup-Image /scanhealth
3) Dism.exe /online /Cleanup-Image /Restorehealth
4) sfc /scannow
5) Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore
6) Dism.exe /Online /Cleanup-Image /StartComponentCleanup
I seem to remember that i have seen other recommendations elsewhere (can't remember where).
So i was wondering: Is there a consensus on the correct order of DISM and sfc commands to to repair missing or corrupted system files?