Jump to content

VMware Workstation silent install.

Martin H

Recommended Posts

The MSI installer supports a switch for disabling the installation of certain components, like the VMware authorization service, NAT and DHCP i.e. 'REMOVE=Authd,NAT,DHCP'.

However, when doing that, then because of not installing the VMware authorization service, then an error is shown whenever one is trying to access a VM, but oddly enough, if not using the 'REMOVE=' switch to remove the VMware authorization service, but instead just closing the service afterwards and disabling it from starting up automatically, then one can access VMs without any problems...

Also, I personally don't need either DHCP or NAT to access the network, so i also close and disable them from starting automatically, after the install has done...

Here's an INF which will install VMware Workstation silently and close the three default services and disable them from starting up automatically(remember to change the serial):

Signature=$Windows NT$


"msiexec /i ""VMware Workstation.msi"" SERIALNUMBER=XXXXX-XXXXX-XXXXX-XXXXX /qn"

net stop VMAuthdService
net stop VMnetDHCP
"net stop ""VMware NAT Service"""

HKLM,"SYSTEM\CurrentControlSet\Services\VMware NAT Service","Start",0x10001,4

You cannot install this INF with "rightclick and install", as it's an Advanced INF, so use this command instead:

rundll32 advpack.dll,LaunchINFSection install.inf

Also, the above INF is for installing an admin install of VMware Workstation, which is done by running e.g.:

setup.exe /a /s /v"/qn TARGETDIR=D:\Temp\VMWare"

I personally use VMware Workstation v5.0, but this procedure also works fine with v6.x...

Edited by Martin H
Link to comment
Share on other sites

  • 6 months later...

Yeah, atleast it did with v6.0.1 b55017(i used that as it was the latest lite version from RyanVMs forum).

I recall that there where another service added, which i also incorporated into the INF, but i'm affraid i don't have it anymore, as i've changed over to using VirtualBox now instead...

Anyway, you can easilly add it yourself i.e. just run 'WIN+R > services.msc', double-click on the other service and note the name at the top and then duplicate it to the addreg and runpostsetupcommands sections following the used syntax...

Link to comment
Share on other sites

Hi, this is what i do for the latest version

extract the package :

VMware-workstation-full-7.0.1.exe /extract "<Folder Name>"

Then install via MSI :


Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...