Memory leak when using the wrapper library?
When compiling the following code against the windows wrapper library, I seem to have an memory leak. After ~1500 reverts is has consumed about 170 MB of RAM. It starts as about ~7MB. After ~50 the...
View ArticleHow to ignore quotes in vmrun commands
Hi, I am trying to execute a vmrun command like below which is working fine. vmrun -T esx -h https://test.eng.vmware.com/sdk -u root -p password -gu root -gp password runProgramInGuest "[datastore]...
View ArticleProblems using vmrun on ESX3.5
Hopefully a quick question because I'm missing something obvious. I am running vmrun version 1.12.1 against an ESX 3.5 Server and am getting partial sucess. If I run: vmrun -T ESX -h http://{ip...
View ArticleVixVM_Open() returns error "The datastore corresponding to the given...
In one of our setup, VixVM_Open() API call returns error "The datastore corresponding to the given datastore path is not found."The returned error code is 38. The specified vmx path as input to...
View ArticleWill VIX API continue to be supported in vSphere 5.5 ?
Hi, Will the current VIX API's continue to be supported for the upcoming vSphere version - 5.5?I know that, now similar functionality are exposed by Web Services APIs. Still wanted to check whether the...
View ArticleVix_GetProperties() returns "false" for power state for an already powered-on VM
Hello, I have a windows 2012 Server VM running on ESXi 5.1. I'm using the VIX API to interface with the VM. The vSphere Client shows that the VM is powered on, with the VMware tools installed. After...
View ArticleInvalid parameters, even with the sample code
Hi, I probably missed some documentation somewhere with my answer, so bear with me. I've combed the forums for the answer, but none have applied. I'm using the latest VIX, 1.1.2-59824-i386, on...
View ArticleVixCom.dll vs Vix.dll
Hello, I am a bit confused by the dlls that Vix API provides and what to use/reference in my program. I have installed VIX API from http://www.vmware.com/download/eula.do (VIX API for Window 32-bit...
View Articleproblem with revert to snapshot function
Hi I am having problems with the automation of VM ware workstation 6 with multiple snapshots. On revert to snapshot sometimes it tries reverting to the wrong set of files and I get a vmdk problem. (...
View ArticleHow to Power On a remote host virtual machine
I am using vix api and vmware workstation. My scripts in perl and C++ can power on a guest operating system in my computer (localhost). However, I cannot power on a remote VM in another computer on...
View Articlevmrun clone: "The Operation is not supported"?
Hi, I am trying to clone a VM using vmrun with vSphere/ESX4 using the following command line: "C:\Program Files\VMware\VMware VIX\vmrun.exe" -T esx -h https://44.1.1.122/sdk -u root -p password...
View ArticleCopyFileFromHostToGuest - INTERNAL ERROR: A file was not found
Hey, I am trying to Copy files into a VMWare image hosted in ESX using VIX (C# Wrapper around the COM API), but I can't quite get it right. Conceptual Something like: IVMWareVirtualHost host = new...
View ArticleUnable to connect to vsphere ESXi using VIX
Dear experts, Please help me in getting started with VIX!! I'm trying to start a VM hosted in a vSphere ESXi (4.0.0, 208167) using the "vmrun" utility which I got by installing the VIX API 1.8.1 on...
View ArticleIP address of guest OS (VIX API)
Is there a way to figure out the IP address of guest OS in the VM, using VIX API. I did notice in a couple of discussion threads, mention of trying to read VM specific variables using...
View ArticleConfiguring Output from vmrun runProgramInGuest
Hello, I am using vmrun to run an MSDOS batch file inside a Windows vm as follows: vmrun -T vc -h https://<vcenterservername>:443/sdk -u username -p password -gu Administrator -gp...
View ArticleFail to open VM
Hi, I am very new to VIX and I was trying some of the sample on my machine.However, I am always seeing the hostHandle return as 0 after the VixHost_connect/VixJob_Wait call . As the result, the next...
View ArticleVMWareTasks is now on Github
Fyi, I have moved the popular VMWareTasks C# library to Github, the new home is https://github.com/dblock/vmwaretasks. Would love it if someone contributed a VixCOM upgrade. cheersdB.
View Articlecopy file from vco to guest failure?
Hi I am running VCO 5.1 appliance in a vsphere 5.1 environment. I am attempting to write a file to a guest machine. I have tried using both Local Administrator and Domain Administrator credentials but...
View ArticleWhere and what is the folder d:\build\ob\bora-xxxxx\
Dear Colleagues, This may be a stupid question but I am unable to find a clear and straight answer anywhere. Can someone tell me where I can find this following folder "d:\build\ob\bora-xxxxx\" What is...
View ArticlePowerON VM from remote via PSEXEC and API doesn't work
Frame:VMware Workstation 10.0VS-Studio 2012.NET 4.0Windows 7 64bitVestris.VMwareLib.Dll [version 1.7] <-- wrapper for VIX APIInstalled...
View Article