# Windows OS Repair

#### CHKDSK

Run to check the disk for corruption on the NTFS partition.

```powershell
chkdsk
```

#### SFC

Run SFC to check for corrupted system components. If some are found run DISM and then rerun SFC.

```powershell
sfc /scannow
```

#### DISM

Run if SFC found corruption to repair the component store and then rerun SFC.

```powershell
Dism /online /cleanup-image /restorehealth
```

#### Resources

[https://rtech.support/guides/dism-sfc/](https://rtech.support/guides/dism-sfc/)