How to scan and repair corrupted system files in Windows 11

Date:

Share:


Over time, any Windows 11 computer will experience system corruption and eventually failure. Regular maintenance will repair system files and prevent future problems.

Image: Mark Kaelin/TechRepublic

One inescapable truth of using computer technology is that eventually, and probably inexplicably, it will fail you in some way. Whether it is unexplainable glitches, untimely errors, frustrating slowdowns or outright failures to boot, IT pros or the users themselves will inevitably be required to troubleshoot the problem and perform maintenance on their Windows 11 systems.

SEE: Google Workspace vs. Microsoft 365: A side-by-side analysis w/checklist (TechRepublic Premium)

Often the culprit for a significant number of frustrating computer problems are corrupted Windows system files. The system files control almost every aspect of your computer at the most fundamental level. Scanning and repairing system files in Windows 11 is a two-step process involving two old, but reliable command prompt utilities — System File Checker and Deployment Image Servicing and Management.

How to scan and repair corrupted system files in Windows 11

System File Checker and DISM have been part of the IT pro’s toolkit for decades, but they are still extremely useful. The following procedure will work with Windows 10 as well.

This is a two-step procedure. We will use DISM to update the backup Windows 11 system files stored on our system storage device and then use System File Checker to update the system files currently in use by Windows 11.

As a safety precaution, the backup system files are stored separately from the system files Windows 11 uses on a day-to-day basis. However, those backup system files may also be corrupted. Using DISM, we will update to the latest Windows 11 system files directly from Microsoft servers.

To start, we will need to open an administrative level command prompt. Type “command prompt” into the Windows 11 desktop search tool, right click the Command Prompt app and select the Run as administrator option from the context menu.

At the prompt, as shown in Figure A, type this command and press Enter:

DISM.exe /Online /Cleanup-image /Restorehealth

Figure A

Image: Mark Kaelin/TechRepublic

The retrieval process could take a few minutes to complete depending on your internet connection and bandwidth speeds. The app will track its progress and then display a successful completion message when it is finished.

Now that we have updated and potentially repaired our backup Windows 11 system files, we can scan for errors and apply repairs using the System File Checker. Type this command at the prompt and press Enter, as shown in Figure B: sfc /scannow.

Figure B

Image: Mark Kaelin/TechRepublic

Once again, the verification process could take a few minutes to complete, but the application will let you know when it is finished.

As you can see in our example, several corrupt files were found and repaired, even on a Windows 11 PC that had not been crashing or exhibiting other signs of poor performance or unreliability. Another indication of the importance of regular and routine system maintenance.

Once the procedure is complete, exit out of the command prompt screen. Your Windows 11 system files are now fully scanned and repaired with their most up to date versions.



Source link

━ more like this

5 movies leaving Amazon Prime Video in December 2024 you have to watch

Table of Contents Table of Contents Joker (2019) The Batman (2022) Raiders of the Lost Ark (1981) The Theory of Everything (2014) Coraline (2009) So, you’re looking for a good...

Blake Lively sues her ‘It Ends With Us’ co-star and director Justin Baldoni for sexual harassment

Blake Lively is filing a lawsuit against Justin Baldoni, her co-star and director on It Ends With Us, claiming that Baldoni sexually harassed...

Labour MP warns there will be ‘consequences’ for businesses with Chancellor’s NI tax hike – London Business News | Londonlovesbusiness.com

A senior Labour cabinet MP has warned that there will be “consequences” for businesses amid the Chancellor’s National Insurance contributions...

Daniel Stern says Joe Pesci really bit Macaulay Culkin’s finger during ‘Home Alone’

Home Alone is an undeniable Christmas classic, but it’s also a pretty light, fun movie. Of course, just because it plays like a comedy...

Labour could attempt to ban Elon Musk donating millions to Reform UK with new laws – London Business News | Londonlovesbusiness.com

Labour is on the ropes and are worried that Reform UK will take a large chunk of their voters and...
spot_img