«

»

Dec 07

Silent Install of VMware Tools From The Command Line

If you have been using vSphere for any length of time, you have already come to know what a God-send and how essential VMware Tools is. For the majority of admins, being able to install VMware Tools using the Thick client drop-down and now from the web-client, is sufficient. However, there are times that you may want to have this scripted. To do a silent install of VMware Tools on a Windows VM you can do the following:

  • Copy the VMware Tools Installer to a local or shared folder
    • Note: There are 2 different installers: Setup.exe and Setup64.exe Choose according to the corresponding OS
  • Open Command Prompt
  • Browse to the folder that includes the setup file
  • type .\setup64.exe /s /v “/qn reboot=r”

The /qn means it will be a silent (quiet) installation, there will be no GUI.

reboot=r will keep your VM from restarting after the installation completes

s – silent execution

v – sends all parameters directly to the msi file.

 

Hope this helps!

1 comment

  1. Lutz Lehmann

    Recent silent installs fail because of missing VC++2008 redist package. So when using SCCM or similar methods of deploying VMware tools, make sure you include http://www.microsoft.com/en-us/download/details.aspx?id=11895 as depenancy.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">

twenty − 10 =