While working on my Windows 7 installation image, I need to remove the VMware Tools prior to sysprepping.

The setup64.exe that VMware provide does have a silent option, but that still comes up with a confirmation window.

The proper way to do this is by running:

 

MsiExec.exe /quiet /norestart /X{2323AB98-DC8C-4883-9560-877CA97E1F61}

 

This goes for the version I have (8.8.4.14177), but the UID changes for every version.

To find the correct UID for the software, take a look in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall - it should be in there.

Find the UninstallString, and just add the /quiet and /norestart options.

  • No labels