It is not possible to view or install any server roles or features inside a container. One of the following errors is observed during the installation:
The component store has been corrupted
Element not found
C:\Windows\Logs\CBS\CBS.log, the following error can be found for some specific Windows Update:
Failed to resolve package 'Package_3_for_KB2705219~31bf3856ad364e35~amd64~~126.96.36.199' [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
The above symptoms may occur for a virtual machine after c2v migration procedure as well.
Issues with Windows Updates propagation into containers resulted in broken VZFS links inside
In order to resolve the issue, remove the broken links and run Upgrade Readiness Tool inside the container.
NOTE: This procedure applies only to Windows Server versions higher than 2008.
You can use the attached script to automate the procedure:
- Download the script.
- Download Upgrade Readiness Tool for the needed OS and architecture, rename it to SUR.msu, and place it in the same directory where the script is located.
Run the script with the container ID as the parameter, e.g.:
C:\> KB115030.cmd 100
In case any issues persist, analyze
C:\Windows\Logs\CBS\CheckSUR.log and find resolution to the remaining problems.