Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

sfc /scannow question


  • Please log in to reply
18 replies to this topic

#1 Moe_P

Moe_P

  • Members
  • 315 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Connecticut
  • Local time:02:04 AM

Posted 18 February 2017 - 01:14 PM

I am running Windows 8.1 64 bit.

I ran sfc /scannow and at the end this is what came up " Windows Resource Protection found corrupt files but was unable to fix some of them. Details are included in the CBS.log windir\logs\CBS\CBS.log, For example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not supported in offline servicing scenarios.

 

Could someone please explain what all this means, when I look under Logs, CBS this is what it shows. 

 

Attached File  CBS.jpg   14.33KB   0 downloads

 

Thanks for any help on this.

 


Moe_P


BC AdBot (Login to Remove)

 


#2 pcpunk

pcpunk

  • Members
  • 5,992 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:02:04 AM

Posted 18 February 2017 - 01:48 PM

Now run this at an elevated command prompt to check for corruption.  Do these with Internet connection.  This may take 15-20 minutes.

Dism /Online /Cleanup-Image /ScanHealth 

Run this one to check if it can be repaired and report the outcome if needed.

Dism /Online /Cleanup-Image /CheckHealth

Run this one if the above outcome was positive to Repair the Image.  (it may appear to be stuck at 20% but it really is not) EDIT Credited to CKing123

Dism /Online /Cleanup-Image /RestoreHealth

If repairable this will works pretty well.  If not you will need better help than I can give.


Edited by pcpunk, 18 February 2017 - 10:22 PM.

sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


#3 CKing123

CKing123

  • Members
  • 1,463 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:British Columbia, Canada
  • Local time:11:04 PM

Posted 18 February 2017 - 02:48 PM

Hi

 

What those CBS persist logs do is archive the log. After the log reaches a certain size, it is compressed and renamed as CbsPersist_date/time. So, the latest log you should look at is CBS.log However, other information (including DISM commands that @pcpunk suggested above) is constantly being added so the contents of the SFC log will likely be archived after some time.

 

I suggest that you run SFC /scannow again, and just after it is finished, copy the C:\Windows\logs\CBS\CBS.log to the Desktop and attach it in your next reply :)

 

From there, I will be able to source the files and create a fix for it.

 

-CKing


If I am helping you and I don't respond within 2 days, feel free to send me a PM

Sysnative Windows Update Senior Analyst 

Github | Keybase


#4 Moe_P

Moe_P
  • Topic Starter

  • Members
  • 315 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Connecticut
  • Local time:02:04 AM

Posted 18 February 2017 - 03:04 PM

Thank you both for the replys, will run it again first and see what happens and let you know.


Moe_P


#5 Moe_P

Moe_P
  • Topic Starter

  • Members
  • 315 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Connecticut
  • Local time:02:04 AM

Posted 18 February 2017 - 03:47 PM

Just finished running it and still no CBS.log, just the same files that were there, this is the result window>> 

 

Attached File  SFC_2.jpg   39.05KB   0 downloads  

 


Moe_P


#6 CKing123

CKing123

  • Members
  • 1,463 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:British Columbia, Canada
  • Local time:11:04 PM

Posted 18 February 2017 - 03:52 PM

Hi

 

Could you attach the latest log with the file that looks something like this: CbsPersist_20170218??????? (with the ? being the time)?


If I am helping you and I don't respond within 2 days, feel free to send me a PM

Sysnative Windows Update Senior Analyst 

Github | Keybase


#7 Moe_P

Moe_P
  • Topic Starter

  • Members
  • 315 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Connecticut
  • Local time:02:04 AM

Posted 18 February 2017 - 03:56 PM

Should I run what pcpunk suggested above and if so do I need the caps and are those spaces before the hash marks. Thanks


Moe_P


#8 CKing123

CKing123

  • Members
  • 1,463 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:British Columbia, Canada
  • Local time:11:04 PM

Posted 18 February 2017 - 03:58 PM

Well, you should attach the latest CBS log immediately, and then run the DISM command: DISM /Online /Cleanup-Image /RestoreHealth (it may appear to be stuck at 20% but it really is not)

 
If it could not repair anything, attach the newer CBS log immediately again so we can see why it failed (Note that DISM command will say it outputs the problems in DISM.log, but that log usually only contains little information of why it failed and more about what task the command is doing)
 
-CKing

If I am helping you and I don't respond within 2 days, feel free to send me a PM

Sysnative Windows Update Senior Analyst 

Github | Keybase


#9 Moe_P

Moe_P
  • Topic Starter

  • Members
  • 315 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Connecticut
  • Local time:02:04 AM

Posted 18 February 2017 - 05:05 PM

Dang, having trouble putting the file here, trying again. hope it works.

 

 

