Article ID: 126747, created on Aug 30, 2015, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo containers for Windows

Symptoms

  • It is impossible to add role into the container with a language (MUI) pack installed via application template:

    C:\Users\Administrator\Desktop>vzctl addrole 101 --role Desktop-Experience
    ERROR: Add-Windows Feature: The application for adding or removing
    ERROR: functions on the specified server failed.
    ERROR: The installation of one or more roles, role services or features is
    ERROR: failed.
    ERROR: The component store is corrupt. Error: 0x80073712
    ERROR: At line: 1 char: 1
    ERROR: + Add-Feature Windows Desktop Experience
    ERROR: + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ERROR: + Category Info: InvalidOperation (@ {Vhd =; Credent ... Name = localh
    ERROR: ost}: PSObject) [Install Windows Feature], Exception
    ERROR: + FullyQualifiedErrorId: DISMAPI_Error__Failed_To_Enable_Updates, Microsof
    ERROR: t.Windows.ServerManager.Commands.AddWindowsFeatureCommand
    ERROR: Incorrect function.
    
  • CBS log(c:\windows\logs\cbs.log) inside of the container contains the following errors:

    2015-08-30 18:51:56, Error                 CSI    00000026@2015/8/30:16:51:56.964 (F) base\wcp\primitiveinstallers\filehierarchy.cpp(1450): Store corruption detected in function FileInstaller::CFileInstallerHierarchy::CommitFileChanges expression: 0
    2015-08-30 18:51:56, Info                  CBS    Not able to add file C:\WINDOWS\WinSxS\amd64_microsoft-windows-p..reensaver.resources_31bf3856ad364e35_6.2.9200.16384_nl-nl_22acac06e3126d3a\PhotoScreensaver.scr.mui: to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    2015-08-30 18:51:56, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    2015-08-30 19:11:07, Error                 CSI    00000026@2015/8/30:17:11:07.835 (F) base\wcp\primitiveinstallers\filehierarchy.cpp(1450): Store corruption detected in function FileInstaller::CFileInstallerHierarchy::CommitFileChanges expression: 0
    2015-08-30 19:11:07, Info                  CBS    Not able to add file C:\WINDOWS\WinSxS\amd64_microsoft-windows-mp4sdecd.resources_31bf3856ad364e35_6.2.9200.16384_nl-nl_13748d09ed66c96f\mp4sdecd.dll.mui: to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    2015-08-30 19:11:07, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    2015-08-30 19:21:54, Error                 CSI    00000026@2015/8/30:17:21:54.057 (F) base\wcp\primitiveinstallers\filehierarchy.cpp(1450): Store corruption detected in function FileInstaller::CFileInstallerHierarchy::CommitFileChanges expression: 0
    2015-08-30 19:21:54, Info                  CBS    Not able to add file C:\WINDOWS\WinSxS\amd64_microsoft-windows-r..ows-media.resources_31bf3856ad364e35_6.2.9200.16384_nl-nl_c8e01577e80b5c68\Windows.Media.dll.mui: to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    2015-08-30 19:21:54, Info                  CBS    Not able to add pending.xml to Windows Error Report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
    
    • In the example above, mui source files belongs to the Netherlands (nl-nl) pack are missing.

Cause

This is the known limitation of Application Templates for Windows Containers.

Resolution

The language pack application template should be deleted from the container.

  • All Windows roles and features should be installed to containers prior the language pack template.

  • Language pack template should be created in the base container with all required roles and features pre-installed

Search Words

cannot add role in container

Not able to install role through command-line

0x80073712

965b49118115a610e93635d21c5694a8 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f

Email subscription for changes to this article
Save as PDF