How do you repair Windows OS if it contains corrupted files or unknown issues? (two ways)

After a long or a short period of using Windows OS, you will see unknown issues or missing some DLL files, and the best solution to these issues is easy.
We’ll use the “SFC” command as a begin.

Last Updated, 4 weeks ago by Hamad Al Qassar

Estimated article reading time: < 1 minutes

This will make Windows OS to search online and fix problems if necessary.

How to start?

Open the run, by pressing windows + R, and type CMD
Press control+shift+enter, then the CMD window will open as an administrator.
Here, you have to copy the command below and paste it there and press Enter.

sfc /SCANNOW

click here to copy the command above. After it’s finished, a message will be printed to you that will say to you if something was damaged and fixed.

success message

Windows Resource Protection found corrupt files and successfully repaired them.
For online repairs, details are included in the CBS log file located at
windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
repairs, details are included in the log file provided by the /OFFLOGFILE flag.

A message means everything is going well in your computer

Windows Resource Protection did not find any integrity violations.

Another command to fix problems

The other thing that we can try it is:

DISM /Online /Cleanup-Image /CheckHealth

click here to copy the command above.

If this message appeared to you, then your device is fine:

No component store corruption detected.
The operation completed successfully.

Was this helpful?

By Hamad Al Qassar

an audio games developer (using Python) Buy Me A Coffee! donate via paypal

Leave a comment

Your email address will not be published. Required fields are marked *