VMware Communities
_usr_local_dick
Contributor
Contributor

How to unattendedly UNinstall VMware tools?

Hi guys

I am cooking up a Windows 7 64-bit image for deployment to our users. Using VMware WS 6.5 is very convenient with its snapshots.

However, just before I sysprep it, I would like to uninstall VMware tools, as the image will be deployed on physical machines.

I cannot find anywhere how to do this from the command line - only manually from the control panel.

Is it possible at all?

Some batch scripting would not be a problem if that is the only way...

thanks!

Tags (2)
Reply
0 Kudos
2 Replies
_usr_local_dick
Contributor
Contributor

Found it:

msiexec /passive /norestart /x VMwareTools64.msi

This worked, and after deploying the tools are gone.

In just copied the msi to C:\tmp so I would not have to have the VMware tools CD hanging around mounted in my VM.

Reply
0 Kudos
kingneutron
Expert
Expert

--Just as an FYI, to those searching in the future - this is how I do the reverse for unattended INSTALLING Vmware Tools (with auto-reboot, if necessary) -- similar to upgrading Tools in ESX:

o mount Tools ISO in the VM from the VM \ Install Vmware Tools menu

o In-vm, open CMD prompt and change to the CD drive ( J: in this example )

' j: '

' setup /s/v/qn '

--Tools will install silently without the usual GUI prompts, and reboot if necessary.

--Not trying to gank your thread, usr_local - just trying to inform Smiley Wink

./. If you have appreciated my response, please remember to apply Helpful/Correct points. TIA

./. If you have appreciated my response, please remember to apply Helpful/Correct points. TIA
Reply
0 Kudos