How do I fix corrupt files with 'sfc /scannow' in Windows 8.1 & install Win10

jgt1942

Member
Joined
Dec 24, 2015
Posts
12
Location
Prescott AZ USA
This is somewhat a dup question but I did not see an answer in the other questions. I'm attempting to upgrade my Win8.1 x64 Pro to Win10 x64 but encountered failure when I ran the upgrade (Something happened, Windows 10 installation has failed). I assume that the Microsoft programmer lacked the skill to generate a meaningful message. I searched and found various possible solutions but none worked for me. I ran the sfc /scannow and got the following.
"Windows Resource Protection found corrupt of them. Details are included in the CBS. example C:\Windows\Logs\CBS\CBS.log. Note supported in offline servicing scenarios."
I then mounted my Win8.1 ISO file on my virtual I drive and ran the following:
DISM /Online /Cleanup-Image /RestoreHealth /source:wim:I:\sources\install.wim:1 /limitaccess
and get the following results.


Deployment Image Servicing and Management tool
Version: 6.3.9600.17031


Image Version: 6.3.9600.17031


[==========================100.0%==========================]


Error: 0x800f081f


The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see Configure a Windows Repair Source.


The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log


C:\WINDOWS\system32>


I also ran Dism /Online /Cleanup-Image /ScanHealth an get the following:
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
Image Version: 6.3.9600.17031
[==========================100.0%==========================]
The component store is repairable.
The operation completed successfully.


I attempted to run Dism /Online /Cleanup-Image /RestoreHealth and get the following:
Deployment Image Servicing and Management tool
Version: 6.3.9600.17031
Image Version: 6.3.9600.17031
[==========================100.0%==========================]
Error: 0x800f0906
The source files could not be downloaded.
Use the "source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see Configure a Windows Repair Source.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log




----------
I've looked at the log and see where it reports errors but I don't know what the solution is.
I just attempted the Win10 upgrade and it fails with the msg I mentioned above.
I've attached my CBS and DISM logs. What else do you need from me?
 

Attachments

Hi jgt1942 :)

My name is Aura and I'll be assisting you with your issue. Can you tell me how you tried to upgrade to Windows 10? Via Windows Update, or using the Media Creation Tool?
 
Hi jgt1942 :)

My name is Aura and I'll be assisting you with your issue. Can you tell me how you tried to upgrade to Windows 10? Via Windows Update, or using the Media Creation Tool?
Aura Much thanks for the help!! BTW I'm John
I created an ISO file then burned it to a DVD. I've used this DVD for my other PCs without issue.
I've also tried letting the system download the update. All attempts failed with the same message - Something went wrong.....
Lately I've been prompted to activate Win8.1, I supply my key, it is accepted, I'm informed that I'm activated and the next day I'm prompted again.
I then called the MS activation phone number, entered the activation number provided, it was accepted, I'm informed that I'm activated and tonight I was again prompted to activate Win8.1
I've been running Win8.1 since it was released without any issues. The recent prompt to activate Win8.1 started after I tried to update to Win10. Per Windows Update the following two important updates are avialable
Security Update for Windows 8.1 for x64-based Systems (KB3102939)
Update for Windows 8.1 forx64-based Systems (KB3034348)
and the following two option updates are available
Update for Windows 8.1 for x64-based Systems (KB3072019)
Upgrade to Windows 10 Pro, version 1511,10586
I've attempted to apply three (not the Win 10) and they fail to be applied. I don't see any error code, I'm just informed that they failed and everything is being rolled back.
 
Alright in that case let's see if we can solve your SFC and DISM issues first. Follow the instructions below please.

EndqYRa.png
System File Checker (SFC)
Follow the instructions below to run a SFC scan on your system and to provide the CBS log in your next reply;
  • On Windows Vista & 7, click on the Windows Start Menu, then enter cmd in the search box, right-click on the cmd icon and select
    Spcusrh.png
    Run as Administrator
  • On Windows 8, drag your cursor in the bottom-left corner, and right-click on the metro menu preview, then select Command Prompt (Admin);
  • On Windows 8.1, right click on the Windows logo in the bottom-left corner and select Command Prompt (Admin);
  • Enter the command below and press on Enter;
    Code:
    sfc /scannow
    Note: There's a space between "sfc" and "/scannow";
  • Once the scan is complete, enter the command below and press on Enter
    Code:
    copy %windir%\logs\cbs\cbs.log "%userprofile%\Desktop\cbs.txt"
  • A file called cbs.txt will have appeared on your Desktop. Upload the file on Dropbox, Google Drive or OneDrive and post the download URL for it here;
