msdeploy.exe causes host system instability RRS feed

  • Question

  • Heavy usage of msdeploy.exe inside of a Windows Server Core container causes system instability of the host OS.  If the host OS has the wrong set of software installed, or certain windows updates, then msdeploy.exe will stop functioning inside of containers.  Running msdeploy.exe with no arguments will result in a crash, with exit code -1073741502.  The host system's storage will also become unstable, and the host will crash.

    This happened to our system on 2/13/2020, after the following update was installed:
    2020-02 Cumulative Update for Windows Server 2019 (1809) for x64-based Systems (KB4532691)

    I was able to replicate the above behavior on a Server Core 2019 VM running in Hyper-V on my laptop.  Installing the update broke msdeploy.exe in containers, removing the update fixed it.

    Is msdeploy.exe not safe to use in containers?

    Tuesday, February 18, 2020 9:41 PM