[Windows] VIX API changes in 6.0.3 and issues with VixVM_RunProgramInGuest
IssueOn Windows guest, VixVM_RunProgramInGuest function always spawns target process inside UI session 0. This makes it impossible to interact with spawned process (which has UI) on Vista and makes...
View ArticleRunProgramInGuest Isolates Mapped Drives to Process Session
Greetings, _vm.RunProgramInGuest("subst.exe", "N: \"C:Program Files\"", 0, null, null) returns without errors but the drive doesn't appear in the current user session. I'm running Windows XP and...
View ArticleVixCOM.VixLib.Connect call fails with error code 3014;...
I am attempting to use the VIX API 1.60 from a VBS script to connect to a VC 2.5 Server using the VixCOM.VixLib.Connect call with the hostType parameter set to...
View ArticleSOLVED: Insufficient permissions in host OS
I'm trying to use VIX to open a VM on a Server 2.0. If I set the user as an admin on the server I'm able to open the machine just fine. However if I remove the user from the admin group I get the...
View ArticleUnable to RunProgramInGuest with Vista
I have a problem with RunProgramInGuest and a Vista guest. I cannot run any programs or scripts with it. I have tried RunScriptInGuest too with the same result. I am reusing the routines I used when I...
View ArticleQuestions regarding VIX and VIX and ANT.
Hello, I'm curious to know if anyone out there has had experience using VIX to control ANT scripts inside of a Windows XP VM running under VMware Workstation? I'm trying to figure out the right...
View ArticleLogging into guest VM failing with error 3015
The VIX API call LoginInGuest fails with error code 3015 (<![endif]><![if gte mso 9]><![endif]><![if gte mso 10]>/* Style Definitions */table.MsoNormalTable...
View ArticleUnable to connect to ESXi 4.0.0 using vmrun
Hello dear experts, I have a Linux machine where VIX API 1.10.1 is installed. I'm trying to list the available VMs of an ESXi 4.0.0 machine, using the command below: vmrun -T esx -h...
View Articlewindows 7 on Workstation 6.5.4: VixVM_RunProgramInGuest fails
Hi,I wrote a simple program that would turn on a vm, copy a file and run an executable file.Please see the code "run.c", attached.My workstation is 6.5.4 and I have two os's: windows xp and windows 7...
View ArticleExecuting "vmrun runScriptInGuest" on FreeBSD 8.2 guest
Hello, I would like to use VIX API to run some custom scripts on FreeBSD system. For that purpose I installed VMware Player 4.0 on my Windows 7 x32 host system, and then installed FreeBSD 8.2 guest...
View ArticleVIX / vmrun.exe command to get current snapshot name (or a way to build my own)?
I need to get the current snapshot name, so that I can revert to it later. Here's the process:1. Power on2. do something (run a program in guest)3. shut down4. snapshot(name)--at this point, I need to...
View ArticleAdd Shared folder between host and guest (both Windows)
Hi, I was trying to add a shared folder using vmrun.exe option addSharedFolder, like ::start vmvmrun -T ws -gu admin-gp admin start "c:\vm\xp.vmx" ::add a shared foldervmrun -T ws...
View ArticleThrowing vmodl.fault.RequestCanceled without actually having cancelled a request
I'm running VMware Server 2.0.0, Build 122956, and Vix 1.6.2, Build 127388, on an Ubuntu 8.04.03-LTS system. The setup works reasonably well most of the time - I've been able to do VM management via...
View ArticleExtention of VMDK file size failed
i would i like to extend the size of vmdk file. as it is very much useful in my project Below is the code which i am using for extenstion of vmdk file code 1: package...
View ArticleVIX function to find guest OS volumes
hello I am trying to find volumes of guest OS is there any function or method in VIX.Thanks in advance
View ArticleRun Program in Guest as an Administrator
I'm attempting to automate some machine set-up tasks using the VIX API with VMware Workstation v9 using VBS. I have hit a blocker when attempting to use the "RunProgramInGuest" option on Windows 8, the...
View ArticleManage VMWARE by python
Good morning to everybody,I'm working to write a script python to manage a virtual machine, I choose, for example, VMware. To realize this script I need vmware's API and a library, called libvirt....
View ArticleVixHost_Connect Problem
Hi from Austria, When i want to run the following code : #include <string.h>#include "vix.h" VixHandle hostHandle = VIX_INVALID_HANDLE; int main(){VixError err;VixHandle jobHandle =...
View Articlevix-perl installation problems
Hi all, I'm having problems installing the vix-perl packages on Windows XP. The first thing i did was installing the ActivePerl-5.8.8.820-MSWin32-x86-274739.msi. Then I started the command prompt of...
View ArticleHow to find version of VIX API installed and uninstall/install it
I have VMware server 1.0.3 installed on Linux.How can I find which version of VIX API installed and how I can install previous version of API, can I keep 2 version of api installed.Your help is...
View Article