How to enable the Windows 10 “Containers” feature?

2019-03-28 03:19发布

问题:

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?

回答1:

https://msdn.microsoft.com/windows/uwp/porting/desktop-to-uwp-run-desktop-app-converter Supported operating system

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



回答2:

Now, you need to enable "Get Insider Preview builds".

Here where it is:



回答3:

Containers are part of Hyper-V running in Windows Server only. I do not think that they exist for Windows 10 OS.

See here for reference.