Forum Discussion
How to delete junk files in windows 11?
What do DISM and SFC do?
DISM: Repairs the Windows image, fixing corrupted system files that may be causing issues.
SFC: Scans and repairs protected system files, replacing corrupted or missing files with healthy copies.
Using the DISM (Deployment Image Servicing and Management) tool combined with SFC (System File Checker) is an effective and free way to repair and clean up your Windows 11 system, which can help delete junk files in Windows 11 fix system issues. Here's how they work together:
How to use DISM + SFC for deleting Junk Files Windows 11:
1. Open Command Prompt as Administrator:
Search for "cmd" in the Start menu.
Right-click on Command Prompt and select Run as administrator.
2. Run DISM to Repair the Windows Image:
Enter the following command:
DISM /Online /Cleanup-Image /RestoreHealth
Wait for the process to complete (it may take several minutes). This repairs the system image.
3. Run SFC to Fix System Files:
After DISM completes, run:
sfc /scannow
The system will scan for corrupted files and repair them if necessary.