-3

enter image description hereI'm trying to convert my app to a Windows 10 Appx

C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_1.0.1.0_x64__8wekyb3d8bbwe\DesktopAppConverter.ps1 : DesktopAppConverter : error 'E_FEATURE_NOT_AVAILABLE': Required Windows Feature 'Containers' is not available on your system. Please refer to converter system requirements at https://aka.ms/converterdocs. At line:1 char:1 + &'C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_1.0.1.0_ ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,DesktopAppConverter.ps1

Do you know how to fix this?

I am using the CMD entry point. My OS is Windows 10 Home 14393

Stefan Wick MSFT
  • 13,600
  • 1
  • 32
  • 51
Akinni
  • 67
  • 1
  • 14
  • How do you process this conversion? are you using any third party tools? – sujith karivelil Nov 21 '16 at 02:18
  • No: Here is the command I entered DesktopAppConverter.exe -Installer "C:\Users\Munni - Fam\Desktop\App.exe" -Destination "C:\Users\me\Desktop" -PackageName "MyApp" -Publisher "CN=" -Version 0.0.0.1 -MakeAppx -Verbose – Akinni Nov 21 '16 at 02:23
  • So you are using `DesktopAppConverter` from power shell right? and `App.exe` is your application – sujith karivelil Nov 21 '16 at 02:35
  • Is it possible to include the screen shot of the command window with the question? – sujith karivelil Nov 21 '16 at 02:37
  • 3
    Possible duplicate of [How to enable the Windows 10 "Containers" feature?](http://stackoverflow.com/questions/36590514/how-to-enable-the-windows-10-containers-feature) – Adrian Sanguineti Nov 21 '16 at 02:46
  • @Akinni, how so? Your error says you are missing "Windows 10 Containers" feature, the linked question is related to enabling "Windows 10 Containers" feature in the context of DesktopAppConverter. Please explain why your case is different? – Adrian Sanguineti Nov 21 '16 at 02:54
  • @Akinni, yes I have, and so you've ruled out that you are running the correct edition of Windows (Pro or Enterprise) and which has the Windows 10 Containers feature and also running the correct windows build, which is a requirement regardless of whether you are doing base images or not? – Adrian Sanguineti Nov 21 '16 at 03:06
  • I am using Windows 10 Home Build 14393.447 – Akinni Nov 21 '16 at 03:09
  • 3
    As answered in the [question I marked as possible duplicate](http://stackoverflow.com/a/36597012/2641278), you must be running Windows 10 Pro or Enterprise to be able to use Windows Containers feature, a mandatory requirement for the Desktop App Converter. The web pages linked in your error message (https://aka.ms/converterdocs) also clearly states this as a requirement! – Adrian Sanguineti Nov 21 '16 at 03:17

2 Answers2

4

From the How to add Containers to Windows 10, we can do this.

  1. Open Control Panel.
  2. Click on Programs.
  3. Click on Turn Windows Features on or off.
  4. Check the Containers option.
  5. Click Ok.
  6. Click Restart to complete the task.

I also suggest you to use Desktop App Converter tool that enables you to bring your existing desktop apps written for .NET 4.6.1 or Win32 to the Universal Windows Platform(UWP).

Please note that some system requirements you should meet.

  1. Windows 10 Anniversary Update(10.0.14393.0 and later) Pro or Enterprise edition.
  2. 64 bit(x64) processor.
  3. Hardware-assisted virtualization.
  4. Second Level Address Translation(SLAT).
  5. Windows Software Development Kit(SDK) for Windows 10.
  6. Download the DesktopAppConverter and the base image .wim file that matched your build.

More detailed information you could refer to Desktop App Converter.

Cherry Bu - MSFT
  • 10,160
  • 1
  • 10
  • 16
  • 2
    Great, my Control Panel does not have **Programs** option. And when I finally found the **Turn Windows Features on or off** dialog, there is no **Containers** option. Isn't this fun? – Jonathan Wood Jul 19 '17 at 00:34
  • i don't have Containers in Turn Windows Features on or off my windows 10,1709 build 16299 64 bit(x64) processor. – ovi Mar 22 '18 at 13:37
-2

ouch I was on the win 10 home laptop... wrong one. I suppose to be on the win 10 pro at least

ovi
  • 460
  • 4
  • 18