- What is DISM
- DISM is a Microsoft command-line tool for repairing Windows system images
- It repairs corrupted files and downloads replacement files from Windows servers
- DISM does not reinstall Windows, only repairs critical core files
- Command Options
- /checkhealth performs basic corruption detection
- /scanhealth performs comprehensive corruption scan
- /restorehealth scans and repairs corrupted files
- /online indicates online image modification
- Usage Steps
- Run command prompt as administrator
- Use /Online /Cleanup-Image /ScanHealth first
- Run /Online /Cleanup-Image /CheckHealth to determine repairability
- Use /Online /Cleanup-Image /RestoreHealth for automatic repair
- Troubleshooting
- Error 0x800f0954 often caused by antivirus interference
- Windows Update service must be running
- Windows installation media can be used as alternative source
- SFC command needed after DISM to repair actual installation files
- Important Notes
- Scanning takes 5-10 minutes
- Internet connection required for automatic file restoration
- DISM won't delete user data or apps
- Command can be run through PowerShell