SFC /scannow > Recurrent finding & repair of corrupt files


raywood

Member
Local time
10:39 AM
Posts
46
OS
Windows 10 & 11
I have just finished a Win11 repair install, ran a few reg edits suggested by Brink tutorials, nothing unusual. I run SFC /scannow, and I get this:
"Windows Resource Protection found corrupt files and successfully repaired them."

Before the repair install, it took three or four runs of SFC to come up clear. After the repair install, it takes only one repeat. That's an improvement. But I was still surprised to see any problems at all, so promptly after the repair install.

I ran the repair install because that behavior kept recurring - three or four runs of SFC, even when retrying on the same day. I guess I should interpret the situation as having a troubled installation, but not as troubled as it was before?
 
Windows Build/Version
24H2
Last edited:

My Computer

System One

  • OS
    Windows 10 & 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Various homebuilt
Please run Tuneup plus > post a share link



 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP
    CPU
    Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
    Motherboard
    Product : 190A Version : KBC Version 94.56
    Memory
    16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
    Graphics Card(s)
    NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
    Sound Card
    IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
    Hard Drives
    Model Hitachi HTS727575A9E364
    Antivirus
    Microsoft Defender
    Other Info
    Mobile Workstation
Do you have any Windows customizations done to your system as that may trigger repeat SFC errors. Your best bet is to see if you can find the errors in the CBS log file. I know it's a pain to go through but it might help you pin point the problem. One customization that triggers an SFC error every single time for me is using a custom Windows startup sound. SFC flags that sound file and changes it back to the default barely audible sound file.
 

My Computers

System One System Two

  • OS
    Windows 11 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Alienware M17 R3
    CPU
    Intel Core i7-10750H (Comet Lake)
    Motherboard
    Alienware
    Memory
    32GB DDR4
    Graphics Card(s)
    NVIDIA GeForce RTX 2060 and Intel UHD Graphics
    Sound Card
    Realtek ALC3281-CG
    Monitor(s) Displays
    17"
    Screen Resolution
    3840x2160
    Hard Drives
    Micron 2300 NVMe 1TB
    PC SN530 NVMe WDC 512GB
    Mouse
    Logitech MX Master 3
    Internet Speed
    60mbps
    Browser
    Vivaldi and Firefox
    Antivirus
    MS Defender and Malwarebytes Free
  • Operating System
    Windows 11 24H2
    Computer type
    Laptop
    Manufacturer/Model
    Microsoft Surface Laptop 3
    CPU
    Intel Core i7-1065G7 (Ice Lake)
    Motherboard
    Microsoft Corp.
    Memory
    16GB DDR4
    Graphics card(s)
    Intel Iris Plus Graphics
    Sound Card
    Omnisonic Speakers with Dolby Audio
    Monitor(s) Displays
    13.5” PixelSense Touchscreen Display
    Screen Resolution
    2256x1504
    Hard Drives
    Toshiba Memory 512GB
    Mouse
    Surface Arc Mouse
    Internet Speed
    60 mbps
    Browser
    Vivaldi and Firefox
    Antivirus
    MS Defender and Malwarebytes Free
It sounds like your SSD/HDD has some Bad Sectors and may be starting to fail.
Download DiskGenius or Crystal Disk Info in my Signature
View the SMART Info for the drive. If it is anything less than Good, it needs to be replaced.
If it comes out Good, you can run a Surface Scan/View or Repair Bad Sectors. If it comes up with any red boxes, it needs to be replaced.
 

My Computer

