How can we improve the Windows dev platform?

BaseImage 16299

Installing BaseImage 16299 FailsThe DesktopAppConverter 2.1.1.release_2017-10-25 fails when Installing BaseImage "Windows_InsiderPreview_DAC_16299.wim" with PowerShell Error Record:
Ausnahme beim Aufrufen von "ProcessBaseLayer" mit 1 Argument(en): "Der Wert liegt außerhalb des erwarteten Bereichs."
PowerShell Stack Trace:
bei Expand-BaseImage, C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_x64__8wekyb3d8bbwe\converter_util\BaseImageOps.ps1: Zeile 388
bei Setup-ExpandedImages, C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_x64__8wekyb3d8bbwe\Setup.ps1: Zeile 245
bei Setup-DesktopAppConverter, C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_x64__8wekyb3d8bbwe\Setup.ps1: Zeile 139
bei <ScriptBlock><Process>, C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_x64__8wekyb3d8bbwe\DesktopAppConverter.ps1: Zeile 382
bei <ScriptBlock>, <Keine Datei>: Zeile 1
Inner Exception[0]:
System.Management.Automation.MethodInvocationException: Ausnahme beim Aufrufen von "ProcessBaseLayer" mit 1 Argument(en): "Der Wert liegt außerhalb des erwarteten Bereichs." ---> System.ArgumentException: Der Wert liegt außerhalb des erwarteten Bereichs.
bei Microsoft.Windows.ComputeVirtualization.ContainerStorage.StorageFunctions.ProcessBaseImage(String path)
bei Microsoft.Windows.ComputeVirtualization.ContainerStorage.ProcessBaseLayer(String path)
bei CallSite.Target(Closure , CallSite , Type , Object )
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
bei System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
bei System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
bei System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
bei System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
bei System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
bei System.Management.Automation.PSScriptCmdlet.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)
bei System.Management.Automation.PSScriptCmdlet.DoEndProcessing()
bei System.Management.Automation.CommandProcessorBase.Complete()
Inner Exception Stack Trace[0]
bei System.Management.Automation.ExceptionHandlingOps.CheckActionPreference(FunctionContext funcContext, Exception exception)
bei System.Management.Automation.Interpreter.ActionCallInstruction`2.Run(InterpretedFrame frame)
bei System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
bei System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
bei System.Management.Automation.Interpreter.Interpreter.Run(InterpretedFrame frame)
bei System.Management.Automation.Interpreter.LightLambda.RunVoid1[T0](T0 arg0)
bei System.Management.Automation.PSScriptCmdlet.RunClause(Action`1 clause, Object dollarUnderbar, Object inputToProcess)
bei System.Management.Automation.PSScriptCmdlet.DoEndProcessing()
bei System.Management.Automation.CommandProcessorBase.Complete()

Inner Exception[1]:
System.ArgumentException: Der Wert liegt außerhalb des erwarteten Bereichs.
bei Microsoft.Windows.ComputeVirtualization.ContainerStorage.StorageFunctions.ProcessBaseImage(String path)
bei Microsoft.Windows.ComputeVirtualization.ContainerStorage.ProcessBaseLayer(String path)
bei CallSite.Target(Closure , CallSite , Type , Object )
Inner Exception Stack Trace[1]
bei Microsoft.Windows.ComputeVirtualization.ContainerStorage.StorageFunctions.ProcessBaseImage(String path)
bei Microsoft.Windows.ComputeVirtualization.ContainerStorage.ProcessBaseLayer(String path)
bei CallSite.Target(Closure , CallSite , Type , Object )

What can i do? My Windows is Version 1709 Build 16299.19.

