vmrun – Error: You do not have access rights to this file

VMware vmrun command is very powerful feature of VMware Workstation and ESX server to automate things in virtual machines. Configuring automated script for Windows 2008 Server and Windows 2008 R2 was easy task. Everything went as expected. However the same script failed on Windows Vista and Windows 7 with the following two errors: for vmrun …