Is your Windows 11 PC shutting down or restarting automatically while you are working or an application crashes? Usually, such issues occur due to corrupted system files on your computer.
When you download and install an application from an unauthenticated source, there is no guarantee that all files will be present for the application to install and run without problems. Installing such applications with certain files missing may cause problems during installation. Sometimes you will find that the installation of such applications goes very smoothly, but when running, you will encounter an error message stating that some files are missing or damaged. System files can be damaged by interruptions during application installation, such as system crashes, power outages, or network outages.
In this article, we have discussed some fixes that can help you resolve file corruption issues on your Windows 11 computer.
1. Click the Windows key and enter cmd in the search box.
2.Right-click Command Prompt in the search results and select Run as administrator.
#3. Type the command given below and press Enter.
sfc /scannow
4. Wait for some time for System File Checker to verify the system files. Do not interrupt the process and leave the command prompt open.
#5. It identifies any issues and repairs system files.
6. If the scan completes with any of the following messages, then go to the next fix and perform a DISM scan.
Windows Resource Protection found corrupt files but was unable to repair some of them
Windows Resource Protection did not find any integrity violations
7. If you see a message that the file was successfully repaired, check to see if the issue has been resolved.
1. Press the Windows and R key combination to open " Run"dialog box.
2. Type cmd and press Ctrl Shift Enter to open Command Prompt as administrator.
#3. Execute the following command to perform a DISM scan.
DISM /在线 /Cleanup-Image /RestoreHealth
4. The DISM tool may take a few minutes to complete the repair process. It helps in repairing any corruption issues that cannot be detected by SFC tools.
5.Restart your PC after the tool has finished running. Check if the corruption issue has been fixed.
1. Open Run using the Windows and R keys on your keyboard.
2. Type msconfig and press Enter to open the system configuration.
3. In the System Configuration window, navigate to the Boot tab.
4. Select the Secure Boot option in the Boot Options section.
5. Click Apply and then click OK to apply and save the changes.
6.Restart your computer.
7. After the system restarts in safe mode, press the Windows key and type cmd in the search box.
8.Right-click Command Prompt in the search results and select Run as administrator.
9. Enter the following command and execute it.sfc /scannow
1. Press Windows R to open Run.
2. Enter rstrui and press Enter key to open System Restore.
3. In the "System Restore" window, select the recommended restore point or select Different restore points.
NOTE: You can create a restore point if you have not created any restore points so far. Follow the steps in this article to create a new restore point.
4. If you have previously created a system restore point, select Select a different restore point and click Next.
5. Select the restore point you want to use and click Next.
6.Confirmselected restore point and click Finish to start the process.
7. Wait for some time until the recovery process is completed. Check if the issue has been resolved.
6. In step 4, you can use Recommended Restore and click Next to restore the system Restore to a previous point in time.
If none of the above fixes resolve the issue of corrupted system files in Windows 11, then you can try performing a system reset using the steps mentioned in this article.
The above is the detailed content of How to repair corrupted files in Windows 11 or 10. For more information, please follow other related articles on the PHP Chinese website!