To prevent the vmrun utility from failing when you provide user input through a dialog box, you can deactivate dialog boxes.
The vmrun utility might time out and fail when you use the utility on a virtual machine that requires user input through a dialog box.
To deactivate dialog boxes, insert the following line in the virtual machine configuration file, the .vmx file.
msg.autoAnswer = TRUE