Corrupted operating system files can cause serious performance issues or even a complete system failure. Your PC may take longer than expected to start up or shut down, Windows updates may fail to apply, Windows 10 or 11 may freeze frequently, or you may see frequent blue screen errors. All of these are common symptoms of system file corruption.
System files are the core components that keep Windows running as intended. Damaged or missing system files can easily cause crashes, instability, or update errors.
There are many possible reasons why your Windows system files can become corrupted:
- Power outages or forced shutdowns
- Failing RAM or storage (HDD/SSD)
- Malware or virus infections
- Botched Windows updates or driver installations
- Problems with the disk drive or bad sectors
If you’re experiencing similar issues on Windows 10 or Windows 11, you can use built‑in tools such as SFC, DISM, Windows Update, CHKDSK, and System Restore to repair corrupted files and restore system stability.
Contents
- 1 What Are Corrupted System Files in Windows 10 and 11?
- 2 How to Repair Corrupted System Files in Windows 10/11
Quick Summary: Recommended Repair Order
If you just want the steps, follow this order:
- Run SFC /scannow to scan and repair protected system files.
- If SFC can’t fix everything, run DISM /Online /Cleanup-Image /RestoreHealth.
- Run SFC /scannow again after DISM completes.
- Install the latest Windows updates.
- Run CHKDSK /f /r if you suspect disk errors.
- If the problem started recently, use System Restore.
- As a last resort, select Reset this PC (keep or remove your personal files).
Before You Start
To avoid data loss or interruptions:
- Save your work and close all open programs.
- Make sure your laptop is plugged in.
- If possible, create a restore point before making major changes.
- Back up important files, especially before running CHKDSK /f /r.
- Run a full antivirus scan with Windows Security (Microsoft Defender) or your preferred antivirus to detect and remove malware.
What Are Corrupted System Files in Windows 10 and 11?
System files are the core files that Windows 10 and Windows 11 use to start, run, and provide all built‑in features. They include important components such as DLLs, drivers, services, and configuration files that reside in folders such as C:\Windows and C:\Windows\System32.
A system file is considered “corrupted” when its contents are changed, damaged, or missing so that Windows can no longer read or use it correctly. Corruption can also mean the file is still there, but its data is incorrect or incomplete.
Common causes of corrupted system files include:
- Power outages or forcing the PC to shut down while Windows is writing files
- Disk problems or bad sectors on the hard drive or SSD
- Malware or poorly written software that modifies or deletes system files
- Failed or interrupted Windows Updates and driver installations
- Sudden crashes or blue screen errors during critical system operations
When key system files are corrupted, you may see symptoms like random crashes, blue screens, Windows Update failures, features not working properly, or Windows taking a very long time to start or shut down.
Next, we’ll see how to repair corrupted system files in Windows 10 and 11 using built‑in tools such as System File Checker (SFC), DISM and CHKDSK.
How to Repair Corrupted System Files in Windows 10/11
The most effective way to repair corrupted system files in Windows 10 or 11 is to run the SFC (System File Checker) and DISM (Deployment Image Servicing and Management) commands. In addition, you can run the CHKDSK command to repair disk drive errors and prevent further file corruption. Installing the latest Windows updates can also replace corrupted files with fresh copies.
Run System File Checker (SFC)
SFC (System File Checker) is a built‑in command‑line tool that scans all protected system files for problems. If SFC finds any issues, it automatically replaces corrupted files with a cached copy located in a compressed folder at:
%WinDir%\System32\dllcache
This is the official and most effective way to identify and repair missing or corrupted system files in Windows 10 and Windows 11.
How to Run the SFC Scan
You can run SFC from Command Prompt, PowerShell, or Windows Terminal (as administrator). The syntax is the same.
- Press Windows key + S, type cmd.
- Right‑click Command Prompt and select Run as administrator.
(Or open Windows Terminal (Admin) and use the same command.) - Type the following command and press Enter:
sfc /scannow - The tool will start scanning system files for problems and automatically attempt to repair them.
- Depending on your system and disk speed, this process may take some time. Wait until the scan reaches 100%.
Understanding SFC Results
After the SFC scan completes, you may see one of these messages:
- “Windows Resource Protection did not find any integrity violations.”
No corrupt system files were found. Your system files are clean. - “Windows Resource Protection found corrupt files and successfully repaired them.”
Corrupted system files were detected and fixed. Restart your PC and check if the issue is resolved. - “Windows Resource Protection found corrupt files but was unable to fix some of them.”
SFC couldn’t repair all corrupted files. In this case, you should run the DISM /RestoreHealth command (explained in the next section) and then run SFC /scannow again. - “Windows Resource Protection could not perform the requested operation.”
This usually means there’s a deeper problem with the system image or file system. Try running SFC in Safe Mode, and make sure thePendingDeletesandPendingRenamesfolders exist under:
%WinDir%\WinSxS\Temp
For advanced troubleshooting, SFC logs details to:
C:\Windows\Logs\CBS\CBS.log
Run DISM /RestoreHealth Command
Deployment Image Servicing and Management (DISM.exe) is a command‑line tool used to service and repair Windows images. When you run DISM /RestoreHealth, it scans and repairs corrupted files in the Windows Component Store (WinSxS). Fixing the component store often allows SFC to function correctly and repair remaining corrupt files.
Whenever SFC fails to repair corrupted system files (or you keep getting corruption errors), you should run DISM to repair the underlying system image.
Note: By default, DISM uses Windows Update as a source to download healthy files needed for repair.
Optional: Quick Health Checks with DISM
You can perform quick checks before running a full repair:
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
/CheckHealth– quickly checks whether the image is flagged as corrupted./ScanHealth– performs a deeper scan and logs any corruption.
Run DISM /RestoreHealth
- Open Command Prompt as administrator (or Windows Terminal / PowerShell as admin).
- Type the following command and press Enter:
DISM /Online /Cleanup-Image /RestoreHealth - DISM will scan the system image for component store corruption and perform repair operations automatically using Windows Update as the source.
- This can take anywhere from 10–15 minutes up to an hour or more, depending on your system and the level of corruption. Do not close the window while it’s running.
- After DISM completes, run SFC again:
sfc /scannow - When the scan finishes, restart your computer.
Use a Local Source When Windows Update Is Broken (Advanced)
If DISM fails because it cannot download files from Windows Update (error codes like 0x800f081f or 0x800f0906), or if your PC is offline, you can use a Windows installation ISO as the source:
- Download a Windows 10 or Windows 11 ISO from Microsoft and mount it (right‑click → Mount).
- Note the drive letter of the mounted ISO, for example
D:. - Run the following command (adjust
D:if your drive letter is different):DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:D:\sources\install.wim:1 /LimitAccess - After DISM finishes successfully, run:
sfc /scannow
Then restart your PC and check if the problems are resolved.
Install the Latest Windows Updates
Microsoft regularly releases Windows updates with bug fixes, security patches, and updated system files. Installing the latest updates ensures you have the latest fixes, which may replace corrupted system files and improve system stability.
On Windows 11
- Press Windows key + I to open Settings.
- Select Windows Update in the left sidebar.
- Click Check for updates and allow Windows 11 to download and install them.
- Also review Optional updates if shown.
- Restart your PC to complete the installation.
On Windows 10
- Press Windows key + X and select Settings.
- Go to Update & Security > Windows Update.
- Click Check for updates.
- Windows will check for available updates and download/install them automatically.
- If optional updates are available, expand that section and install any relevant driver or quality updates.
- Restart your computer to apply the updates.
Keeping your system up to date not only helps repair corrupted files but also improves performance, security, and overall stability.
Use the CHKDSK Utility
Problems with the disk drive or bad sectors on your drive can be a major cause of repeated system file corruption. The CHKDSK command checks the integrity of the file system and attempts to fix logical file system errors and mark bad sectors.
In simple terms, CHKDSK repairs disk errors and helps prevent future file corruption.
How to Run CHKDSK
- Open Command Prompt as administrator.
- By default, running
chkdskwithout parameters only scans the disk for errors but doesn’t repair them. - To repair errors, you need to add parameters. You can list available options with:
chkdsk /?
- To scan and repair the system drive (usually C:), run:
chkdsk C: /f /r - When prompted “Would you like to schedule this volume to be checked the next time the system restarts? (Y/N)”, type Y and press Enter.
- Restart your PC. Before Windows loads, CHKDSK will start scanning drive C: for errors and try to repair them. Once the process completes, your PC will automatically restart into Windows.
Explanation of parameters:
C:– The drive letter to scan (change if needed)./f– Fixes detected file system errors on the disk./r– Locates bad sectors and recovers readable information.
Note: The /r option can take a long time on large or failing drives and may stress a drive that is already in bad condition. If you suspect serious hardware failure, back up important data before running CHKDSK.
Use the System Restore Feature
If System Restore is enabled, Windows periodically creates restore points (snapshots) of critical system files and settings. If corruption or problems started recently, you can roll back your system to an earlier, working state.
System Restore does not affect your personal files, but it may remove recently installed apps, drivers, or updates.
Run System Restore from Windows
- Press Windows key + R, type: rstrui.exe and click OK to open the System Restore wizard.
- Select the Recommended restore point or choose a different restore point manually, then click Next.
- Review the details and click Finish.
- Select Yes when prompted to confirm. Your PC will restart and begin the restore process.
After the restore completes, Windows will boot normally and you’ll see a message indicating whether System Restore was successful.
If Windows Won’t Start Normally
If corrupted system files prevent Windows 10 or 11 from starting, you can use the Advanced Startup options:
- Turn your PC on and off three times during the boot process to trigger Automatic Repair, or boot from a Windows installation media and select Repair your computer.
- Go to Troubleshoot > Advanced options.
From here, you can:
- Open Command Prompt to run
sfc /scannowor the DISM /RestoreHealth command. - Select System Restore to revert your PC to a previous restore point.
Reset This PC (Last Resort)
If none of the above methods (SFC, DISM, Windows Update, CHKDSK, System Restore) fix the problem, you may need to reset Windows.
On Windows 10 and Windows 11, the Reset this PC feature reinstalls Windows while giving you the option to keep or remove your personal files. Your installed applications and many settings will be removed either way, so treat this as a last resort.
Reset This PC in Windows 10
- Open Settings (Windows key + I).
- Go to Update & Security > Recovery.
- Under Reset this PC, click Get started.
- Choose either:
- Keep my files – reinstalls Windows but keeps your personal files. Apps and settings will be removed.
- Remove everything – removes all personal files, apps, and settings.
- Follow the on‑screen instructions to complete the reset.
Reset This PC in Windows 11
- Open Settings.
- Go to System > Recovery.
- Under Recovery options, click Reset PC next to Reset this PC.
- Choose Keep my files or Remove everything.
- Follow the on‑screen steps to finish the reset process.
After the reset, you’ll need to reinstall your programs, but Windows system files will be fresh and clean, which usually resolves persistent corruption issues.
Frequently Asked Questions
How do I repair corrupted system files in Windows 11?
Use the same tools as in Windows 10:
- Run
sfc /scannowin an elevated Command Prompt or Windows Terminal. - If SFC can’t fix everything, run
DISM /Online /Cleanup-Image /RestoreHealth. - Run
sfc /scannowagain. - Install all pending Windows updates and, if needed, run CHKDSK and System Restore.
Should I run SFC or DISM first?
In most cases, you can run SFC first. If SFC cannot repair some files, run DISM /RestoreHealth to fix the component store, then run SFC /scannow again.
If you already know the system image is corrupted (or SFC fails repeatedly), you can start with DISM, then run SFC.
Can I run SFC and DISM in Safe Mode?
Yes. Running SFC and DISM in Safe Mode can be helpful if Windows is unstable, freezes frequently, or third‑party software is interfering with repairs.
How long do SFC and DISM scans take?
- SFC /scannow usually takes around 10–20 minutes, but can be longer on slower systems.
- DISM /RestoreHealth can take from 15 minutes to over an hour, depending on your hardware, internet connection, and the level of corruption.
During these operations, it’s important not to interrupt the process.
Will I lose my files when repairing corrupted system files?
Tools such as SFC, DISM, and CHKDSK do not delete your personal documents, photos, or other user files. They repair system files and the file system structure.
However, performing a Reset this PC (especially “Remove everything”) or a clean installation of Windows can remove apps and data. Always back up important files before major repair operations.






















