Guest OS Customization fails on some Windows installed VMTools version before 10.3.0
search cancel

Guest OS Customization fails on some Windows installed VMTools version before 10.3.0

book

Article ID: 311937

calendar_today

Updated On:

Products

VMware VMware vSphere ESXi

Issue/Introduction

Symptoms:
Guest OS Customization fails.
In the %WINDIR%\temp\toolsDeployPkg.log file, you see that "Command Completed with exit code -107374151"
The affected Guest OS-s are as follows, but not limited to:
Windows Server 2012 R2
Windows 8.1
Windows RT 8.1
Windows Server 2012
Windows 8
Windows RT
Windows Server 2008 R2 Service Pack 1 (SP1)
Windows 7 SP1
Windows Server 2008 Service Pack 2 (SP2)
Windows Vista SP2


Cause

The compiler of guest OS customization moved from Microsoft Visual Studio 2013 to Microsoft Visual Studio 2017,which means that some run-time components are needed of Visual C++ libraries installed.
For the windows without the windows update of KB2999226, "api-ms-win-crt-runtime-l1-1-0.dll is missing" error will appear.

Resolution

There are 3 ways:
1. Upgrade the VMware tools version to 10.3.0 or later.
2. Follow the Update for Universal C Runtime in Windows to install the windows update for the
    KB2999226 on the specific windows. 
3. In the affected windows VMs, install the Visual C++ Redistributable for Visual Studio 2015 from:
    https://www.microsoft.com/en-us/download/details.aspx?id=48145


Workaround:
No workaround available.