Windows system file check

From snippet wiki
Jump to navigation Jump to search

A regular check for unhealthy systems:

sfc /scannow

In case it can't repair anything it might find:

Dism /Online /Cleanup-Image /StartComponentCleanup
Dism /Online /Cleanup-Image /RestoreHealth

The shell has to be started with admin rights. And the usual reboot afterwards might be helpful too.