Skip to content

Instantly share code, notes, and snippets.

@rogue-agent
Created November 23, 2021 22:59
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rogue-agent/5f7ad797e452df8d3d3ac8520b535235 to your computer and use it in GitHub Desktop.
Save rogue-agent/5f7ad797e452df8d3d3ac8520b535235 to your computer and use it in GitHub Desktop.
1Liner; SFC and DISM, windows image repair, cleanup and restoration
sfc /scannow && DISM.exe /Online /Cleanup-image /Scanhealth && DISM.exe /Online /Cleanup-image /Restorehealth