Search code examples
c#powershellwin-universal-appwindows-10

How to enable the Windows 10 "Containers" feature?


Using the latest Windows 10 Fast Ring build 14316 (inside a VMware virtual machine), I'm trying to make the Desktop App Converter function working.

When running the PowerShell script as advised:

PS C:\> .\DesktopAppConverter.ps1 -Setup -BaseImage .\BaseImage-14316.wim

I'm getting an error:

Assert-RequiredFeatureEnabled: fatal error 1000: required feature is not installed or enabled. Please refer to machine setup instructions.
In C:\MyPath\DesktopAppConverter\converter_util\EnvironmentAssertions.ps1:40 Zeichen:9

When looking into the mentioned source code, it seems that this line fails:

$feature = Get-WindowsOptionalFeature -Online -FeatureName "Containers"

I've already tried to enable various Windows features without success.

My question:

What is this "Containers" feature and how to enable it?


Solution

  • Quote from the documentation:

    Supported operating system

    Windows 10 Anniversary Update Enterprise edition preview (Build 10.0.14316.0 and later)