Windows 10 upgrade from 1709 to 1903 fails with error 0x80070002

NICK0986

Member
Joined
Apr 11, 2020
Posts
12
Hi, have been trying to upgrade from 1709 to 1903 without success. Have used MediaCreationTool to create an ISO but whatever I do I end up getting the message 'We can't tell if your computer is ready for windows 10' and the error code 0x80070002

I'm very grateful for all help and suggestions, at my wits end on this one.

Below is a copy of setuperr.log.


2020-04-11 00:03:42, Error CSI 00000001 (F) STATUS_OBJECT_NAME_NOT_FOUND #38# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysQueryValueKey(flags = 0, key = 968 ('\REGISTRY\MACHINE\SYSTEM\Setup'), vn = [l:7 ml:8]'Compact', kvic = 2, kvi = 2, disp = 0)[gle=0xd0000034]
2020-04-11 00:03:42, Error CSI 00000002 (F) STATUS_OBJECT_NAME_NOT_FOUND #37# from Windows::Rtl::SystemImplementation::CKey::QueryValue(flags = 0, kn = [l:31]'\Registry\Machine\SYSTEM\Setup\', vn = [l:7 ml:8]'Compact', ic = KeyValuePartialInformation, info = {l:0 b:}, disp = 0)[gle=0xd0000034]
2020-04-11 00:03:43, Error CSI 00000003 (F) STATUS_OBJECT_NAME_NOT_FOUND #70# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysQueryValueKey(flags = 0, key = 78 ('\REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts'), vn = [l:21 ml:22]'Arial Nova (TrueType)', kvic = 2, kvi = 2, disp = 0)[gle=0xd0000034]
2020-04-11 00:03:43, Error CSI 00000004 (F) STATUS_OBJECT_NAME_NOT_FOUND #69# from Windows::Rtl::SystemImplementation::CKey::QueryValue(flags = 0, kn = [l:69]'\Registry\Machine\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts\', vn = [l:21 ml:22]'Arial Nova (TrueType)', ic = KeyValuePartialInformation, info = {l:0 b:}, disp = 0)[gle=0xd0000034]
2020-04-11 00:03:44, Error CONX ConX::Compatibility::CIndividualCompatibilityCheckerT<struct ConX::Compatibility::SecureBootCheckerImpl>::OnInvoke: Failed to determine whether secure boot is blocking Setup.. HRESULT = 0x80070002[gle=0x00000103]
2020-04-11 00:03:44, Error CONX CSecureBootChecker failed. [] HRESULT = 0x80070002
2020-04-11 00:03:44, Error CONX ConX::Compatibility::CCompatibilityHost::SetScanResult: Compat scan from provider wsc:setup: failed. HRESULT = 0x80070002
2020-04-11 00:03:56, Error CONX 0xd0000034 Failed to add user mode driver [%SystemRoot%\system32\DRIVERS\UMDF\uicciso.dll]

2020-04-11 00:04:23, Error MOUPG CDlpActionCompat::ExecuteInstallReqScan(2047): Result = 0x80070002
2020-04-11 00:04:23, Error MOUPG CDlpActionCompat::ExecuteRoutine(651): Result = 0x80070002
2020-04-11 00:04:23, Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class ICompatAction> > > >::Execute(493): Result = 0x80070002
2020-04-11 00:04:23, Error MOUPG CDlpTask::ExecuteAction(3300): Result = 0x80070002
2020-04-11 00:04:23, Error MOUPG CDlpTask::ExecuteActions(3454): Result = 0x80070002
2020-04-11 00:04:23, Error MOUPG CDlpTask::Execute(1631): Result = 0x80070002
2020-04-11 00:04:23, Error MOUPG CSetupManager::ExecuteTask(2582): Result = 0x80070002
2020-04-11 00:04:23, Error MOUPG CSetupManager::ExecuteTask(2545): Result = 0x80070002
2020-04-11 00:04:23, Error MOUPG CSetupManager::ExecuteInstallMode(786): Result = 0x80070002
2020-04-11 00:04:23, Error MOUPG CSetupManager::ExecuteDownlevelMode(392): Result = 0x80070002
2020-04-11 00:04:24, Error MOUPG CSetupManager::Execute(284): Result = 0x80070002
2020-04-11 00:04:24, Error MOUPG CSetupHost::Execute(420): Result = 0x80070002
 
While reading through the forums I noticed I didn't follow the protocol in the thread 'Windows Update Forum Posting Instructions':

SFC /scannow returned - Windows Resource Protection did not find any integrity violations.

DISM returned -
Deployment Image Servicing and Management tool
Version: 10.0.16299.15

Image Version: 10.0.16299.431

