locked
Upgrade to Windows 8.1 fails with error: "Cannot capture WIM image. Error: 0x80070006" RRS feed

  • Question

  • I am trying to upgrade my Notebook to Windows 8.1 but it keeps failing with error code 0x8007006 - 0x2000C.

    I checked the upgrade logs for the interesting parts, but don't really know what to do about it.

    The setupact.log:

    2014-06-15 21:23:47, Info                  SP     CCompressOldOS::DoExecute: Migration file verifier is initialized
    2014-06-15 21:23:47, Info                  SP     WIM handle created
    2014-06-15 21:23:47, Info                  SP     CCompressOldOS::DoExecute: Set the reference to the recovery WIM image "\\?\GLOBALROOT\Device\HardDisk0\Partition7\RecoveryImage\INSTALL.WIM"
    2014-06-15 21:24:14, Info                  SP     SPCompressOldOSCallback: progress: 0
    2014-06-15 21:24:15, Info                  SP     SPCompressOldOSCallback: progress: 1
    2014-06-15 21:24:17, Info                  SP     SPCompressOldOSCallback: progress: 2
    2014-06-15 21:24:24, Error                 SP     CCompressOldOS::DoExecute: [gle=0x00000006]
    2014-06-15 21:24:24, Info       [0x0803e6] MIG    Removing mapping for HKU\Default User
    2014-06-15 21:24:24, Info       [0x0803e7] MIG    Successfully unmapped HKU\Default User
    2014-06-15 21:24:24, Info       [0x0803e6] MIG    Removing mapping for HKLM\ELAM
    2014-06-15 21:24:24, Info       [0x0803e7] MIG    Successfully unmapped HKLM\ELAM
    2014-06-15 21:24:24, Info       [0x0803e6] MIG    Removing mapping for HKLM\SYSTEM\CurrentControlSet
    2014-06-15 21:24:24, Info       [0x0803e7] MIG    Successfully unmapped HKLM\SYSTEM\CurrentControlSet
    2014-06-15 21:24:24, Info       [0x0803e5] MIG    Not unmapping HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide; it is not mapped
    2014-06-15 21:24:24, Info       [0x0803e6] MIG    Removing mapping for HKLM\SOFTWARE\Wow6432Node\Classes
    2014-06-15 21:24:24, Info       [0x0803e7] MIG    Successfully unmapped HKLM\SOFTWARE\Wow6432Node\Classes
    2014-06-15 21:24:24, Info       [0x0803e6] MIG    Removing mapping for HKR
    2014-06-15 21:24:24, Info       [0x0803e7] MIG    Successfully unmapped HKR
    2014-06-15 21:24:24, Info       [0x0803e6] MIG    Removing mapping for HKU\.DEFAULT
    2014-06-15 21:24:24, Info       [0x0803e7] MIG    Successfully unmapped HKU\.DEFAULT
    2014-06-15 21:24:24, Info       [0x0803e6] MIG    Removing mapping for HKLM\SYSTEM
    2014-06-15 21:24:24, Info       [0x0803e7] MIG    Successfully unmapped HKLM\SYSTEM
    2014-06-15 21:24:24, Info       [0x0803e6] MIG    Removing mapping for HKLM\COMPONENTS
    2014-06-15 21:24:24, Info       [0x0803e7] MIG    Successfully unmapped HKLM\COMPONENTS
    2014-06-15 21:24:24, Info       [0x0803e6] MIG    Removing mapping for HKLM\SOFTWARE
    2014-06-15 21:24:24, Info       [0x0803e7] MIG    Successfully unmapped HKLM\SOFTWARE
    2014-06-15 21:24:24, Info       [0x0803e6] MIG    Removing mapping for HKLM\SECURITY
    2014-06-15 21:24:24, Info       [0x0803e7] MIG    Successfully unmapped HKLM\SECURITY
    2014-06-15 21:24:24, Info       [0x0803e6] MIG    Removing mapping for HKLM\SAM
    2014-06-15 21:24:24, Info       [0x0803e7] MIG    Successfully unmapped HKLM\SAM
    2014-06-15 21:24:24, Info       [0x080487] MIG    Destroying OS analysis service
    2014-06-15 21:24:24, Info       [0x080488] MIG    Destroyed OS analysis service
    2014-06-15 21:24:24, Info                  SP     CCompressOldOS::DoExecute returns: 0x80070006
    2014-06-15 21:24:24, Error                 SP     Operation failed: Compress old OS. Error: 0x80070006[gle=0x000000b7]
    2014-06-15 21:24:24, Error                 SP     Exception in SetupPlatform.exe: Win32Exception: Operation execution failed: 12. hr = 0x80070006: The handle is invalid. [0x80070006] void __cdecl CWinPEProgress::RegisterError(enum SetupPlatform::SP_EXECUTION_PHASE,enum SetupPlatform::SP_EXECUTION_OPERATION,long)
    2014-06-15 21:24:24, Info                  SP     Persisting diagnostics data to C:\$WINDOWS.~BT\Sources\Diagnostics\diagnostics.dat
    2014-06-15 21:24:24, Info                  SP     Diagnostics data saved successfully

    And the setuperr.log:

    2014-06-15 21:24:24, Error                 SP     CCompressOldOS::DoExecute: Cannot capture WIM image. Error: 0x80070006[gle=0x00000006]
    2014-06-15 21:24:24, Error                 SP     Operation failed: Compress old OS. Error: 0x80070006[gle=0x000000b7]
    2014-06-15 21:24:24, Error                 SP     Exception in SetupPlatform.exe: Win32Exception: Operation execution failed: 12. hr = 0x80070006: The handle is invalid. [0x80070006] void __cdecl CWinPEProgress::RegisterError(enum SetupPlatform::SP_EXECUTION_PHASE,enum SetupPlatform::SP_EXECUTION_OPERATION,long)

    The diagerr.xml

    <z:row Cls="D" Sev="33554432" Maj="Def" Min="Def" LN="1127" Fil="" Fun="CCompressOldOS::DoExecute" Uid="34373632" Msg="CCompressOldOS::DoExecute: Cannot capture WIM image. Error: 0x80070006" PID="824" TID="828" Con="" Exe="C:\$WINDOWS.~BT\Sources\SetupPlatform.exe" Mod="SetupPlatform.exe" Err="6" MD="" DT="2014-06-15T21:24:24"/>
    <z:row Cls="D" Sev="33554432" Maj="Def" Min="Def" LN="6699" Fil="" Fun="COperationQueue::ExecuteOperations" Uid="34373632" Msg="Operation failed: Compress old OS. Error: 0x80070006" PID="824" TID="828" Con="" Exe="C:\$WINDOWS.~BT\Sources\SetupPlatform.exe" Mod="SetupPlatform.exe" Err="183" MD="" DT="2014-06-15T21:24:24"/>
    <z:row Cls="D" Sev="33554432" Maj="Def" Min="Def" LN="2091" Fil="" Fun="wWinMain" Uid="34373632" Msg="Exception in SetupPlatform.exe: Win32Exception: Operation execution failed: 12. hr = 0x80070006: The handle is invalid. [0x80070006] void __cdecl CWinPEProgress::RegisterError(enum SetupPlatform::SP_EXECUTION_PHASE,enum SetupPlatform::SP_EXECUTION_OPERATION,long)" PID="824" TID="828" Con="" Exe="C:\$WINDOWS.~BT\Sources\SetupPlatform.exe" Mod="SetupPlatform.exe" Err="0" MD="" DT="2014-06-15T21:24:24"/>
    


    Any ideas how to go on?


    Monday, June 16, 2014 11:33 PM

Answers

  • Hi,

    2014-06-15 21:24:24, Info       [0x080488] MIG    Destroyed OS analysis service
    2014-06-15 21:24:24, Info                  SP     CCompressOldOS::DoExecute returns: 0x80070006
    2014-06-15 21:24:24, Error                 SP     Operation failed: Compress old OS. Error: 0x80070006[gle=0x000000b7]

    According to this description, the problem should be occures when installation trying to compress old OS to Windows.old file, but encounter some problem.

    In my opinion, this problem probably caused by security software that prevent this operation. If you installed any security software like ESET, Avast, etc. Try to uninstall them and retry to upgrade your system for test.


    Roger Lu
    TechNet Community Support

    • Marked as answer by Yolanda Zhu Thursday, July 3, 2014 7:41 AM
    Wednesday, June 18, 2014 7:25 AM