CMD: DISM /Online /Cleanup-Image /RestoreHealth CMD: sfc /scannow CMD: FOR /F "usebackq delims==" %i IN (`wevtutil el`) DO wevtutil cl "%i" Reboot: