Windows 8.1 installation error 0x80070004

Anonymous
2013-10-17T12:56:28+00:00

I got the following message while updating Windows 8 to 8.1 from the Store (translated from hungarian):

An error had occured and the installation of Windows 8.1 was unsuccessful. Try again. Error code: 0x80070004

The event log shows the following:

"Telepítési hiba: A Windows 0x80070004 hiba miatt nem tudta telepíteni a következő frissítést: Hungarian ESD Bundle Parent."

In english: Installation error: Windows could not isntall the following update: Hungarian ESD Bundle Parent, with error 0x80070004.

What should I do?

Windows for home | Previous Windows versions | Install and upgrade

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2013-12-10T01:08:25+00:00

Hi,

If you receive error 0x80070004 when you install Windows 8.1, please first check the following:

1.      This error may occur if you are using symbolic links (via the mklink command) to redirect your user profile to another drive.  If so, you can resolve this by restoring your user profile to the system drive by following the steps in KB 2876597.

2.      This error may also occur if you have a corrupt user profile.  To check for this:

·         Open the System Properties (Type “System” at the Start screen, and then select “System”.)

·         Select Advanced system settings.

·         In the Advanced tab, under User Profiles, select Settings.

·         Try to log into any profiles you see listed here.  If you’re unable to log in, that profile may be corrupt.  Return to the User Profiles in Advanced system settings and delete the corrupt profile.  If you see any profiles listed as “Unknown” or that otherwise look corrupt, delete those profiles as well.

·         Try creating a new administrator profile and try installing Windows 8.1 from the new profile.  You can find steps for creating a new profile and copying the old profile to the new one at Fix a corrupted user profile.  (This was written for Vista, but the steps are similar.  You can find Folder Options for displaying hidden system files in the Control Panel, under Appearance and Personalization.)

If you’ve confirmed that you’ve tried all of these steps and you’re still receiving error 0x80070004 when installing Windows 8.1, we would like to collect more information to try to identify additional causes.  Please run this automated utility, which will collect log files and send them to Microsoft.  (You can also choose to save the information to your desktop.)  If you get a message that says the utility has already expired, that means we have already collected enough sample files. 

This log analysis may take some time.  We will post a fix or solution as soon as additional sources for this error are confirmed.  We appreciate your help in collecting this information.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

221 additional answers

