Windows System Files

SFC (System File Checker)

SFC /SCANNOW

SFC /VERIFYONLY

Log will be available in C:\Windows\Logs\CBS\CBS.Log
Corrupt system files are one of the causes of “Werfault.exe Application Error.”

dism.exe /online /cleanup-image /checkhealth

Component Store (WinSxS)

WinSxS stands for Windows Side-by-Side

DISM (Deployment Image Servicing and Management)

Corruption

To check for corruption...

dism /online /cleanup-image /checkhealth

To see if it's repairable...

dism /online /cleanup-image /scanhealth

To repair...

dism /online /cleanup-image /restorehealth

Note that restorehealth may prompt for you to mount the installation media
If you have a .wim or .esd file, tell dism where to find it...dism /online /cleanup-image /restorehealth /source:wim:mywinimage.wim:1dism /online /cleanup-image /restorehealth /source:esd:/mywinimage.esd:1

Space

dism /online /cleanup-image /analyzecomponentstore

If Component Store Cleanup is Recommended...

dism /online /cleanup-image /startcomponentcleanup

In this case, we are prompted to restart. This seems to be because some patch related tasks may be pending. The restart should clear much of the Cache and Temporary Data usage.

Disk Cleanup

You would normally expect to see a Windows Update Cleanup option. Possibly not visible on this test environment because it seems to need a reboot.

Task Scheduler

Drivers

driverquery

Bibliography