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

Samsung QN90D 98-inch review: solid and classy, but worth the price tag? | Tech Reader

Samsung QN90D 98-inch QLED TV “The QN90D series is excellent, but the 98-inch model fell apart for us.” Pros Excellent color accuracy Deep blacks, impressive contrast Solid on-board...

Space station crew had an amazing stroke of luck during Starship launch | Tech Reader

NASA astronaut and current space station inhabitant Don Pettit seems to have the luck of the stars. During SpaceX’s sixth test flight of...

3 great dramas on Amazon Prime Video you need to watch in November 2024 | Tech Reader

Never let it be said that Amazon Prime Video isn’t stacked with great dramas. Amazon wasn’t content to only have the great MGM...

Get ready for AI-dubbed YouTube videos | Tech Reader

YouTube has reportedly started rolling out a new AI-empowered translation feature for its content creators, one that will automatically redub a video’s contents...

ChatGPT’s latest model may be a regression in performance | Tech Reader

According to a new report from Artificial Analysis, OpenAI’s flagship large language model for ChatGPT, GPT-4o, has significantly regressed in recent weeks, putting...
spot_img