Part of the Twomey PC Repair Toolbox — independent tech repair shop in Highland, Arkansas.
No adware. No sponsor offers. No bundled junk.
Runs the standard four-stage Windows corruption repair sequence in order:
chkdsk /scan— read-only scan of the system drive for filesystem issues.sfc /scannow— System File Checker repairs protected Windows files.DISM /Online /Cleanup-Image /RestoreHealth— repairs the underlying component store thatsfcpulls from.sfc /scannow(again) — final verification pass now that DISM has healed the component store.
The second sfc is what catches anything the first pass couldn't fix because the component store itself was damaged.
- Windows feels unstable, throws random errors, or apps crash on launch.
- Updates fail to install with cryptic component-store errors.
sfc /scannowreports "found corrupt files but was unable to fix some of them".- General "something's off" diagnostic before reaching for a reinstall.
| File | For |
|---|---|
SystemCorruptionRepair.bat |
Classic batch — right-click → Run as administrator. |
SystemCorruptionRepair.ps1 |
PowerShell — run from an elevated PowerShell window. |
Both versions do exactly the same thing — pick whichever you prefer.
- Windows (any modern version)
- Administrator privileges (the script will refuse to run otherwise)
- A working internet connection is recommended — DISM may pull replacement files from Windows Update.
Right-click SystemCorruptionRepair.bat → Run as administrator.
From an elevated PowerShell window:
powershell -ExecutionPolicy Bypass -File .\SystemCorruptionRepair.ps1- This is not quick. End-to-end runtime is typically 20-60 minutes depending on disk size and how much DISM has to download.
- Don't interrupt mid-run. If a stage fails the script keeps going so the later stages can still help — review the on-screen output when it finishes.
chkdsk /scanis read-only and safe; it does not schedule a reboot-time repair. If you need full repair, runchkdsk /fseparately.