Provision additional servers in minutes without investing in new hardware.VMware Server is a robust yet easy to use product for users new to server virtualization technology and is based on VMware's proven technology. It enables companies to partition a physical server into multiple virtual machines and to start experiencing the benefits of virtualization. This is a failed deployment.VMware® Server is a free virtualization product for Windows and Linux servers with enterprise-class support. Write-Host -ForegroundColor Red "VMWare Tools are still not installed correctly.
#If after the reinstall, the service is still not running, this is a failed deployment.
#Wait again for the VMTools service to start VMware Workstation 12 Pro 12.5.2 Build 4638234 Lite + VMware-tools 10.0. Start-Process "setup64.exe" -ArgumentList '/s /c' -Wait #If the service never enters the 'Running' state, re-install VMWare Tools $Service = Get-Service "VMTools" -ErrorAction Silentl圜ontinue Note: The script could also be used for others version of Windows. Use PowerCLI to configure the OS with invoke-vmscript via the VMware tools. #After the installation is finished, check to see if the 'VMTools' service enters the 'Running' state every 2 seconds for 10 seconds Create with PowerShell an ISO for Windows server 2016 unattended installation including VMware tools. Start-Process "setup64.exe" -ArgumentList '/s /v "/qb REBOOT=R"' -Wait
Note that VMWare Tools is only reinstalled if the first attempt failed: #Set the current working directory to whichever drive corresponds to the mounted VMWare Tools installation ISO For Cloud ServerThe VMware Tools are programs and drivers that are needed for the smooth operation of the Cloud Server.VMware tools are installed directly on the guest operating system. As a result, I updated my VMWare Tools installation script to include logic to reinstall VMWare Tools if the VMTools service didn’t come up after the first install. The only other resolution was to manually reinstall VMWare Tools, but I needed this to be done during an unattended deployment of Server2016.
\vcredist_圆4_ /qb VMWare Tools Install Script with Re-Install Logic Start-Process "vcredist_圆4_" -ArgumentList '/qb' -Wait Silent install of the VC Redist 2008 package, for reference: Powershell: I then shifted to using the VC Redist 2008 package, but I still experienced the issue with the VMWare Tools service not being installed on the first install attempt. \vcredist_圆4.exe /install /passive /norestart Install VMware Tools on Windows and Windows Server VMs. Start-Process "vcredist_圆4.exe" -ArgumentList '/install /passive /norestart' -Wait The steps below were done on a Windows Server 2016 installation, but the process is the same for all recent versions of Windows and Windows Server. Silent install of the VC Redist 2017 package, for reference: Powershell: The VMWare Tools installer would end up installing a VC Redist 2008 package during it’s install, so it appears the versioning was off. However, installing the VC Redist 2017 package apparently wasn’t what the VMWare tools installer was looking for.
10.2.1-8267844Īttempted Fixes Manual VC Redistributable installĪfter reading the KB article above, I tried to first install the VC Redistributable 2017 package ahead of the vmware tools install.
This article explains how to automatically workaround the issue where the first attempt to install VMware tools on a new Server2016 system fails to install the VMWare Tools (VMTools) service.