VMware Communities
czer27
Contributor
Contributor

VMware tools 10.3.2 installing fails at the installing services

Hi,

on my new iMac 27" I have setup a VM  under VMware Fusion 11.

When I try to install VMware Tools 10.3.2 the installation runs up to starting service vmtoolsd.exe and fails.

After 30 seconds comes the rollback and the install is over.

What is to do?

czer27

10 Replies
wila
Immortal
Immortal

Hi,

What guest OS are you running?

Does the guest OS match the guest OS setting in the Virtual Machine Settings -> General  screen?

pastedImage_0.png


Try a uninstall VMware Tools - reboot VM - install VMware Tools.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
czer27
Contributor
Contributor

Hi wila,

thanks for your reply,

My data: iMac27/macOS10.14.0.3/Fusion11.0.2/Win8.1x64/VMwareTools10.3.2

Windows 8.1 matches the settings in the VMsettings.

I get the following System Failure message:

"The service vmtoolsd.exe cannot start, because the api-ms-win-crt-heap-l1-1-0.dll is not available.

Install the program and try again."

In \Windows\Winsxs I have found the api in x86 and amd64-version.

I have copied the api to \Windows\system32, but the Install program for VMwareTools

find the api not.

Where must be the api, to have a successful install of the VMware tools?

czer27

Reply
0 Kudos
wila
Immortal
Immortal

Hi,

The times of "copying files into \Windows\System32" really are gone and are more likely to cause harm as solve anything, so I do advise to forego that troubleshooting step in the future.

The error at least indicates that you are missing a part of the Visual C runtime that VMware Tools depends on.

On my Windows 10 VM that has the same VMware Tools version, it also has installed the "Microsoft Visual C++ 2017 Redistributable" for both x86 and x64, so most likely the problem is there.

My suggestion to try a "repair install" on those runtime components in "Control Panel" -> "Programs and Features" -> "Microsoft Visual C++ 2017 Redistributable" and see if that helps.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
czer27
Contributor
Contributor

Hi wila,

many thanks for your advices.

I have downloaded and installed the Microsoft Visual C++ 2017 Redistributable x86 and x64 and also Visual Studio Community 2017 v15.9.6, but the failure at installing VMware Tools stays.

The  error message says now, another api is not existing and must be installed. But this api-ms-win-crt-runtime-l1-1-0.dll is existing in Visual Studio 2017/Installer and in /2017.

It seems, the VMware Tools want to have the api´s at another place.

I have seen, on my Windows 8.1 Pro after the setup I had 31 WindowsUpdates to download and install, but after this no more Windows Updates are offered. May be, the VMware Tools install wants to have another Windows Update to run. The failure in Windows Update I don´t have found.

czer27

Reply
0 Kudos
wila
Immortal
Immortal

Hi,

It seems, the VMware Tools want to have the api´s at another place.

You probably already tried that, but did you reboot after installing the Visual C++ runtime component and before installing VMware Tools?

Getting the idea that something funky is going on with your system %PATH% like going over a limit in length, but that's just me wondering.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
czer27
Contributor
Contributor

Hi,

I think, there is a connection to my failing Windows Update. I tried to repair it, the WindowsDiagnostic.cab says all ok, but I have no downloads from Windows Update.

Also the .NET Framework seems to play a role. I have installed the absent NET 3.5, but it doesn´t help.

When I try to install VMware Tools I get only a new api as failure source: api-ms-win-crt-runtime-l1-1-0.dll.

What do you meen with "going on with the system %PATH%"?

czer27

Reply
0 Kudos
wila
Immortal
Immortal

Hi,

Windows uses so called environment variables in order to know where to look for certain files.

One of the commonly used such variables is called the PATH variable.

In a windows command prompt type:

echo %PATH%

and you will see all the paths in the system that are being searched when a file is not in the current folder.

This PATH variable has a fixed length, not sure.. something like 2048 characters.

Just looked it up and the doc says that the limit was 32768 characters, but that limitation should have been lifted after Windows Vista/Server 2003.

However in certain circumstances... you can still hit a limit of 2048 characters (see also: What is the maximum length of an environment variable? – The Old New Thing  )

So I suggest to look at the output of the above and see if the output looks like a part of it got trimmed.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
czer27
Contributor
Contributor

Hi wila,

the solution for my problem is:

Copy all api-ms-win-crt-... from \Windows\WinSxS to \Windows\system32

and the Installation of VMware Tools runs.

czer27

Reply
0 Kudos
wila
Immortal
Immortal

Hi,

Sorry I had intended to setup a test VM down here matching your specs and see if I could reproduce it, but work came up, so this test was moved forward in time.

The "copy ... file into Windows\System32" ... eeks...

Next time please copy those files into the VMware Tools folder, it should also solve the problem and not pollute the windows system folders.

As mentioned in an earlier answer "copying files manually into Windows\System32" should really never be needed, so I'm a bit confused why you bump into this.

The only thing I can come up with right now is if you have done the "copy into system" folders on this machine before with an older set of the same library.

That could explain this problem.

But that is just a guess and it might just as well have been due to something else. For example this wasn't very uncommon in the past where Windows installers of various applications would copy files into the windows system32 folder. It was one of several reasons the expression "Dll Hell" got popular for Windows.

Another nice tidbit is that the system32 folder carries the 64 bit DLLs on an x64 system and the SysWOW64 folder the 32 bits variants.

Anyways I'm happy that you found a fix and thanks for letting us know how you fixed it.

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos
czer27
Contributor
Contributor

HI wila,

many thanks for your help!

czer27