Powershell

  1. Repair-Volume -DriveLetter C -Scan
  2. Reboot
  3. Repair-WindowsImage -Online -RestoreHealth
  4. sfc.exe /scannow

CMD

  1. ChkDsk c: /scan /forceofflinefix
  2. Reboot
  3. DISM.exe /online /cleanup-cmage /restorehealth
  4. SFC.exe /scannow