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

Powershell

Connect to your 365 instance. You have to do connect first, always.  Powershell ISE can't be used.  If you try you'll get a "A ...