Thought I would share this little gem I just found out about. I have always used the System File Checker in Windows to detect and (sometimes) repair corrupted system files. Although, at times, it finds files that it cannot repair. This is when things get aggravating and I would have to skim over the CBS.log file in order to find what file was corrupt and try to manually replace it.

Today, I came across this issue and decided to do some searching. I found a command that I had never before been introduced to:
DISM /Online /Cleanup-Image /RestoreHealth

The Development Image Servicing and Management tool ! With the specified /online switch, it recovers corrupted files for the OS that is currently running. No more, inserting installation disks and searching for the file or searching through backups.

As you can see in the attached screen shot, my SFC found a corrupt file and was unable to restore it. I ran the DISM and it recovered the corrupted file. Another SFC afterwards confirmed, no more corrupted system files.

I hope that this helps and excites some of you like it did me. For those of you who already knew about it… don’t rub it in!

Have a wonderful Weekend!

 1,405 total views