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.

2 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 →

    13 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      Submitting...
      • 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

      Feedback and Knowledge Base