VMware Tools installation or upgrade may fail while installing VMCI driver
searchcancel
VMware Tools installation or upgrade may fail while installing VMCI driver
book
Article ID: 345060
calendar_today
Updated On: 11-12-2024
Products
VMware vSphere ESXi
Issue/Introduction
This article guides you through troubleshooting the installation of VMware Tools on guest operating systems.
Symptoms: VMware tools installation fails with error "Setup failed to install the VMCI Virtual Machine Communication Interface driver automatically. This driver will have to installed manually."
Environment
VMware vSphere ESXi 6.7
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
Cause
This issue happens as the Microsoft Root Certificate Authority missing or revoked from Trusted Root Authority store.
Anti-virus can also inhibit this installation/upgrade. Ensure anti-virus is disabled before attempting the Resolution below.
Impact/Risks:
Starting with Windows Vista, the Plug and Play (PnP) manager performs driver signature verification during device and driver installation. However, the PnP manager can successfully verify a digital signature only if the following statements are true:
The signing certificate that was used to create the signature was issued by a certification authority (CA).
The corresponding root certificate for the CA is installed in the Trusted Root Certification Authorities certificate store. Therefore, the Trusted Root Certification Authorities certificate store contains the root certificates of all CAs that Windows trusts.
By default, the Trusted Root Certification Authorities certificate store is configured with a set of public CAs that has met the requirements of the Microsoft Root Certificate Program. Administrators can configure the default set of trusted CAs and install their own private CA for verifying software.
Resolution
To resolve this issue you need to add the root certificate, follow the below steps:
From the virtual machine where the VMware Tools installation/upgrade is failing with VMCI driver issue, go to “C:\Windows\System32\drivers”
Right click on vmci.sys > Properties> Digital Signatures>Signature list.
You will see the certificates used to sign for this driver. It might be one or more than one cert.
Select the first name click on details and select “View Certificate”
Click on “Install Certificate”>Next and complete the wizard.
You will get “The import was successful”, repeat the same steps for all "Signature list" under "Digital Signature".
Now retry the VMware Tools upgrade/installation.
Note: if the certificate is expired, please open a Support Request with VMware support.