Article ID: 126159, created on Jul 12, 2015, last review on Jul 12, 2015

  • Applies to:
  • Virtuozzo 6.0
  • Virtuozzo containers for Windows 6.0
  • Virtuozzo containers for Windows 4.6

Symptoms

After migration of a container from Windows containers node to virtual machine on Virtuozzo server.

Windows Update fails with Error Code 800706F7

Following errors found in C:\Windows\logs\CBS\CBS.log

2015-02-02 06:47:54, Info                  CBS    Failed to add package. [HRESULT = 0x800706f7 - RPC_X_BAD_STUB_DATA]
2015-02-02 06:47:54, Info                  CBS    Failed to persist package: Package_3_for_KB2603229~31bf3856ad364e35~amd64~~6.1.1.0. [HRESULT = 0x800706f7 - RPC_X_BAD_STUB_DATA]
2015-02-02 06:47:54, Info                  CBS    Failed to update states and store all resolved packages. [HRESULT = 0x800706f7 - RPC_X_BAD_STUB_DATA]
2015-02-02 06:47:54, Info                  CSI    0000009c@2015/2/2:01:17:54.019 CSI Transaction @0x36da4a0 destroyed
2015-02-02 06:47:54, Info                  CBS    Perf: Resolve chain complete.
2015-02-02 06:47:54, Info                  CBS    Failed to resolve execution chain. [HRESULT = 0x800706f7 - RPC_X_BAD_STUB_DATA]
2015-02-02 06:47:54, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x800706f7 - RPC_X_BAD_STUB_DATA]

Cause

CBS integrity was corrupted in container by some of MS updates

Resolution

After c2v migration problematic MS Updates should be uninstalled. sfc /scannow can be used to find problematic updates:

C:\Users\Administrator>sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection found corrupt files but was unable to fix some of them.
Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For example
C:\Windows\Logs\CBS\CBS.log

To filter all relevant messages in CBS.log created after sfc:

C:\Users\Administrator>findstr /c:"[SR]" C:\Windows\Logs\CBS\CBS.log > \sfc.log

Here is the example of resulting c:\sfc.log:

2015-02-03 02:54:18, Info                  CSI    0000051f [SR] Cannot repair member file [l:22{11}]"crypt32.dll" of Microsoft-Windows-crypt32-dll, Version = 6.1.7601.18277, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2015-02-03 02:54:18, Info                  CSI    00000521 [SR] Cannot repair member file [l:24{12}]"cryptsvc.dll" of Microsoft-Windows-cryptsvc-dll, Version = 6.1.7601.18205, pA = PROCESSOR_ARCHITECTURE_INTEL (0), Culture neutral, VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2015-02-03 02:54:18, Info                  CSI    00000523 [SR] Cannot repair member file [l:30{15}]"crypt32.dll.mui" of Microsoft-Windows-crypt32-dll.Resources, Version = 6.1.7601.18277, pA = PROCESSOR_ARCHITECTURE_AMD64 (9), Culture = [l:10{5}]"en-US", VersionScope = 1 nonSxS, PublicKeyToken = {l:8 b:31bf3856ad364e35}, Type neutral, TypeName neutral, PublicKey neutral in the store, hash mismatch
2015-02-03 02:54:18, Info                  CSI    00000524 [SR] This component was referenced by [l:160{80}]"Package_82_for_KB2868626~31bf3856ad364e35~amd64~~6.1.1.2.2868626-248_neutral_GDR"
2015-02-03 02:54:18, Info                  CSI    0000052a [SR] This component was referenced by [l:160{80}]"Package_59_for_KB2862966~31bf3856ad364e35~amd64~~6.1.1.1.2862966-180_neutral_GDR"

In this case, KB2868626 and KB2862966 should be deleted from the server:

C:\Users\Administrator>wusa /uninstall /kb:2862966
C:\Users\Administrator>wusa /uninstall /kb:2868626

Restart the VM if required before launching Windows Update.

Search Words

[HRESULT = 0x800706f7 - RPC_X_BAD_STUB_DATA]

migrate virtuozzo container to pcs node

800706F7

c62e8726973f80975db0531f1ed5c6a2 2897d76d56d2010f4e3a28f864d69223 0dd5b9380c7d4884d77587f3eb0fa8ef 965b49118115a610e93635d21c5694a8 d02f9caf3e11b191a38179103495106f 6f8e3eda12803cf88a9587e9782c9ed6 6c20476fe6c3408461ce38cbcab6d03b

Email subscription for changes to this article
Save as PDF