Uninstalling VMware Tools in a Windows virtual machine using the command line
search cancel

Uninstalling VMware Tools in a Windows virtual machine using the command line

book

Article ID: 315639

calendar_today

Updated On:

Products

VMware Desktop Hypervisor VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

This article provides steps to uninstall VMware Tools in a Windows virtual machine using the command line. You may want to use this procedure if the VMware Tools installation or uninstallation fails with error codes, such as Error 1316, Error 1606, or Error 1603.

Resolution

To uninstall VMware Tools from your virtual machine:
  1. Power on the virtual machine.
  2. Navigate to:
    • In Fusion, Virtual Machine > Install VMware Tools.
    • In Workstation, VM > Install VMware Tools.
       
  3. In the Windows virtual machine, click Start > Run, type cmd, and click OK. The Command Prompt opens.
  4. In the command prompt, enter D:.
  5. Run this command:
     
    • For 32 bit guest operating systems: setup.exe /c
    • For 64 bit guest operating systems: setup64.exe /c

      This uninstalls VMware Tools and performs a complete clean up.
       
  6. When prompted, allow setup to continue the uninstallation of VMware Tools.
  7. After VMware Tools is uninstalled, reboot the virtual machine.
  8. Reinstall VMware Tools.

    To reinstall VMware Tools:
    • In Fusion, navigate to Virtual Machine > Install VMware Tools.
    • In Workstation, navigate to VM > Install VMware Tools.


Additional Information

コマンド ラインを使用した Windows 仮想マシンでの VMware Tools のアンインストール
使用命令行在 Windows 虚拟机中卸载 VMware Tools

Impact/Risks:
This method uninstalls VMware Tools and does a complete cleanup in a headless mode.