Skip to content

Unattended VMware vSphere Client Installation (One-Click Install)

The VMware vSphere Client has an unattended install feature. This feature allows to install the client automatically without interaction. I wrote a little batch file which automatically downloads and installs all versions of the vSphere Client with one click.

vsphere-client-one-click-install

Download: install-vsphere-client.zip

Ensure that you run the script as administrator:
run-as-administrator
install-vsphere-client-all.bat

@echo off
bitsadmin.exe /transfer "4.1" http://vsphereclient.vmware.com/vsphereclient/1/6/5/1/0/2/3/VMware-viclient-all-4.1.0-1651023.exe %tmp%\VMware-viclient-all-4.1.0-1651023.exe
bitsadmin.exe /transfer "5.0" http://vsphereclient.vmware.com/vsphereclient/1/9/1/7/4/6/9/VMware-viclient-all-5.0.0-1917469.exe %tmp%\VMware-viclient-all-5.0.0-1917469.exe
bitsadmin.exe /transfer "5.1" http://vsphereclient.vmware.com/vsphereclient/2/3/0/6/3/5/6/VMware-viclient-all-5.1.0-2306356.exe %tmp%\VMware-viclient-all-5.1.0-2306356.exe
bitsadmin.exe /transfer "5.5" http://vsphereclient.vmware.com/vsphereclient/1/9/9/3/0/7/2/VMware-viclient-all-5.5.0-1993072.exe %tmp%\VMware-viclient-all-5.5.0-1993072.exe
bitsadmin.exe /transfer "6.0" http://vsphereclient.vmware.com/vsphereclient/VMware-viclient-all-6.0.0.exe %tmp%\VMware-viclient-all-6.0.0.exe

start /wait %tmp%\VMware-viclient-all-4.1.0-1651023.exe /q /s /w /L1033 /v" /qr"
start /wait %tmp%\VMware-viclient-all-5.0.0-1917469.exe /q /s /w /L1033 /v" /qr"
start /wait %tmp%\VMware-viclient-all-5.1.0-2306356.exe /q /s /w /L1033 /v" /qr"
start /wait %tmp%\VMware-viclient-all-5.5.0-1993072.exe /q /s /w /L1033 /v" /qr"
start /wait %tmp%\VMware-viclient-all-6.0.0.exe /q /s /w /L1033 /v" /qr"

del %tmp%\VMware-viclient-all-4.1.0-1651023.exe
del %tmp%\VMware-viclient-all-5.0.0-1917469.exe
del %tmp%\VMware-viclient-all-5.1.0-2306356.exe
del %tmp%\VMware-viclient-all-5.5.0-1993072.exe
del %tmp%\VMware-viclient-all-6.0.0.exe

If you need one specific version only:
install-vsphere-client-5-5.bat

@echo off
bitsadmin.exe /transfer "5.5" http://vsphereclient.vmware.com/vsphereclient/1/9/9/3/0/7/2/VMware-viclient-all-5.5.0-1993072.exe %tmp%\VMware-viclient-all-5.5.0-1993072.exe
start /wait %tmp%\VMware-viclient-all-5.5.0-1993072.exe /q /s /w /L1033 /v" /qr"
del %tmp%\VMware-viclient-all-5.5.0-1993072.exe

install-vsphere-client-6-0.bat

@echo off
bitsadmin.exe /transfer "6.0" http://vsphereclient.vmware.com/vsphereclient/VMware-viclient-all-6.0.0.exe %tmp%\VMware-viclient-all-6.0.0.exe
start /wait %tmp%\VMware-viclient-all-6.0.0.exe /q /s /w /L1033 /v" /qr"
del %tmp%\VMware-viclient-all-6.0.0.exe

5 thoughts on “Unattended VMware vSphere Client Installation (One-Click Install)”

    1. You can change the default installation path:
      1. Start -> Run -> regedit
      2. Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion
      3. Change the Path ProgramFilesDir or ProgramFilesDir (x86)

      1. i guess instead i will do this
        @echo off
        start /wait Z:\vSphere-Client\VMware-viclient.exe /w /1033 /v"/qr
        INSTALLDIR=\"D:\Program Files (x86)\VMware\Infrastructure\"
        /L*v \"%TEMP%\vim-vic-msi.log\""

  1. For Windows 7 and newer, you need to run 4.1 in compatability mode (Vista SP2). Add the following line right after downloading 4.1, line 3:

    REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%tmp%\VMware-viclient-all-4.1.0-1651023.exe" /t REG_SZ /d "VISTASP2"

Leave a Reply

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