In today's guide, you will learn how to repair Windows 10 or 11 if you're experiencing issues such as corrupted files, slow performance, or Windows update problems, without needing to reinstall the operating system.
Open Command Prompt as Administrator: This is required to execute the repair commands.
Check for Corruption:
Basic Check:
DISM /Online /Cleanup-Image /CheckHealth
This command assesses if the Windows image is flagged as corrupted without making changes.
Detailed Scan:
DISM /Online /Cleanup-Image /ScanHealth
This scans the system for corruption and logs any issues.
Attempt Repair:
DISM /Online /Cleanup-Image /RestoreHealth
Connects to Windows update to download necessary files for repair. Ensure your internet connection is active.Use Local Repair Source if Needed:
sources
folder for install.wim
or install.esd
.DISM /Online /Cleanup-Image /RestoreHealth /Source:<path> /LimitAccess
Clean Up Component Store:
Start Component Cleanup:
DISM /Online /Cleanup-Image /StartComponentCleanup
Frees up space by removing old Windows update files.
Analyze Component Store:
DISM /Online /Cleanup-Image /AnalyzeComponentStore
Provides an overview of potential space savings.
Thorough Repair with System File Checker:
DISM /Online /Cleanup-Image /RestoreHealth
sfc /scannow
Replaces any missing or corrupted system files.With these DISM commands, you can troubleshoot, repair, and optimize your Windows installation. Always run Command Prompt as an administrator and consider using local sources if necessary.
Feel free to ask questions or provide advice by commenting below. Support our channel by liking, commenting, and subscribing!
Thank you for watching, and have a nice day!