System One

  • OS
    Windows 11 Pro 64 bit 24H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Gigabyte Z390 UD
    CPU
    Intel Core i7 77000 3.60
    Motherboard
    Gigabyte Z390 UD
    Memory
    16 GB
    Graphics Card(s)
    nVidia GEForce RTX 2060 Super
    Sound Card
    onboard
    Monitor(s) Displays
    Two 27" Dell 4K monitors
    Screen Resolution
    3840 x 2160
    Hard Drives
    M.2 NVME SSD, 500 GB; Two 2TB Mechanical HDD's
    PSU
    850w PSU
    Case
    Cyberpower PC
    Cooling
    Water cooled
    Keyboard
    Backlit Cyberpower gamiong keyboard
    Mouse
    Backlit Cyberpower gaming mouse
    Internet Speed
    1 GB mbps
    Browser
    Brave
    Antivirus
    Windows Security
@FrancoDT: per SuperUser, I ran findstr /c:"[SR]" D:\Current\CBS.log >"%userprofile%\Desktop\sfcdetails.txt" (D:\Current being where I saved a copy of CBS.log). The resulting sfcdetails.txt file wasn't immediately informative to me. I decided to review its lines via Excel.

I opened CBS.log in Excel (fixed width columns); added a sequentially numbered Index column to preserve the original row order; stripped out the codes (e.g., 000000a5) that prevented some rows from sorting by text content (using e.g., MID); sorted by that trimmed descriptive text column; flagged the rows containing seemingly innocuous or redundant material; resorted by Index; filtered out the flagged rows; and reviewed what was left. The Excel procedure helped me to see what I might have noticed in the sfcdetails.txt file, if I'd been more recently reminded of how it works.

The problem seems to be that I deleted unwanted, Windows-installed folders in the Start menu (e.g., Administrative Tools, Windows PowerShell). In Windows 10, I found that such deletion caused problems. But in Windows 11, a prior discussion in this forum informed me that deleting those folders caused no harm. That may be right - the repairs noted in CBS.log may be inconsequential - but deletion did trigger the aforementioned errors and repairs.

It seems I may be better advised to proceed as in Win10: move those unwanted folders to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\_Incoming (via e.g., a scheduled HOURLY.BAT), where I store newly created Start menu icons and folders that I haven't yet gotten around to arranging as desired.

(Incidentally, I wonder if you could fix your startup sound by invoking it in STARTUP.BAT.)

The other suggestions offered above may also be legit. I will consider them next, if I'm still getting errors after applying this fix.
 

My Computer

System One

  • OS
    Windows 10 & 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Various homebuilt
When available please update the progress with post #2.
 

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP
    CPU
    Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
    Motherboard
    Product : 190A Version : KBC Version 94.56
    Memory
    16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
    Graphics Card(s)
    NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
    Sound Card
    IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
    Hard Drives
    Model Hitachi HTS727575A9E364
    Antivirus
    Microsoft Defender
    Other Info
    Mobile Workstation
Wow, that's an amazing batch file. Referring, there, to that TuneUp download. Includes characters in non-English languages - Chinese, maybe?

It would be a challenge - it might take me a week - to figure out what it does.

Since I don't need it, and since they tell me not to be overly trusting, I'll hesitate. But thanks again for the suggestion.
 

My Computer

System One

  • OS
    Windows 10 & 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    Various homebuilt
It runs scannow and restorehealth in the background while doing other things and has instructions with a completion popup.

It also produces a text of any problems running scannow.

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

My Computer

System One

  • OS
    Windows 10
    Computer type
    Laptop
    Manufacturer/Model
    HP
    CPU
    Intel(R) Core(TM) i7-4800MQ CPU @ 2.70GHz
    Motherboard
    Product : 190A Version : KBC Version 94.56
    Memory
    16 GB Total: Manufacturer : Samsung MemoryType : DDR3 FormFactor : SODIMM Capacity : 8GB Speed : 1600
    Graphics Card(s)
    NVIDIA Quadro K3100M; Intel(R) HD Graphics 4600
    Sound Card
    IDT High Definition Audio CODEC; PNP Device ID HDAUDIO\FUNC_01&VEN_111D&DEV_76E0
    Hard Drives
    Model Hitachi HTS727575A9E364
    Antivirus
    Microsoft Defender
    Other Info
    Mobile Workstation
Back
Top Bottom