5 votes
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    Signed in as (Sign out)

    We’ll send you updates on this idea

    Markus Koch shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

    21 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • Dick commented  ·   ·  Flag as inappropriate

        I have about the same problem (W_BASEIMG_VERSION_NOT_VERIFIED) with 15063 (I blocked the Creators Fall Update for a year).

        I started with the installation which still worked in August but without touching anything there, a working upload could not be created. It hangs on VERBOSE: Starting the Isolated Environment. I therefore installed the Windows_InsiderPreview_DAC_15063_1.wim as this could be the solution, but I suspect the downloadpage shows us incorrect .wim files. Why does this say InsiderPreview?

        Second question is why there has been no further reaction from Microsoft in this forum the last 4 months? Just yesterday I completed a Microsoft questionnaire as Microsoft wanted to know why developers don't develop as much for W10 as Microsoft would like to see. Well, could the reason be that uploading your ready & working desktop app takes you days of trouble shooting instead of the 10 min it should take?

      • Whiteside commented  ·   ·  Flag as inappropriate

        Thanks for bearing with us, Markus - and thank you for running those steps. That confirms that it's the ProcessBaseLayer call in the ComputeVirtualization module (a .NET component the DAC relies upon) that is failing.

        I am contacting the team that owns that to figure out to track down the origination point of that error: "Der Wert liegt außerhalb des erwarteten Bereichs.", which I think means the "The value is outside the expected range."

        Seperately, it seems we have a bug in our cleanup step, since that didn't clear your c:\ProrgamData\Micrsoft\Windows\Images folder. I'll file a bug on myself to look into that after your main problem is resolved.

      • Markus Koch commented  ·   ·  Flag as inappropriate

        Clint, i do the steps several times before and the Problem still exists. Now i will do the steps you explained again. First of all on my PC the Folder c:\ProrgamData\Micrsoft\Windows\Images wasn't empty. I called "DesktopAppConverte -cleanup ALL -verbose" resulting in "AUSFÜHRLICH: Cleanup Complete", RestartNeeded: False.
        The above folder wasn't empty after that, so i delete it manually (after taking ownership).
        Now i download "Windows_InsiderPreview_DAC_16299.wim" from https://www.microsoft.com/en-us/software-download/dac#!.
        Next step is to install this Image with "DesktopAppConverter -Setup -BaseImage c:\temp\Windows_InsiderPreview_DAC_16299.wim -Verbose".

        At this step i get the following:
        PS C:\WINDOWS\system32> DesktopAppConverter -Setup -BaseImage c:\temp\Windows_InsiderPreview_DAC_16299.wim -Verbose
        AUSFÜHRLICH: Log file can be found in C:\DesktopAppConverter\77450ddf-52ee-4de8-abef-121e9bcb5209\logs\DesktopAppConverterSetup.log
        AUSFÜHRLICH: Desktop App Converter 2.1.1.release_2017-10-25_17-08_813cf2829a8823824411be7075c2d457efea7288
        AUSFÜHRLICH: --------------------------------------------------

        Checking Prerequisites

        AUSFÜHRLICH: Checking Windows Version to ensure it meets minimum requirements
        AUSFÜHRLICH: Minimum Windows Version requirement is met.
        AUSFÜHRLICH: --------------------------------------------------

        Running Setup

        AUSFÜHRLICH: Checking that the Base Image file 'c:\temp\Windows_InsiderPreview_DAC_16299.wim' exists
        AUSFÜHRLICH: Ensuring that the Base Image file 'c:\temp\Windows_InsiderPreview_DAC_16299.wim' is a valid windows image
        AUSFÜHRLICH: Testing for required Windows feature enabled
        AUSFÜHRLICH: Version des Zielabbilds: 10.0.16299.192
        AUSFÜHRLICH: The required Windows feature is not enabled. Enabling it will require you to reboot your machine.
        AUSFÜHRLICH: Enabling required Windows feature requires a reboot. Scheduling this script to run once the system resumes:
        AUSFÜHRLICH: & "C:\Program Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_x64__8wekyb3d8bbwe\DesktopAppConverter.ps1" -Setup -BaseImage "C:\temp\Windows_InsiderPreview_DAC_16299.wim" -LogFile
        "C:\DesktopAppConverter\77450ddf-52ee-4de8-abef-121e9bcb5209\logs\PostRebootTask_SetupDesktopAppConverter.log" -Verbose
        WARNUNG: DesktopAppConverter : warning 'W_ENABLING_FEATURE': Required feature 'Containers' is not enabled. Attempting to enable it now (this will require a restart)
        AUSFÜHRLICH: Version des Zielabbilds: 10.0.16299.192
        AUSFÜHRLICH: Version des Zielabbilds: 10.0.16299.192

        Path :
        Online : True
        RestartNeeded : False

        WARNUNG: DesktopAppConverter : warning 'W_RESTART_REQUIRED': The Windows optional feature 'Containers' was enabled. A restart is required before running the Desktop App Converter Again.
        Warning Summary:
        W_ENABLING_FEATURE
        Required feature 'Containers' is not enabled. Attempting to enable it now (this will require a restart)

        W_RESTART_REQUIRED
        The Windows optional feature 'Containers' was enabled. A restart is required before running the Desktop App Converter Again.

        After rebooting i get the same error as described in further message. Full log file send per PN.

      • AdminClint Rutkas [MSFT] (Admin, Windows Developer) commented  ·   ·  Flag as inappropriate

        Markus, can you
        - Run cleanup again
        - Ensure the base image expansion is gone. These should be empty,
        - dir C:\ProgramData\Microsoft\Windows\Images\
        - dir C:\ProgramData\Microsoft\Windows\Images\Windows_InsiderPreview_DAC_16299
        - If above not empty, then delete manually (might need to be admin and take ownership of the files first)
        - Then run setup again and send us the log if it fails (crutkas@microsoft.com)

      • Markus Koch commented  ·   ·  Flag as inappropriate

        @Clint Rutkas

        Do you have something new for me? Is there a solution to solve my problem?
        We want to build a Windows Store App from our Desktop App.

      • Anonymous commented  ·   ·  Flag as inappropriate

        The possible cause is that the "real" baseimage files prior being replaced by fall preview contained the file cExecSvc.exe. Probably not a place for commentary, however some MS developer and the very least the QA team should get coal in their stockings. I have ten window 10 system and not a one has the executable. Here is my purposed resolution:
        The most simple is to post the file as a down load.
        The more complete fix
        1) Make the error message in converter_util\InputValidation.ps1 to clearly indicate the executable
        is missing on the system and in the "win file"
        2) Add the missing executable to existing preview image files.
        3) Modify preview and production procedures to include the executable.
        Foot note; All this can be accomplish before lunch under normal circumstances,

      • Markus Koch commented  ·   ·  Flag as inappropriate

        Yes, you are right. Executing your script Shows "missing CExecSvc.exe". And now, what can i do?

      • AdminClint Rutkas [MSFT] (Admin, Windows Developer) commented  ·   ·  Flag as inappropriate

        Can you run this: we have a theory what may be causing this powershell command? Replace your pathToBaseImage with where your wim file lives

        $pathToBaseImage = "C:\Users\jwhites\Downloads\Windows_InsiderPreview_DAC_16299.wim" # set this manually

        $pathToBaseImage = (get-item $pathToBaseImage).fullname
        $image = Get-WindowsImage -ImagePath $pathToBaseImage -Index 1
        # Check for presence of CExecSvc to validate that this is a container base image.
        $imageContents = Get-WindowsImageContent -ImagePath $pathToBaseImage -Index 1
        if (!$imageContents.Contains('\Windows\System32\CExecSvc.exe'))
        {
        echo "missing \CExecSvc.exe"
        }
        if (!$imageContents.Contains('Windows\System32\CExecSvc.exe'))
        {
        echo "missing CExecSvc.exe"
        }

      • Anonymous commented  ·   ·  Flag as inappropriate

        I have tried all of the workarounds suggested. Several month ago I was able to find a real baseimage-14393.win. The preview files don't seem to be valid replacements.
        The website https://www.microsoft.com/en-us/software-download/dac appears broken.
        if there a way to derive the simple base images from the previews?
        I can't find any MS technical support goug that want to take ownership.
        My windows build is 16299.98. Here is a part of a log using
        Administrator powerShell
        PS C:\WINDOWS\system32> DesktopAppConverter.exe -Setup -BaseImage c:/Users/bwilley/Dow
        nloads/Windows_InsiderPreview_DAC_16299.wim -verbose
        VERBOSE: Desktop App Converter
        2.1.1.release_2017-10-25_17-08_813cf2829a8823824411be7075c2d457efea7288
        VERBOSE: --------------------------------------------------
        Running Setup

        VERBOSE: Checking that the Base Image file
        'c:/Users/bwilley/Downloads/Windows_InsiderPreview_DAC_16299.wim' exists
        VERBOSE: Ensuring that the Base Image file
        'c:/Users/bwilley/Downloads/Windows_InsiderPreview_DAC_16299.wim' is a valid windows
        image
        VERBOSE: An error occurred converting your application. Here is the full error
        record:
        VERBOSE:

        PowerShell Error Record:
        DesktopAppConverter : error 'E_INVALID_BASEIMG':
        'c:/Users/bwilley/Downloads/Windows_InsiderPreview_DAC_16299.wim' is not a valid base
        image. Please supply a valid .wim file that matches your OS build from
        https://aka.ms/converterimages.
        PowerShell Stack Trace:
        at RaiseUserException, C:\Program
        Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_x64__8wekyb3d8bbwe\converter_
        util\DACLogger.ps1: line 154
        at ValidateBaseImage, C:\Program
        Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_x64__8wekyb3d8bbwe\converter_
        util\InputValidation.ps1: line 358
        at Setup-DesktopAppConverter, C:\Program
        Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_x64__8wekyb3d8bbwe\Setup.ps1:
        line 74
        at <ScriptBlock><Process>, C:\Program
        Files\WindowsApps\Microsoft.DesktopAppConverter_2.1.1.0_x64__8wekyb3d8bbwe\DesktopApp
        Converter.ps1: line 382
        at <ScriptBlock>, <No file>: line 1

      • Markus Koch commented  ·   ·  Flag as inappropriate

        I restartet when prompted, but same error. We are using Windows Defender as our antivirus solution, should i disable this?

      • AdminWindows Project Centennial Team (Admin, Windows Developer) commented  ·   ·  Flag as inappropriate

        The setup of the base image looks to have failed. Make sure you go through restart if you get prompted. After restart Powershell should start up and finish the operations.

        We have seen cases where antivirus program was the culprit, maybe try disabling it if you have one running and try again.

        You could remove the expanded base image manually from “C:\ProgramData\Microsoft\Windows\Images\” and try expanding it again, in case the clean up operation was somehow failing.

        You can also search for “E_EXPANDED_BASEIMG_INVALID“ error online to see if any of the documented workarounds unblock you. If you are still having issues it's best to open a new topic on Stack Overflow or Windows Forums.

      • Markus Koch commented  ·   ·  Flag as inappropriate

        The Checksum of the file i've downloaded:
        File: Windows_InsiderPreview_DAC_16299.wim
        MD5: a9e9de4df9a1214280632b374c94171d
        SHA-1: 38f7b7235ac94efcf719160195da1b7f0ed9ee9c

      • Markus Koch commented  ·   ·  Flag as inappropriate

        Thank you for your message.
        First step "Cleanup" seems to finish correct:

        PS C:\WINDOWS\System32> desktopappconverter -cleanup "ExpandedImage" -Verbose
        AUSFÜHRLICH: Log file can be found in
        AUSFÜHRLICH: --------------------------------------------------

        Checking Prerequisites

        AUSFÜHRLICH: Checking Windows Version to ensure it meets minimum requirements
        AUSFÜHRLICH: Minimum Windows Version requirement is met.
        AUSFÜHRLICH: Testing for required feature enabled...
        AUSFÜHRLICH: Version des Zielabbilds: 10.0.16299.19
        AUSFÜHRLICH: Required feature is enabled. Checking if reboot is required
        AUSFÜHRLICH: Version des Zielabbilds: 10.0.16299.19
        AUSFÜHRLICH: Required feature is enabled.
        AUSFÜHRLICH: Version des Zielabbilds: 10.0.16299.19
        AUSFÜHRLICH: Version des Zielabbilds: 10.0.16299.19
        AUSFÜHRLICH: --------------------------------------------------

        Running Expanded image cleanup

        AUSFÜHRLICH: Cleanup Complete

        Then Step 2 after re-downloading the BaseImage 16299 Shows the error listet at logfile
        https://mbaec-my.sharepoint.com/:u:/g/personal/m_koch_mbaec_eu/EaqFNvxLLb1ImCPg0uUVk54BGh8tND0LDvTrZ8_aQQNq7g?e=b08c72a676de4061838b3036eae441d8

      • AdminWindows Project Centennial Team (Admin, Windows Developer) commented  ·   ·  Flag as inappropriate

        Thank you for the log.

        Can you please try cleaning up the expanded image, re-download the base image from https://www.microsoft.com/en-us/software-download/dac and try again?

        DesktopAppConverter -Cleanup "ExpandedImage" -Verbose

        When that operation is finished run:

        DesktopAppConverter -Setup -BaseImage "x:\<full_path>\BaseImage-16299.wim" -Verbose

        If you are still having issues, you can ask us on Stack Overflow:
        https://stackoverflow.com/questions/tagged/project-centennial+or+desktop-bridge

      ← Previous 1

      Feedback and Knowledge Base