Windows 8.1 to Windows 10 SFC Cleanup Fail

phillipj

Contributor
Joined
Jun 24, 2015
Posts
19
I am attempting to eliminate any reasons why my upgrade from Windows 8.1 to Windows 10 might be failing.
Running SFCFix.exe, I get two fails:

CORRUPT: C:\Windows\winsxs\amd64_microsoft-windows-u..ed-telemetry-client_31bf3856ad364e35_6.3.9600.17842_none_90da81a4dac50d54\utc.app.json
CORRUPT: C:\Windows\winsxs\amd64_microsoft-windows-u..ed-telemetry-client_31bf3856ad364e35_6.3.9600.17842_none_90da81a4dac50d54\telemetry.ASM-WindowsDefault.json

The full SFCFix.txt files is attached.

As I learned from a previous round of fixing, the reason these files continue to be flagged as corrupt is a Microsoft issue of "not marking them as dynamic files".

However, if you could provide the fix for these errors I would be able to eliminate them as a possible source for Windows 10 upgrade failure.

Yes, I and a very helpful Microsoft Staff person (they actually exist) have tried a number of things.
I am awaiting a Tier 2 contact.

Thanks in advance for any help you can provide.
 

Attachments

Those two files can be ignored.

Are you running the upgrade using Windows Update or the Media Creation Tool?
What is the error code (if any) when the installation fails?
 
The two files give an SFC failure and I am still trying eliminate possible causes for the upgrade failing.

Have repeatedly tried the upgrade both ways: Windows Update and Media Creation Tool.
Both ways have failed.

With Media Creation Tool the unbelievable message: "Something happened - Windows 10 installation failed" is received just before restart.
Somethinghappened_Window10InstallationFailedDialog.jpg

With Windows Update, the failure code will vary between 80004005 and 80240054.
WindowsUpdateFailure_20150810_0013.jpg WindowsUpdateFailure_20150811_2058.jpg

The upgrade process includes disabling Norton Security as well as disabling all non-Microsoft services and not loading startup items.
Walked through the upgrade process again with Microsoft Answer Desk staff, same failures.
Now waiting for Tier 2 call back.

Part of the process to fix upgrade failure includes running the Windows Update Diagnostics/Repair Tool.
The tool always finds something to fix.

WindowsUpdateDiagnosticResults_2015-08-12_8-22-16.jpg WindowsUpdateDiagnosticResults_2015-08-12_8-35-32.jpg

I would like to eliminate these errors and the SFC error to ensure that they are not part of the reason for the upgrade failues.

By the way, I have successfully upgraded to Windows 10 on a Surface Pro with Windows 8.1 and a 3 year old Dell Laptop running Windows 7.
Those upgrades went very smoothly.
 
Luckily for us, the installer keeps log files to troubleshoot failed upgrades :)

Please attach C:\Windows.~bt\Sources\Panther\SetupAct.log and SetupErr.log
 
Attached are the files requested.
They have been zipped because of the size of the log (46.2M).

Last attempt was at 8:15 AM on 12Aug
 

Attachments

Code:
2015-08-12 08:50:36, Error                 IBSLIB OSRollbackService::CBootFilesRestoreCheckpoint::Finalize: Failed to backup BCD database from "E:\Boot\BCD" to "C:\$WINDOWS.~BT\Sources\Rollback\Boot\BCD".[gle=0x00000005]
2015-08-12 08:50:36, Error      [0x064199] IBSLIB SetCheckpoint(WinPEBootFilesRestoreCheckpoint): threw exception.: class RollbackException: RollbackException: Error(5), CSystemVolumeSelectionCheckpoint: Failed to backup BCD database. void __cdecl OSRollbackService::CBootFilesRestoreCheckpoint::Finalize(const unsigned short *,struct OSRollbackService::ICheckpointParameters *)[gle=0x00000005]
2015-08-12 08:50:36, Error      [0x06418a] IBSLIB RollbackSetCheckpoint(WinPEBootFilesRestoreCheckpoint): threw exception.: class RollbackException: RollbackException: Error(5), CSystemVolumeSelectionCheckpoint: Failed to backup BCD database. void __cdecl OSRollbackService::CCheckpointImpressario::SetCheckpoint(const unsigned short *,struct OSRollbackService::ICheckpointParameters *)
void __cdecl OSRollbackService::CBootFilesRestoreCheckpoint::Finalize(const unsigned short *,struct OSRollbackService::ICheckpointParameters *)[gle=0x00000005]
2015-08-12 08:50:36, Error      [0x06414e] IBSLIB RollbackSetCheckpoint(WinPEBootFilesRestoreCheckpoint) failed. Disabling Rollback.[gle=0x00000005]
2015-08-12 08:50:36, Error                 SP     Error setting OS Switch Rollback checkpoint[gle=0x00000005]
2015-08-12 08:50:36, Error                 SP     Operation failed: Update Boot Code. Error: 0x80004005[gle=0x000000b7]

