To prevent the vmrun utility from failing when you provide user input through a dialog box, you can disable dialog boxes.

Reviewers: djohn Fri Oct 20 14:38:44 PDT 2017

I"m not sure if this issue still occurs. The topic appears in the Using vmrun to Control Virtual Machines guide here: https://www.vmware.com/support/developer/vix-api/vix112_vmrun_command.pdf#page=11

The vmrun utility might time out and fail when used on a virtual machine that requires user input through a dialog box.

To disable dialog boxes, insert the following line in the virtual machine configuration file, the .vmx file.

msg.autoAnswer = TRUE