Deployment Image Servicing and Management (DISM.exe) is a command-line tool that can be used to service and prepare Windows images.^[[DISM Overview | Microsoft Learn](https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/what-is-dism?view=windows-11)]
1. Scan the image for corruption
```cmd
Dism /Online /Cleanup-Image /ScanHealth
```
2. Check to see whether any corruption has been detected.
```
Dism /Online /Cleanup-Image /CheckHealth
```
3. Repair the image