Note: Please note that the CBS.log is volatile, which means that if you don't upload it after the SFC scan is completed, it won't have the information from the scan anymore. So archive it and upload it as soon as you can.
 
There's a lot of corrupt files. We'll run DISM to get a summary, it'll be easier for me that way.

EndqYRa.png
DISM - Fixing Component Store Corruption
Follow the instructions below to run a DISM operation on your system.
  • On Windows 8, drag your cursor in the bottom-left corner, and right-click on the metro menu preview, then select Command Prompt (Admin);
  • On Windows 8.1, right click on the Windows logo in the bottom-left corner and select Command Prompt (Admin);
  • Enter the command below and press on Enter;
    Code:
    DISM /Online /Cleanup-Image /RestoreHealth
  • Let the scan run until the end (100%). Depending on your system, it can take some time;
  • Copy the C:\Windows\Logs\DISM folder and C:\Windows\Logs\CBS\CBS.log file on your Desktop, then right-click on it, go to Send to... and select Compressed .zip archive;
  • Upload the file on Dropbox, Google Drive or OneDrive and post the download URL for it here;
Note: Please note that the CBS.log is volatile, which means that if you don't upload it after the DISM scan is completed, it won't contains the information from the scan anymore. So archive it and upload it as soon as you can.
 
OK I ran the DISM /Online /Cleanup-Image /RestoreHealth and created a RAR file with
  1. CMS.log
  2. DISM folder - I just noticed that I have a RAR file in the DISM folder which contains the dism.log for a run I made on 2015 1224
  3. CbsPersist_20151229002742.log - this was created earlier today, e.g. before I ran the DISM command, I have no idea what created it.
  4. I also included DISM Run 2015 1228.png which is an image of the CMD window after running the DISM command.
Again, much thanks for the help
Link for the files is
https://www.dropbox.com/sh/xrre4fqlzsokg64/AABMyb-HRdtBbnU0e6fiXzyKa?dl=0

 
It only returned me two corrupt files. Alright, let's try something else.

EndqYRa.png
System File Checker (SFC)
Follow the instructions below to run a SFC scan on your system and to provide the CBS log in your next reply;
  • On Windows Vista & 7, click on the Windows Start Menu, then enter cmd in the search box, right-click on the cmd icon and select
    Spcusrh.png
    Run as Administrator
  • On Windows 8, drag your cursor in the bottom-left corner, and right-click on the metro menu preview, then select Command Prompt (Admin);
  • On Windows 8.1, right click on the Windows logo in the bottom-left corner and select Command Prompt (Admin);
  • Enter the command below and press on Enter;
    Code:
    sfc /scannow
    Note: There's a space between "sfc" and "/scannow";
  • Once the scan is complete, follow the instructions to run SFCFix below;

myjIXnC.png
SFCFix - Run Only
Follow the instructions below to download and execute SFCFix, and provide the log.
  • Download SFCFix and move the executable on your Desktop;
  • Right-click on SFCFix.exe and select
    Spcusrh.png
    Run as Administrator;
  • Follow the instructions displayed in the console;
  • On completion, a log will open in Notepad. Copy and paste the content of that log in your next reply;
    Note: The log (SFCFix.txt) will be created in the same directory where SFCFix is run if it doesn't open automatically on completion.
 
OK I got the following from the CMD windows
Welcome to SFCFix by niemiro and sysnative.com.


Checking for updates . . .
No new update is available at this time.


Processing directive 1 of 1 (AutoAnalysis::)
Checking store directories . . .
Checking CBS.log . . .
Checking CheckSUR.log . . .
Checking CheckSUR.persist.log . . .


Attempting repair . . .
Stage 1
Stage 2
Stage 3
Stage 4a
Stage 4b
Stage 4c
Stage 4d
Stage 4e
Stage 4f
Stage 4g
Stage 4h
Stage 4i
Stage 4j
Stage 4k
Stage 4l
Stage 5
Stage 6
Stage 7
Stage 8


Due to the nature of your corruptions, scan times have been exte
approximately 15-20 minutes. Please be patient and allow the ope
complete.




Deployment Image Servicing and Management tool
Version: 6.3.9600.17031


