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?
System Requirements: Install Hyper-V on Windows 10 Home edition. Enable Hyper-V and Container Windows Feature by pressing Windows Key and R, then enter OptionalFeatures. Make sure the features are checked, press OK to make the changes.
Run a Windows container using Windows Admin Center First, open the container host you want to manage, and in the Tools pane, select the Containers extension. Then, select the Images tab inside the Container extension under Container Host. In the Pull Container Image settings, provide the image URL and the tag.
Enable the Hyper-V role through SettingsRight click on the Windows button and select 'Apps and Features'. Select Programs and Features on the right under related settings. Select Turn Windows Features on or off. Select Hyper-V and click OK.
In the Control Panel, go to Programs > Programs and Features. From the left pane, click on Turn Windows Features on or off. Select Hyper-V in the Windows Features window.
Quote from the documentation:
Supported operating system
Windows 10 Anniversary Update Enterprise edition preview (Build 10.0.14316.0 and later)
Just run this command in PowerShell:
Enable-WindowsOptionalFeature -Online -FeatureName $("Microsoft-Hyper-V", "Containers") -All
Click Y. It will restart. After that, you're good.
I ran that command on Windows 10 Pro.
Now, you need to enable "Get Insider Preview builds".
Here where it is:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With