VMware Cloud Community
Mnemonic
Enthusiast
Enthusiast
Jump to solution

VirtualMachine NetworkAdaptor ConnectionState AllowGuestControl - How does it work

Hi,

I noticed that there is a setting on a VM's NetworkAdaptor called allowGuestControl. https://code.vmware.com/doc/preview?id=4206#/doc/vim.vm.device.VirtualDeviceOption.ConnectOption.htm...

I found that it should work by using the VMwareToolboxCmd.exe command in VMware Tools according to the manual: https://www.vmware.com/pdf/vmware-tools-cli.pdf

But when I use the "VMwareToolboxCmd.exe device list" command nothing lists, so I cannot find the connecd for connecting the NIC from within the Guest.

Does anyone know how to do this?

Best Regards

Brian.

Reply
0 Kudos
1 Solution

Accepted Solutions
mhampto
VMware Employee
VMware Employee
Jump to solution

For security reasons, this feature is disabled by default, see vSphere Documentation Center​. Have you ran through these steps before running the "VMwareToolboxCmd.exe device list" command?

Configure the virtual machine to allow connecting and disconnecting devices.

  1. Open the configuration (.vmx) file of the virtual machine with a text editor.
  2. If the following properties are not listed in the file, add them and set them to FALSE.

    isolation.device.connectable.disable = "FALSE"
    isolation.device.edit.disable = "FALSE"

  3. Save and close the file.

View solution in original post

Reply
0 Kudos
3 Replies
mhampto
VMware Employee
VMware Employee
Jump to solution

For security reasons, this feature is disabled by default, see vSphere Documentation Center​. Have you ran through these steps before running the "VMwareToolboxCmd.exe device list" command?

Configure the virtual machine to allow connecting and disconnecting devices.

  1. Open the configuration (.vmx) file of the virtual machine with a text editor.
  2. If the following properties are not listed in the file, add them and set them to FALSE.

    isolation.device.connectable.disable = "FALSE"
    isolation.device.edit.disable = "FALSE"

  3. Save and close the file.
Reply
0 Kudos
Mnemonic
Enthusiast
Enthusiast
Jump to solution

That worked thank you.

Reply
0 Kudos
Mnemonic
Enthusiast
Enthusiast
Jump to solution

I wrote an article about the risk of these settings: VMs with multiple vNics could be a security risk – The vGoodie-bag

Reply
0 Kudos