Problem loading vix.dll
I am using the VMWare Tasks library to try and automate some VMs for testing. However when my C# program (32-bit) tries to load vix.dll it seems to fail. Running vmrun.exe from the VixCOM directory...
View ArticleVIX_SERVICEPROVIDER_VMWARE_WORKSTATION error
Hi, I'm trying to run a script in a 64-bit Windows 7 VM usingthe vmrun command line tool (1.6.0.2073) and the following options: vmrun -T ws -gu user -gp passwordrunProgramInHost "C:\vms\W7.vmx"...
View Articlehow can i clone a vmware machine on ESXi?
Hi i have ESXi server. I am using VSphere Client to connect to VCenter Server. I can see the clone option is available in VCenter Server. I am using VIX API to crate snapshot, copy data into guest, run...
View Articlehow to unlock vmdk files?
Hi, Im using vix api to create a snapshot of guest os. After creating snapshot i try to download the snapshot files to remote machine without power off the guest os . But the problem is...
View ArticleConnect/Disconnect USB
Is there an API to connect/disconnect a USB device to/from the guest/host? I don't see any function definitions for such a use case in the APIs.... but this is "mission critical", so I thought I'd...
View ArticleSilent install for VIX API runtime?
Greetings, I need to be able to do a silent/unattended install the VIX API on Linux. It would be great if you guys provided an RPM, but since you don't, I was going to try to create one from the VIX...
View ArticleError copying filo from host to guest
Hi: I have a host with ESXi and I´m automating some functions.... I need to copy file from host to guest, I set this path: host_path = "[datastore1] Files/File.txt" guest_path = "C:"...
View ArticleThere was an error in communication
ESX version: 3.5 U4VIX version: latest Command run:C:\Program Files (x86)\VMware\VMware VIX>vmrun -T esx -h https://172.17.235.10/sdk -u serveruser -p serverpass -gu administrator -gp guestpass...
View ArticleHow to 'enable folder sharing' from dos?
I have a VM under development targeted for use with VMware Workstation v6.x, hosted in Windows XP. It uses a combination of scripts running in the VM kicked off by a .bat file on the host. The host...
View ArticleVIX Com on 64 bits
It looks to me that Vix Com doesn't work on 64 bits or I'm doing something wrong. What's happening is that the call: VixLibClass myVixLib = new VixLibClass(); job = myVixLib.Connect(1,...
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 ArticleVixJob_Wait or Vix_GetProperties gives 0 for handle
Hi, Is anyone else experiencing troubles on Windows with VIX version 1.12.2-1031769 after VixHost_Connect when trying to get VIX_PROPERTY_JOB_RESULT_HANDLE?I mean both: Vix_GetProperties(jobHandle,...
View ArticleVIX and Workstation version compatibility
I think i am having problems with the the workstation and vix not being the right versions ( compatibility wise ). I have a virtual machine that was created using 6.0 . I had some working code in...
View ArticleVIX - Perl on Windows
Hey, does anyone ever successfully installed VIX - Perl on Windows? Im using Active State Perl on Windows Server 2003 RC2, but always having Problems with building VIX - Modules. Does anyone...
View ArticleProblem running the vix-perl sample scripts
Hi All, I am new to Vix API and trying to run this sample script provided by vix-perl package in Linux(CentOS) \ #!/usr/bin/perl #Copyright 2006. VMware, Inc. The use of this code is...
View ArticleVixCOM API question: List info for all snapshots in a VM
(reposted from the Management APIs forum since that was apparently the wrong place for the COM APIs) Hi all, I'm pretty new at the VMWare APIs so excuse me if the answer to this is obvious. I've...
View Article"Unknown Error" problem
Hi, I see an error like one below in my program and have no idea what's causing it: 7/14/2009 11:34:52 AM: Vestris.VMWareLib.VMWareException: Unknown error at...
View ArticleWindows Server 2008 R2 guest problems
I am having problems launching applications in a Windows Server 2008 R2 guest. I am using VMWare Workstation 6.5.2 build 156735. VIX is 1.6.3. Host OS is Win2003 SP2, 32 bit. Guest is the Windows...
View ArticleGetting RetrieveProperties to resolve ManagedObjectReferences
I'm using the SDK sample code to get properties for all VMs using the RetrieveProperties method. I want to get host name which is accessible via the host property of the runtime property of the VM....
View ArticleMinimum requirements for Running VIX Scripts (in VMWare Workstation 7.0)
Hi Everyone , I am new to VMware VIX API (in VMware Workstation7.0) . I want to Run the perl scripts that are developed using VIX . What are the minimum requisites that i should have to successfully...
View Article