Sort by: Most helpful
  1. Anonymous
    2013-10-18T12:33:04+00:00

    I'll include my own error log as well.

    Again, no Symbolic Linking on my computer, so moving user folders won't help me :P

    2013-10-18 23:00:47, Error                 MOUPG  SetupMgr: Error reading Store SQM registry data. Data = [StoreSetupDownloadPause], HRESULT = [0x80070002]

    2013-10-18 23:01:27, Error                 MOUPG  CSetupManager::Execute(355): Result = 0x800705BB

    2013-10-18 23:01:28, Error                 MOUPG  CSetupHost::Execute(204): Result = 0x800705BB

    2013-10-18 23:01:30, Error                 MOUPG  SetupMgr: Error reading Store SQM registry data. Data = [StoreSetupDownloadPause], HRESULT = [0x80070002]

    2013-10-18 23:02:11, Error                 CONX   Failed to get image properties for syswow64\speedfan.sys: 0x80070003

    2013-10-18 23:06:09, Error                 CONX   [XmlUtils::LoadXmlDocFromFile] Unable to load XML document (null) into the parser.

    2013-10-18 23:06:09, Error                 CONX   [CDeviceHardwareIdMap::Initialize] [0x80004005] Unable to load device inventory xml document.

    2013-10-18 23:06:09, Error                 CONX   [CDeviceHardwareIdMap::Lookup] HardwareId map uninitialized

    2013-10-18 23:06:09, Error                 CONX   [IsDeviceInstalledCallback] [0x80004005] Failed to lookup hardware id

    2013-10-18 23:06:09, Error                 CONX   [XmlUtils::LoadXmlDocFromFile] Unable to load XML document (null) into the parser.

    2013-10-18 23:06:09, Error                 CONX   [CDeviceHardwareIdMap::Initialize] [0x80004005] Unable to load device inventory xml document.

    2013-10-18 23:06:09, Error                 CONX   [CDeviceHardwareIdMap::Lookup] HardwareId map uninitialized

    2013-10-18 23:06:09, Error                 CONX   [IsDeviceInstalledCallback] [0x80004005] Failed to lookup hardware id

    2013-10-18 23:08:41, Error      [0x08039d] MIG    Cannot add mapping for user profile C:\Users\RIVEN. Error: 1009: Win32Exception: The configuration registry database is corrupt. [0x000003F1] __cdecl Mig::CIndirectKeyMapper::CIndirectKeyMapper(class UnBCL::String *,struct HKEY__ *,class UnBCL::String *,class UnBCL::String *,int,int,const Mig::HiveLoadRetryOptions *)[gle=0x000000cb]

    2013-10-18 23:08:41, Error      [0x080801] MIG    User profile loading error. Aborting due to external request.[gle=0x000000cb]

    2013-10-18 23:08:42, Error                        InitDownlevelOCMode caught exception: Win32Exception: User profile loading error. Aborting due to external request.: The specified user does not have a valid profile. [0x000004E5] void __cdecl Mig::COnlineWinNTPlatform::ProcessUser(class Mig::CRegistryDataStore *,class Mig::CRegistryDataUnit *,class UnBCL::String *,class UnBCL::String *,int,int)

    2013-10-18 23:08:42, Error                 MIG    OC Exception: OC::CDownlevelOCStore::CDownlevelOCStore: Engine's InitDownlevelOCMode failed.

    2013-10-18 23:08:42, Error                 SP     Could not save OC status. Error: 0x8007001F

    2013-10-18 23:10:54, Error      [0x08039d] MIG    Cannot add mapping for user profile C:\Users\RIVEN. Error: 1009: Win32Exception: The configuration registry database is corrupt. [0x000003F1] __cdecl Mig::CIndirectKeyMapper::CIndirectKeyMapper(class UnBCL::String *,struct HKEY__ *,class UnBCL::String *,class UnBCL::String *,int,int,const Mig::HiveLoadRetryOptions *)[gle=0x000000cb]

    2013-10-18 23:10:54, Error      [0x080801] MIG    User profile loading error. Aborting due to external request.[gle=0x000000cb]

    2013-10-18 23:10:54, Error                        MigStartupOnline caught exception: Win32Exception: User profile loading error. Aborting due to external request.: The specified user does not have a valid profile. [0x000004E5] void __cdecl Mig::COnlineWinNTPlatform::ProcessUser(class Mig::CRegistryDataStore *,class Mig::CRegistryDataUnit *,class UnBCL::String *,class UnBCL::String *,int,int)

    2013-10-18 23:10:54, Error                 SP     pSPDoMainGather: Engine initialization failed with error: 0x00000004

    2013-10-18 23:10:54, Error                 SP     CGatherData: Migration phase failed. Status: 4[gle=0x00000012]

    2013-10-18 23:10:54, Error                 SP     Operation failed: Gather data, scope: Everything. Error: 0x80070004[gle=0x000000b7]

    2013-10-18 23:10:54, Error                 MOUPG  MoSetupPlatform: ExecuteCurrentOperations reported failure![gle=0x000000b7]

    2013-10-18 23:10:54, Error                 MOUPG  MoSetupPlatform: Using transform error code: [0x80070004][gle=0x000000b7]

    2013-10-18 23:10:54, Error                 MOUPG  CDlpTransformDataMigrate::MigrateData(1382): Result = 0x80070004[gle=0x000000b7]

    2013-10-18 23:10:54, Error                 MOUPG  CDlpTransformDataMigrate::TransformFile(1065): Result = 0x80070004[gle=0x000000b7]

    2013-10-18 23:10:54, Error                 MOUPG  CDlpTransformDataMigrate::Execute(527): Result = 0x80070004

    2013-10-18 23:10:55, Error                 MOUPG  CDlpTask::ExecuteTransform(3154): Result = 0x80070004

    2013-10-18 23:10:55, Error                 MOUPG  CDlpTask::ExecuteTransforms(3327): Result = 0x80070004

    2013-10-18 23:10:55, Error                 MOUPG  CDlpTask::Execute(1550): Result = 0x80070004

    2013-10-18 23:10:55, Error                 MOUPG  CSetupManager::ExecuteTask(1158): Result = 0x80070004

    2013-10-18 23:10:55, Error                 MOUPG  CSetupManager::ExecuteTask(1123): Result = 0x80070004

    2013-10-18 23:10:55, Error                 MOUPG  CSetupManager::Execute(404): Result = 0x80070004

    2013-10-18 23:10:55, Error                 MOUPG  CDlpTask::RestartTransform(2444): Result = 0xC1800107

    2013-10-18 23:10:56, Error                 MOUPG  CDlpTransformFinalize::LogMachineInfo(878): Result = 0x80070002[gle=0x000000cb]

    2013-10-18 23:11:34, Error                 MOUPG  CSetupHost::Execute(204): Result = 0x80070004

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2013-10-18T12:28:29+00:00

    Visual studio 2013 is already there.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2013-10-18T12:23:48+00:00

    Thanks for the hints. I ran WSReset.exe and disabled Sophos, but the problem persists. I am getting the attached error output in the setuperr.log file. I don’t use any symbolic links to other partitions.

    2013-10-18 13:29:02, Error                 MOUPG  CSetupManager::Execute(355): Result = 0x800705BB

    2013-10-18 13:29:02, Error                 MOUPG  CSetupHost::Execute(204): Result = 0x800705BB

    2013-10-18 13:37:24, Error                        InitDownlevelOCMode caught exception: Win32Exception: Invalid machine account for SYSTEM: The name provided is not a properly formed account name. [0x00000523] class UnBCL::String *__cdecl Mig::COnlineWinNTPlatform::GetMachineSid(class UnBCL::String *)

    2013-10-18 13:37:24, Error                 MIG    OC Exception: OC::CDownlevelOCStore::CDownlevelOCStore: Engine's InitDownlevelOCMode failed.

    2013-10-18 13:37:24, Error                 SP     Could not save OC status. Error: 0x8007001F

    2013-10-18 13:39:19, Error                        MigStartupOnline caught exception: Win32Exception: Invalid machine account for SYSTEM: The name provided is not a properly formed account name. [0x00000523] class UnBCL::String *__cdecl Mig::COnlineWinNTPlatform::GetMachineSid(class UnBCL::String *)

    2013-10-18 13:39:19, Error                 SP     pSPDoMainGather: Engine initialization failed with error: 0x00000004

    2013-10-18 13:39:19, Error                 SP     CGatherData: Migration phase failed. Status: 4[gle=0x00000012]

    2013-10-18 13:39:19, Error                 SP     Operation failed: Gather data, scope: Everything. Error: 0x80070004[gle=0x000000b7]

    2013-10-18 13:39:19, Error                 MOUPG  MoSetupPlatform: ExecuteCurrentOperations reported failure![gle=0x000000b7]

    2013-10-18 13:39:19, Error                 MOUPG  MoSetupPlatform: Using transform error code: [0x80070004][gle=0x000000b7]

    2013-10-18 13:39:19, Error                 MOUPG  CDlpTransformDataMigrate::MigrateData(1382): Result = 0x80070004[gle=0x000000b7]

    2013-10-18 13:39:19, Error                 MOUPG  CDlpTransformDataMigrate::TransformFile(1065): Result = 0x80070004[gle=0x000000b7]

    2013-10-18 13:39:19, Error                 MOUPG  CDlpTransformDataMigrate::Execute(527): Result = 0x80070004

    2013-10-18 13:39:21, Error                 MOUPG  CDlpTask::ExecuteTransform(3154): Result = 0x80070004

    2013-10-18 13:39:25, Error                 MOUPG  CDlpTask::ExecuteTransforms(3327): Result = 0x80070004

    2013-10-18 13:39:25, Error                 MOUPG  CDlpTask::Execute(1550): Result = 0x80070004

    2013-10-18 13:39:25, Error                 MOUPG  CSetupManager::ExecuteTask(1158): Result = 0x80070004

    2013-10-18 13:39:25, Error                 MOUPG  CSetupManager::ExecuteTask(1123): Result = 0x80070004

    2013-10-18 13:39:25, Error                 MOUPG  CSetupManager::Execute(404): Result = 0x80070004

    2013-10-18 13:39:25, Error                 MOUPG  CDlpTask::RestartTransform(2444): Result = 0xC1800107

    2013-10-18 13:39:26, Error                 MOUPG  CDlpTransformFinalize::LogMachineInfo(878): Result = 0x80070002[gle=0x000000cb]

    2013-10-18 13:40:43, Error                 MOUPG  CSetupHost::Execute(204): Result = 0x80070004

    2013-10-18 13:45:46, Error                 MOUPG  CSetupManager::Execute(355): Result = 0x800705BB

    2013-10-18 13:45:46, Error                 MOUPG  CSetupHost::Execute(204): Result = 0x800705BB

    2013-10-18 13:49:24, Error                        InitDownlevelOCMode caught exception: Win32Exception: Invalid machine account for SYSTEM: The name provided is not a properly formed account name. [0x00000523] class UnBCL::String *__cdecl Mig::COnlineWinNTPlatform::GetMachineSid(class UnBCL::String *)

    2013-10-18 13:49:24, Error                 MIG    OC Exception: OC::CDownlevelOCStore::CDownlevelOCStore: Engine's InitDownlevelOCMode failed.

    2013-10-18 13:49:24, Error                 SP     Could not save OC status. Error: 0x8007001F

    2013-10-18 13:50:29, Error                        MigStartupOnline caught exception: Win32Exception: Invalid machine account for SYSTEM: The name provided is not a properly formed account name. [0x00000523] class UnBCL::String *__cdecl Mig::COnlineWinNTPlatform::GetMachineSid(class UnBCL::String *)

    2013-10-18 13:50:29, Error                 SP     pSPDoMainGather: Engine initialization failed with error: 0x00000004

    2013-10-18 13:50:29, Error                 SP     CGatherData: Migration phase failed. Status: 4[gle=0x00000012]

    2013-10-18 13:50:29, Error                 SP     Operation failed: Gather data, scope: Everything. Error: 0x80070004[gle=0x000000b7]

    2013-10-18 13:50:29, Error                 MOUPG  MoSetupPlatform: ExecuteCurrentOperations reported failure![gle=0x000000b7]

    2013-10-18 13:50:29, Error                 MOUPG  MoSetupPlatform: Using transform error code: [0x80070004][gle=0x000000b7]

    2013-10-18 13:50:29, Error                 MOUPG  CDlpTransformDataMigrate::MigrateData(1382): Result = 0x80070004[gle=0x000000b7]

    2013-10-18 13:50:29, Error                 MOUPG  CDlpTransformDataMigrate::TransformFile(1065): Result = 0x80070004[gle=0x000000b7]

    2013-10-18 13:50:29, Error                 MOUPG  CDlpTransformDataMigrate::Execute(527): Result = 0x80070004

    2013-10-18 13:50:30, Error                 MOUPG  CDlpTask::ExecuteTransform(3154): Result = 0x80070004

    2013-10-18 13:50:30, Error                 MOUPG  CDlpTask::ExecuteTransforms(3327): Result = 0x80070004

    2013-10-18 13:50:30, Error                 MOUPG  CDlpTask::Execute(1550): Result = 0x80070004

    2013-10-18 13:50:30, Error                 MOUPG  CSetupManager::ExecuteTask(1158): Result = 0x80070004

    2013-10-18 13:50:30, Error                 MOUPG  CSetupManager::ExecuteTask(1123): Result = 0x80070004

    2013-10-18 13:50:30, Error                 MOUPG  CSetupManager::Execute(404): Result = 0x80070004

    2013-10-18 13:50:30, Error                 MOUPG  CDlpTask::RestartTransform(2444): Result = 0xC1800107

    2013-10-18 13:50:31, Error                 MOUPG  CDlpTransformFinalize::LogMachineInfo(878): Result = 0x80070002[gle=0x000000cb]

    2013-10-18 13:51:11, Error                 MOUPG  CSetupHost::Execute(204): Result = 0x80070004

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2013-10-18T11:39:02+00:00

    I think performing a clean install might be a better solution. As this update to 8.1 seems to be equal to doing an inplace update from a disc (it produces Windows.old, it reinstalls drivers, and so on...). A full reinstall might be more time consuming, it probably means more writes to the SSD, but it works for sure (unlike moving back directories, which might not). I have also written a small app to move directories from ssd to other drives. If Microsoft continues to push updates this big once a year, than it is no problem. I newer trusted this kind of in-place windows update anyways, because it looks like it is prone to failure. I may wait for Visual Studio 2013, and reinstall them together.

    Was this answer helpful?

    0 comments No comments