Image Version: 6.3.9600.17031


[==========================100.0%==========================]


Error: 3017


The requested operation failed. A system reboot is required to r
made.


The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log
*********************************************************************************
Now I'm questioning myself regarding if I ran it as ADMIN. I did not see Admin at the top of the window.
I put the CBS and DISM logs in the DropBox > https://www.dropbox.com/sh/xrre4fqlzsokg64/AABMyb-HRdtBbnU0e6fiXzyKa?dl=0
I'm going to reboot my system and try everything again.
 
OK I just reran everything. The CBS log is in the dropbox, following is the text for the SFCFix, it ran SUPER fast this time.
SFCFix version 2.4.5.0 by niemiro.
Start time: 2015-12-29 23:57:39.689
Microsoft Windows 8.1 Update 3 - amd64
Not using a script file.

AutoAnalysis::
SUMMARY: No corruptions were detected.
AutoAnalysis:: directive completed successfully.

Successfully processed all directives.
SFCFix version 2.4.5.0 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2015-12-29 23:57:56.078
----------------------EOF-----------------------

In that no corruptions were detected, does this mean I can install Windows 10?
 
I'm sure that nothing was repaired. You have hundreds of corrupt files in your CBS.log from SFC, but it seems that neither DISM nor SFCFix can list them properly, which means that I'll probably have to go through them manually.

As for the Windows 10 upgrade, do you know when exactly it fails? At what step in the upgrade process does it throws you that "Something occured"?
 
I'm sure that nothing was repaired. You have hundreds of corrupt files in your CBS.log from SFC, but it seems that neither DISM nor SFCFix can list them properly, which means that I'll probably have to go through them manually.

As for the Windows 10 upgrade, do you know when exactly it fails? At what step in the upgrade process does it throws you that "Something occured"?
This sounds like it is going to be a long process and I'm happy that you know what you are doing.

When I attempt the Win 10 install it fails just after I see 24%. Following is a recap for the install.
  1. Insert the CD
  2. Open the CD with xplorer2
  3. Double-click on Setup.exe, get window prepairing
  4. When I see the window about getting updates, I select not now and click Next. I have not been able to install all of the windows 8.1 updates, there are 3 or 4 that fails to install.
  5. Window changes to "Windows getting things ready"
  6. After a short time I see the license terms, I accept and click Next
  7. Window states "Making sure you're ready to install, when presented to install I accept the defaults of the install and click Install
  8. Window states installing Win 10
  9. A few seconds after I see 24% complete the window closes and I see a new window that something happened. Too bad MS did not program this correctly and inform the user what went wrong or at least where it was in the process.
If you want I can create a video, possibly you can see something that I cannot.
 
There's no need to :) What about running a Refresh of your Windows 8.1 (this will remove your installed programs, but leave your settings, files and Windows Store apps), and then trying to upgrade?

Everything You Need to Know About Refreshing and Resetting Your Windows 8 or 10 PC

A lot of users had to do this to upgrade successfully to Windows 10. This solution is quite simple, if you don't mind reinstalling your programs (Windows will even generate a document that lists all of them for future reference).
 
There's no need to :) What about running a Refresh of your Windows 8.1 (this will remove your installed programs, but leave your settings, files and Windows Store apps), and then trying to upgrade?

Everything You Need to Know About Refreshing and Resetting Your Windows 8 or 10 PC

A lot of users had to do this to upgrade successfully to Windows 10. This solution is quite simple, if you don't mind reinstalling your programs (Windows will even generate a document that lists all of them for future reference).

I was trying to avoid the reinstall of applications, I currently have almost 300 applications installed, some of course would not be reinstalled just because I really don't use them but if Windows generates a list I can compare it to what Revo Uninstaller has generated for me and ensure I have everything I really want reinstalled. This is my main PC where all of my PCs map the drives for data sharing, backups and syncing various files. I also sync the Outlook calendar and contacts across my systems and phone, this was a complex setup and I'm sure it will be hell for me again.

Possibly on the good side this would clear up all of the new issues that have popped up since I attempted to upgrade to Win10.

The biggest concern I have is the special setup some applications required. I'm reasonably sure that I did not document all of them.

I did read the article a few times in the link you provided, it seems straight forward, I've used the how-to-geek site a number of times. I guess the biggest issue for me is the fear of the unknown, it seems that I always encounter issues that are unique and complex which seems to take days to resolve.
 
