Wednesday, August 10, 2022

SFC and DISM

Always run dism before sfc.

dism /online /cleanup-image /restorehealth

Then sfc

sfc /scannow

But then you need to check the sfc logs and might have to run it again.  It is kind of like Windows Update in that way.

Check the logs:

cd\
findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >sfclog.txt
 

No comments:

Post a Comment

Use the Microsoft Learn Platform to imrpove our Azure, Defender, etc. skills

From Reddit One of the biggest frustrations when I was trying to get hands-on with Microsoft's stack was that you simply can't pract...