Created
November 23, 2021 22:59
-
-
Save rogue-agent/5f7ad797e452df8d3d3ac8520b535235 to your computer and use it in GitHub Desktop.
1Liner; SFC and DISM, windows image repair, cleanup and restoration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sfc /scannow && DISM.exe /Online /Cleanup-image /Scanhealth && DISM.exe /Online /Cleanup-image /Restorehealth |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Documentation:
SFC: https://support.microsoft.com/en-us/topic/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system-files-79aa86cb-ca52-166a-92a3-966e85d4094e
DISM: https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/repair-a-windows-image?view=windows-11