In that case, if you have a Windows 8.1 .iso, we can always try to run a Repair Install instead. This will your leave your files, settings and programs on your system.
 
In that case, if you have a Windows 8.1 .iso, we can always try to run a Repair Install instead. This will your leave your files, settings and programs on your system.
Yes I have an ISO file of Win 8.1 x64 Pro Upgrade, Win 8.0 x64 Pro. I also have DVD copies. I created CDs to make the installation easier on my other systems.

I've also started to collect various application profiles and settings just to cover the possibility of resettingI also have an older Acronis backup of my system dated 11/06/2015. For reasons I currently don't understand Acronis True Image 2016 (I have the latest version installed) has not been running nightly.

I have two new 6 TB and one 3 TB drives that are in my system in a test state. I'm now ready to put them into production thus I have space to back up before I start anything.

I've encountered issues with Acronis restores in the past thus I also have Macrium Reflect v5. Because of the Acronis issues I was attempting to switch to Reflect but too many other projects stood in the way.

OK I've rambled on long enough. I'm going to
  1. create image backups using Acronis True Image 2016 and Macrium Reflect v5
  2. attempt repair of 8.1 and then upgrade to Win 10. If this fails then I have no choice but to reset Win 8.1. If it looks problematic then I have no choice but to reset win 8.1
  3. You have a lot more knowledge than I do and I will go with your suggestions, including resetting at this time.

I'm at somewhat of a quiet time with respect to my computer needs and I think this will last at least till the end of January of which I will be gone one week.

Obviously not all of my applications are critical and I would prioritize and work the list. I have the list created by Revo Uninstaller and Windows will also create a list for me. Thus I should be able to identify everything and reinstall. Yes some applications will be a royal pain due to lack of installation documentation but sometimes things are painful.

Whatever I do now is the best time of the year for me. https://www.sysnative.com/forums/images/smilies/sysnative2_PROD/smile9.gif

What is your suggestion for imaging backup software?
 
Personally, I think that both Acronis and Macrium are the best software you can use, so any of them is fine. They fulfill their purpose and offer a lot of options as well. Creating one system image with each program can be good as well, as if one fails, you can rely on the other.
 
Personally, I think that both Acronis and Macrium are the best software you can use, so any of them is fine. They fulfill their purpose and offer a lot of options as well. Creating one system image with each program can be good as well, as if one fails, you can rely on the other.
Last night I created Acronis and Macrium backup of the boot drive. Later today I plan to try a repair. If the repair does not resolve the issue the next step is a reset.

I found what I think is a great post "Repair your computer in Windows 8 and 8.1" at https://www.winhelp.us/repair-your-computer-in-windows-8.html and will use it as my guide. Currently I'm starting the section titled "Options to try before using Recovery Environment in Windows 8 and 8.1". As I progress forward I will run more backups just so I have a several fallback points.
 
Alright, let me know how it goes :)
 
Alright, let me know how it goes :)
Well.... it looks like I have gone in a bunch of circles.
  1. All my attempts to repair stuff by following the instructions from the website I previously mentioned failed.
  2. I then attempted to repair with the Win 8.1 CD, windows could not repair
  3. I then attempted to reset and this failed (windows could not do it, I cannot remember the exact message but it was one of the stupid ones from MS that leaves you hanging).
  4. It looks like my only recourse is to perform a fresh install. OH joy! Most likely this will take me about a week to get back to full production mode.
Following is what I think I need to do. Please correct me if I'm wrong.
  1. Take another look at my installed apps and see if I can save the settings. Hopefully this will make the re-install easier.
  2. Reinstall 8.1 using the option that wipes everything out. I have all of my "data" on drives other than my BOOT drive. I'm not aware of an option where I can just install Win 10.
    I just found "How to clean install Windows 10 and create boot media" at How to clean install Windows 10 and create boot media | Expert Reviews thus I will study this a bit and just clean install Windows 10. This of course means that I need to reinstall all of my applications. Not a happy thought but at least I'll have fewer problems. It seems that about every 2 years I go through some computer hell and I'm forced to perform a clean install.
  3. After windows is installed I'll create an image BU with Acronis and Macrium I'll then start to install my base applications (I have a document that I created several years ago for my install) and update it for Windows 10.
  4. After I get the base apps installed I'll create another image BU
  5. I'll then attempt to install my remaining apps that I want to install.
​Any suggestions?
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top