Attached File  CBS.log   7.54MB   3 downloads

 

 


Moe_P


#10 CKing123

CKing123

  • Members
  • 1,463 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:British Columbia, Canada
  • Local time:11:04 PM

Posted 18 February 2017 - 05:32 PM

Thank you

 

I have sourced the file. Here is the fix:

 

SFCFix Fix
This fix is very specific for Moe_P's computer. Trying this fix on your own computer might damage your computer. If you are after assistance, create a new thread, and you will be assisted shortly.
 
Download SFCFix.exe (by niemiro) and move the executable on your Desktop.
Download SFCFix.zip (which has the sourced files) from here and move the archive to your Desktop
Note: Make sure that the file is named SFCFix.zip, do not rename it.
Save any work you have open, and close every programs
Drag the SFCFix.zip file over the SFCFix.exe executable and release it

mMabJGT.gif

SFCFix will launch, let it complete
Once done, a file will appear on your Desktop, called SFCFix.txt
Open the file, then copy and paste its content in your next reply
 
Now, run SFC /scannow again. If there are any errors, attach the CBS log again
 
-CKing

If I am helping you and I don't respond within 2 days, feel free to send me a PM

Sysnative Windows Update Senior Analyst 

Github | Keybase


#11 Moe_P

Moe_P
  • Topic Starter

  • Members
  • 315 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Connecticut
  • Local time:02:04 AM

Posted 18 February 2017 - 06:26 PM

ok, I have them downloaded and on the desktop, I have to go out, will let you know how it goes.


Moe_P


#12 Moe_P

Moe_P
  • Topic Starter

  • Members
  • 315 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Connecticut
  • Local time:02:04 AM

Posted 18 February 2017 - 09:27 PM

ok, here is the txt file.

 

SFCFix version 3.0.0.0 by niemiro.
Start time: 2017-02-18 20:36:55.382
Microsoft Windows 8.1 Update 3 - amd64
Using .zip script file at C:\Users\moe\Desktop\SFCFix.zip [0]
 
 
 
 
PowerCopy::
Successfully took permissions for file or folder C:\Windows\WinSxS\amd64_prncacla.inf_31bf3856ad364e35_6.3.9600.16384_none_9590ba64d5b91f79\Amd64\CNBJ2530.DPB
 
Successfully copied file C:\Users\moe\AppData\Local\niemiro\Archive\amd64_prncacla.inf_31bf3856ad364e35_6.3.9600.16384_none_9590ba64d5b91f79\Amd64\CNBJ2530.DPB to C:\Windows\WinSxS\amd64_prncacla.inf_31bf3856ad364e35_6.3.9600.16384_none_9590ba64d5b91f79\Amd64\CNBJ2530.DPB.
 
Successfully restored ownership for C:\Windows\WinSxS\amd64_prncacla.inf_31bf3856ad364e35_6.3.9600.16384_none_9590ba64d5b91f79\Amd64\CNBJ2530.DPB
Successfully restored permissions on C:\Windows\WinSxS\amd64_prncacla.inf_31bf3856ad364e35_6.3.9600.16384_none_9590ba64d5b91f79\Amd64\CNBJ2530.DPB
PowerCopy:: directive completed successfully.
 
 
 
 
Successfully processed all directives.
 
 
 
Failed to generate a complete zip file. Upload aborted.
 
 
SFCFix version 3.0.0.0 by niemiro has completed.
Currently storing 1 datablocks.
Finish time: 2017-02-18 20:44:56.284
Script hash: mVnolBPEK6yjMxYQVM+SYIb2jl6BskA6A7Zb851vRYI=
----------------------EOF-----------------------

Moe_P


#13 Moe_P

Moe_P
  • Topic Starter

  • Members
  • 315 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Connecticut
  • Local time:02:04 AM

Posted 18 February 2017 - 10:00 PM

I ran SFC again and here is the report. Attached File  sfc_scan2.jpg   32.69KB   1 downloads

 


Moe_P


#14 CKing123

CKing123

  • Members
  • 1,463 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:British Columbia, Canada
  • Local time:11:04 PM

Posted 18 February 2017 - 10:28 PM

That means no system files are corrupt :)


If I am helping you and I don't respond within 2 days, feel free to send me a PM

Sysnative Windows Update Senior Analyst 

Github | Keybase


#15 Moe_P

Moe_P
  • Topic Starter

  • Members
  • 315 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Connecticut
  • Local time:02:04 AM

Posted 19 February 2017 - 07:09 AM

Thank you for your help in clearing this up CKing, should I now delete the files on my desktop ? and what about the CBS persistent logs, do I leave them there ?

 

I Also would like to thank pcpunk for his input on this.


Moe_P





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users