Check the integrity of your system files in Windows

Windows has a builtin command to check the integrity of your system files. virus and trojan often mess up the system files.

To check if the system files are intact, run the following command:


The process begins and saves the CBS.log file under %windir%\logs\cbs\   folder

This file provides a detailed report of all verification tasks completed.

To easily find if your system files needs to be repaired, run the following command:

findstr /c:"[SR]" %windir%\logs\cbs\cbs.log >sfcdetails.txt

The above command will copy the relevant details to the file sfcdetails.txt

The output of the file should be like

2012-03-16 12:56:40, Info                  CSI    0000011e [SR] This component was referenced by [l:162{81}]"Package_172_for_KB948465~31bf3856ad364e35~x86~~"

To repair the Windows system files, run the following command:


you may need the media for your operating system or the location of the restore partition.