Skip to content

Instantly share code, notes, and snippets.

@kolosovpetro
Last active October 11, 2023 16:35
Show Gist options
  • Save kolosovpetro/b0f8c15a7fd6a79f5cd3d70faf59d076 to your computer and use it in GitHub Desktop.
Save kolosovpetro/b0f8c15a7fd6a79f5cd3d70faf59d076 to your computer and use it in GitHub Desktop.
To restore windows
sfc /scannow
chkdsk C: /f /r /x
chkdsk D: /f /r /x
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
DISM /Online /Cleanup-Image /RestoreHealth /Source:F:\Sources\install.wim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment