Enable and disable guest customization in VM Tools 11.1.0
search cancel

Enable and disable guest customization in VM Tools 11.1.0

book

Article ID: 320065

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

This article provides the commands to enable and disable the guest customization in the guest virtual machine. By default, the guest customization is enabled.

Environment

VMware Tools 11.x

Resolution

Note: If the guest virtual machine administrator want to disable the guest customization to prevent VI administrator to customize the virtual machine.

For Linux based machine: 

  • To disable the guest customization in the guest Virtual Machine, Run the command: 
     
    vmware-toolbox-cmd config set deployPkg enable-customization false

  • To enable the guest customization in the guest Virtual Machine, Run the command:

    vmware-toolbox-cmd config set deployPkg enable-customization true
     

For Windows based Virtual Machines:

  • To disable the guest customization in the guest Virtual Machine, Run the command: 

    C:\Program Files\VMware\VMware Tools\VMwareToolboxCmd.exe config set deployPkg enable-customization false

  • To enable the guest customization in the guest Virtual Machine, Run the command:

    C:\Program Files\VMware\VMware Tools\VMwareToolboxCmd.exe config set deployPkg enable-customization true