[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.

SFCFix.txt has the following content:
SFCFix version 3.0.2.1 by niemiro.
Start time: 2020-04-11 11:50:45.546
Microsoft Windows 10 Build 16299 - amd64
Not using a script file.

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

Successfully processed all directives.

Failed to generate a complete zip file. Upload aborted.

SFCFix version 3.0.2.1 by niemiro has completed.
Currently storing 0 datablocks.
Finish time: 2020-04-11 11:54:18.587
----------------------EOF-----------------------

I've attached the zipped CBS folder.

Thanks in advance if anyone has time to look at this.
 

Attachments

I rebooted and tried yet another time, and this is the result of the setuperr.log, which is a bit different than earlier:

2020-04-11 00:09:50, Error CONX Windows::Compat::Appraiser::Utilities::GetWufbProperties (5202): WUfB policy wrong type, swallowing.[gle=0x80004005]
2020-04-11 14:30:33, Error CONX Windows::Compat::Appraiser::Utilities::GetWufbProperties (5202): WUfB policy wrong type, swallowing.[gle=0x80004005]
2020-04-11 14:30:39, Error DU DU::CDUSession::Search: Failed to set WU internal configuration property for targeted scans. hr = 0x80070057
2020-04-11 14:32:29, Error CONX ConX::Compatibility::CIndividualCompatibilityCheckerT<struct ConX::Compatibility::SecureBootCheckerImpl>::OnInvoke: Failed to determine whether secure boot is blocking Setup.. HRESULT = 0x80070002[gle=0x00000103]
2020-04-11 14:32:29, Error CONX CSecureBootChecker failed. [] HRESULT = 0x80070002
2020-04-11 14:32:29, Error CONX ConX::Compatibility::CCompatibilityHost::SetScanResult: Compat scan from provider wsc:setup: failed. HRESULT = 0x80070002
2020-04-11 14:32:40, Error CONX 0xd0000034 Failed to add user mode driver [%SystemRoot%\system32\DRIVERS\UMDF\uicciso.dll]

2020-04-11 14:33:13, Error MOUPG CDlpActionCompat::ExecuteInstallReqScan(2047): Result = 0x80070002
2020-04-11 14:33:13, Error MOUPG CDlpActionCompat::ExecuteRoutine(651): Result = 0x80070002
2020-04-11 14:33:13, Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class ICompatAction> > > >::Execute(493): Result = 0x80070002
2020-04-11 14:33:14, Error MOUPG CDlpTask::ExecuteAction(3300): Result = 0x80070002
2020-04-11 14:33:15, Error MOUPG CDlpTask::ExecuteActions(3454): Result = 0x80070002
2020-04-11 14:33:15, Error MOUPG CDlpTask::Execute(1631): Result = 0x80070002
2020-04-11 14:33:15, Error MOUPG CSetupManager::ExecuteTask(2582): Result = 0x80070002
2020-04-11 14:33:15, Error MOUPG CSetupManager::ExecuteTask(2545): Result = 0x80070002
2020-04-11 14:33:15, Error MOUPG CSetupManager::ExecuteInstallMode(786): Result = 0x80070002
2020-04-11 14:33:15, Error MOUPG CSetupManager::ExecuteDownlevelMode(392): Result = 0x80070002
2020-04-11 14:33:29, Error MOUPG CSetupManager::Execute(284): Result = 0x80070002
2020-04-11 14:33:29, Error MOUPG CSetupHost::Execute(420): Result = 0x80070002
 
BIOS_screen.jpg

My BIOS does not seem to allow me to change this, at least not intuitively. It doesn't look like it on the picture, but the 'Secure Boot state' option is greyed out. I changed the OS Type from 'UEFI Windows' to 'Other OS', which according to the screen info notes will prevent Secure Boot from work. It did not affect the greyed out option, still says enabled. After doing this the update still failed but setuperr.log is now different and does not mention the secure boot anymore.

2020-04-11 18:14:20, Error CSI 00000001 (F) STATUS_OBJECT_NAME_NOT_FOUND #38# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysQueryValueKey(flags = 0, key = 9bc ('\REGISTRY\MACHINE\SYSTEM\Setup'), vn = [l:7 ml:8]'Compact', kvic = 2, kvi = 2, disp = 0)[gle=0xd0000034]
2020-04-11 18:14:20, Error CSI 00000002 (F) STATUS_OBJECT_NAME_NOT_FOUND #37# from Windows::Rtl::SystemImplementation::CKey::QueryValue(flags = 0, kn = [l:31]'\Registry\Machine\SYSTEM\Setup\', vn = [l:7 ml:8]'Compact', ic = KeyValuePartialInformation, info = {l:0 b:}, disp = 0)[gle=0xd0000034]
2020-04-11 18:14:21, Error CSI 00000003 (F) STATUS_OBJECT_NAME_NOT_FOUND #70# from Windows::Rtl::SystemImplementation::DirectRegistryProvider::SysQueryValueKey(flags = 0, key = 6c ('\REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts'), vn = [l:21 ml:22]'Arial Nova (TrueType)', kvic = 2, kvi = 2, disp = 0)[gle=0xd0000034]
2020-04-11 18:14:21, Error CSI 00000004 (F) STATUS_OBJECT_NAME_NOT_FOUND #69# from Windows::Rtl::SystemImplementation::CKey::QueryValue(flags = 0, kn = [l:69]'\Registry\Machine\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts\', vn = [l:21 ml:22]'Arial Nova (TrueType)', ic = KeyValuePartialInformation, info = {l:0 b:}, disp = 0)[gle=0xd0000034]
2020-04-11 18:14:34, Error CONX 0xd0000034 Failed to add user mode driver [%SystemRoot%\system32\DRIVERS\UMDF\uicciso.dll]

2020-04-11 18:15:03, Error IBSLIB BCD: Failed to add system store from file. File: \Device\HarddiskVolume3\EFI\Microsoft\Boot\BCD Status: c000000f
2020-04-11 18:15:03, Error MOUPG CDlpActionDiskSpaceReq::CalculateRequiredDiskSpaceInstallReq(2194): Result = 0x80070002[gle=0x000000b7]
2020-04-11 18:15:03, Error MOUPG CDlpActionDiskSpaceReq::ExecuteInstallReq(1596): Result = 0x80070002
2020-04-11 18:15:03, Error MOUPG CDlpActionDiskSpaceReq::ExecuteRoutine(517): Result = 0x80070002
2020-04-11 18:15:03, Error MOUPG CDlpActionImpl<class CDlpErrorImpl<class CDlpObjectInternalImpl<class CUnknownImpl<class IDiskSpaceAction> > > >::Execute(493): Result = 0x80070002
2020-04-11 18:15:03, Error MOUPG CDlpTask::ExecuteAction(3300): Result = 0x80070002
2020-04-11 18:15:03, Error MOUPG CDlpTask::ExecuteActions(3454): Result = 0x80070002
2020-04-11 18:15:03, Error MOUPG CDlpTask::Execute(1631): Result = 0x80070002
2020-04-11 18:15:03, Error MOUPG CSetupManager::ExecuteTask(2582): Result = 0x80070002
2020-04-11 18:15:03, Error MOUPG CSetupManager::ExecuteTask(2545): Result = 0x80070002
2020-04-11 18:15:03, Error MOUPG CSetupManager::ExecuteInstallMode(786): Result = 0x80070002
2020-04-11 18:15:03, Error MOUPG CSetupManager::ExecuteDownlevelMode(392): Result = 0x80070002
2020-04-11 18:15:05, Error MOUPG CSetupManager::Execute(284): Result = 0x80070002
2020-04-11 18:15:05, Error MOUPG CSetupHost::Execute(420): Result = 0x80070002
 
That's good. You've disabled it.

Your BCD is corrupt.

You will need a bootable Windows disc or recovery flash drive to boot from to do this.
How to create a recovery flash drive: https://support.microsoft.com/en-us/...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/...4-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.
 
I can not create a recovery disk, I'm getting 'cannot create recovery drive windows 10 some required files are missing' ?
 
I'm getting:

C:\windows\system32>reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition3\Recovery\WindowsRE
REAGENTC.EXE: The specified path was not found.

And when running:

C:\windows\system32>reagentc /enable
REAGENTC.EXE: The Windows RE image was not found.
 
I have an EFI partition that is 3 and the C windows drive is 2, I've tried both with the same message. Harddisk is 0.
 
I don't have all the options shown in the examples. When I do a Recovery restart I see the following:

One.jpg

And clicking Troubleshoot I only have this option:

Two.jpg
 
I also found an old recovery USB that I booted from and could get a cod from, and run bootrec.

I cautiously optimistic as the system now started the installation of Windows 10. It was at 37% and has now gone black so I will let it work for as long as it takes and let you know what happens. Hopefully it didn’t get stuck. I’m very grateful for the help so far and hoping for success.
 
After removing the USB and performing the update via Windows.iso it is now stuck in a loop where I have a blue screen with the following options:

Choose an operating system
Windows Rollback
Windows 10
Windows 10 Pro
Change defaults or choose other options

Both Windows options leads back to the same screen, and I have not selected the Rollback option for obvious reasons.

I assume this means there is still some problem with the system boot, as it suggests a rollback option?
 
I went back to the USB recovery disk and via its command prompt redid all the steps in #6 above to rebuild BCD, and this solved the stuck blue screen with the OS options. I think it was key to be in the actual folder when rebuilding BCD.

Everything now seems to work, and I've updated all and am running 1909.

I will make a donation when waking up tomorrow, and I really want to express my sincere gratitude. Not only did your advice to focus on the corrupt BCD eventually solve the problem, but the hand holding, and having someone to communicate with with this level of interactivity, shortly after I first posted, really is outstanding.
 
Last edited:

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

Back
Top