title: multiple problems with vmrun.exe
body: <p>Host: Windows 7 pro 64-bit with VMWare Workstation 7.1</p>
  
  <p>What I am trying to automate:</p>
  
  <pre><code>1) Clone a template into a new VM. The template is Windows Server 2003 32-bit w/SP1 and already has VMWare tools installed and network and VM settings configured the way I want.
  2) Start the VM
  3) Copy a batch file and a zip file into the VM which installs a build and copies some files into certain locations. The build is different each time but I want the OS to be the same each time.
  4) Run the batch file within the VM
  </code></pre>
  
  <p>The basic idea is to be able to deploy different versions of the build into a VM with a controlled OS image and configuration. </p>
  
  <p>my batch file looks something like:</p>
  
  <pre><code>     vmrun clone %vm_template_path% %new_vm_path% full
       vmrun -T ws -gu &lt;user&gt; -gp &lt;pass&gt; start %new_vm_path% gui
       vmrun -T ws -gu &lt;user&gt; -gp &lt;pass&gt; copyFileFromHostToGuest %new_vm_path% %file_on_host% %file_path_on_VM%
       vmrun -T ws -gu &lt;user&gt; -gp &lt;pass&gt; runProgramInGuest %new_vm_%path% -nowait -interactive %file_on_host%
  </code></pre>
  
  <p>The clone works just fine. My problem(s) are:
  1) The start command does properly startup the VM, but never returns to the next line in my batch file. I waited over 30 minutes to ensure.
  2) The copyFileFromHostToGuest does not copy the file, never returns or display any errors. It just sits there. The file I tried to copy as a test was 30KB and I waited 15 minutes or so. </p>