Run the System File Checker tool (SFC.exe)

Various changes to the Windows Operating System, also for the Intranet

Moderator: sjj1805

Post Reply
User avatar
sjj1805
Site Admin
Posts: 1194
Joined: Fri Oct 27, 2006 12:45 am
operating_system: Windows 10 Pro
motherboard: Hewlett Packard 2AF7
system_drive: C
32bit or 64bit: 64 Bit
processor: 2-90 gigahertz Intel Core i5 4460S
ram: 8 GB
video card: NVIDIA GeForce GT 705
sound card: P40D100-4 NVIDIA High Definition Audio
Hard_Drive_Capacity: 8 TB
Location: Birmingham UK
Contact:

Run the System File Checker tool (SFC.exe)

Post by sjj1805 » Fri Nov 21, 2014 1:42 pm

Windows Resource Protection found corrupt files but was unable to fix some of them.

I found a very helpful command at the link below for examining the CBS log. You just run this:

findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >%userprofile%\Desktop\sfcdetails.txt

This will generate the sfcdetails.txt file on your desktop. You can then search for "Cannot repair" in this text file and you will find all the files that couldn't be repaired. Who know know why it was so hard to find that out.

http://support.microsoft.com/kb/929833

User avatar
sjj1805
Site Admin
Posts: 1194
Joined: Fri Oct 27, 2006 12:45 am
operating_system: Windows 10 Pro
motherboard: Hewlett Packard 2AF7
system_drive: C
32bit or 64bit: 64 Bit
processor: 2-90 gigahertz Intel Core i5 4460S
ram: 8 GB
video card: NVIDIA GeForce GT 705
sound card: P40D100-4 NVIDIA High Definition Audio
Hard_Drive_Capacity: 8 TB
Location: Birmingham UK
Contact:

Repair a Windows Image

Post by sjj1805 » Fri Nov 21, 2014 1:57 pm

DISM /Online /Cleanup-Image /RestoreHealth

http://technet.microsoft.com/en-gb/libr ... 24869.aspx

User avatar
sjj1805
Site Admin
Posts: 1194
Joined: Fri Oct 27, 2006 12:45 am
operating_system: Windows 10 Pro
motherboard: Hewlett Packard 2AF7
system_drive: C
32bit or 64bit: 64 Bit
processor: 2-90 gigahertz Intel Core i5 4460S
ram: 8 GB
video card: NVIDIA GeForce GT 705
sound card: P40D100-4 NVIDIA High Definition Audio
Hard_Drive_Capacity: 8 TB
Location: Birmingham UK
Contact:

SFCFix.exe

Post by sjj1805 » Fri Nov 21, 2014 2:02 pm

This program, included as standard with all modern copies of Microsoft Windows, will first scan your system files for corruption and will then provide its analysis in a machine friendly form. We shall therefore be using another program, SFCFix (developed here at Sysnative by niemiro) to interpret this data into a more human friendly format.


1 Download SFCFix.exe and save this to your Desktop.
2 Save any open documents and close all open windows.
3 Double click on SFCFix.exe to open it.
4 Follow all on screen instructions and upon completion, a file should be created on your Desktop: SFCFix.txt.


This logfile will automatically open.

SFCFix has been recently updated to automatically detect and repair this corruption, making the original guide obsolete. If SFCFix has successfully repaired the corruption, the logfile will contain the following line:

Code: Select all

AutoAnalysis::
  FIXED: Performed DISM repair on file Amd64\CNBJ2530.DPB of version 6.3.9600.16384.
The version number will change depending on the version of Windows 8 you are running, but that line signifies that the issue has been successfully repaired. That's it - you're now good to go. If SFCFix reports other corruptions, then please start a thread of your own. Include your CBS folder (per the Windows Update Forum Posting Instructions) and the contents of the SFCFix.txt.

Post Reply