Is this an OEM computer with a recovery partition?
 
No Recovery Partition - Velocity Micro.
Why do you ask?
"Error Setting OS Switch Rollback" Message
 
I've seen where the installer is unable to modify the boot configuration and it causes the installation to fail.
Are you familiar with the recovery environment? I think the most likely solution is to rebuild the Boot Configuration.
 
I believe there is a Boot partition - "System Reserved" 350MB.
This is a UEFI Boot Mode environment and I have not yet had the opportunity of either rebuilding it or reconfiguring it to allow for multiple boot partitions - something that is in the queue.
Any recommendations/guidance for how to references?
 
You will need a bootable Windows disc or recovery flash drive to boot from to do this.
How to create a recovery flash drive: http://windows.microsoft.com/en-us/windows-8/create-usb-recovery-drive

After you create the recovery drive, boot from it by using the advanced startup options and choosing boot from device (or using the UEFI interface, whichever is simpler :) ).
Here's the instructions that other users have had success with:
Alright, apparently the issue is with the BCD (Boot Configuration Data). A few users reported that rebuilding it solved that issue.

https://answers.microsoft.com/en-us...ls-at-24/50b5fd77-5d11-431a-b4e4-9ae12cfd89a2 - "Most Helpful Reply" from Cifad

If you cannot read the commands properly, here goes (to be entered in the command prompt from the Recovery Environment):

diskpart - Opens the Disk Partitionning tool
select disk 0 - Will select your first hard drive (the one with the Windows partition on it)
list volume - Note the number of the partition that have no drive letter assigned to it, is of 260MB of size and have "FAT32" listed under the "FS" column
select volume X - X will be the number of your partition with a size of 260MB, the EFI System Partition one that you identified in the last command
assign letter=Z: - It'll assign the Z: letter to the EFI System Partition
exit - To exit the diskpart utility

Now you'll be back in the command prompt, enter the following commands:

cd /d Z:\EFI\Microsoft\Boot - Goes to the "Boot" directory in the Z: partition
attrib Z:\EFI\Microsoft\Boot\BCD -h -r -s - Removes the hidden, read-only and system attributes from the BCD folder
ren Z:\EFI\Microsoft\Boot\BCD BCD.old - Renamed the BCD folder to BCD.old
bootrec /rebuildbcd - This command will rebuild the BCD.

When it asks you Add the installation to boot list?, press on y followed by Enter and if it succeed, you'll have a The operation completed successfully message. Once you're done, close the command prompt, restart your computer and try to upgrade again.


Make sure you have a complete backup of anything important on your computer BEFORE attempting any of these steps.
 
Last edited:
I was able to access the Windows Recovery Environment - Shift + Restart -> Troubleshoot, -> Advanced Options
The repair startup reported being unable to repair.

I also was able to enter the Windows Recovery Environment from a Windows 8 Recovery USB drive.
It made an attempt to repair the start up and reports:
Invalid Object in the Boot Configuration Data Store - 0xc000000f

Any recommendations or guidance for further references/steps?
Got your suggestions from post above - will check it out over the next few hours - thanks for the help so far!
 
So the computer starts up without a problem, but startup repair reports boot problems?
 
Interesting. Let's try the BCD rebuild. Boot into the recovery environment from your flash drive, then choose command prompt in advanced options.
Type the parts in bold, press enter after each.

diskpart - Opens the Disk Partitioning tool
select disk 0 - Will select your first hard drive
list volume - Note the number of the partition that have no drive letter assigned to it, is 350MB in size and has "FAT32" listed under the "FS" column
select volume X - X will be the number of your partition with a size of 350MB, the EFI System Partition one that you identified in the last command
assign letter=Z: - It'll assign the Z: letter to the EFI System Partition
exit - To exit the diskpart utility


Now you'll be back in the command prompt, enter the following commands:


cd /d Z:\EFI\Microsoft\Boot - Goes to the "Boot" directory in the Z: partition
attrib Z:\EFI\Microsoft\Boot\BCD -h -r -s - Removes the hidden, read-only and system attributes from the BCD folder
ren Z:\EFI\Microsoft\Boot\BCD BCD.old - Renames the BCD folder to BCD.old
bootrec /rebuildbcd - This command will rebuild the BCD.
 

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

Back
Top