Quantcast
Channel: VMware Communities : Popular Discussions - VIX API
Browsing all 34639 articles
Browse latest View live

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 Article


RunProgramInGuest only works if user is already logged in interactively?

I am at a loss on how to use the VIX api or vmrun.exe to run programs in the guest OS. I see proofs of concepts, but never have seen any signifcant, real-life, business case example of this working. I...

View Article


Cannot login under domain account via Vix

Cannot login in SUSE under domain account via Vix action Login_InGuest. Manually login is possible under domain user. This VIX error occurs during loginig uder domain account. Authentication failure or...

View Article

vix api in IVM2.Clone() err

Hello, everybodyI am Chinese,English is not good,I use C# developers.My code ------------------------------------------------------------------------------------------------------------Start----///...

View Article

VixMntApi_openDisks returns VIX_E_DISK_NOINIT

Hi, I am using vddk to write code to mount a vmdk file in linux.. When i try opening disks it returns VIX_E_DISK_NOINIT. How to solve this? /Thanks

View Article


Image may be NSFW.
Clik here to view.

ESX 4.1 - VIX API Removal/disable good or bad idea?

I've been asked to look into getting VIX API disabled on a VMware esx environments, as it's seen to be a security risk."An attacker could leverage this API to execute unauthorized scripts within a...

View Article

can I use VIX API Check Current User Logon Guest OS (VMs)

Hi, Averyone I must script for check current user logon guest os (VMs) with display list VMs and name user logon How can I check that, So Whom have script for list state & current user logon Thanks.

View Article

WaitWithoutResults never returns after invoking VixVM_PowerOn

Im using the COM interface in C# with VS2010. Everything went fine until i called WaitWithoutResults after the PowerOn operation - it wouldnt return until i manually shut down the VM guest machine that...

View Article


Run program in virtual machine

I am using VixVM_RunProgramInGuest to run a executable in a guest virtual machine. If the EXE requires elevation, it fails with the VIX_E_PROGRAM_NOT_STARTED error code. It works fine if the exe is not...

View Article


Objective-C-friendly wrapper around VIX API

First of all I'd like to thank the developers for finally bringing VIX API to Mac OS X. That's a great wrok. I've started a project for packing pure-C VIX API withing ObjC objects, so it can be used in...

View Article

VM Ware Hangs on LoginInGuest()

Hello, I have the following problem. I have a console application (written in C#) and it has 1 thread that is responsible to check for a couple of VMs in vSphere. This thread reads the VM status...

View Article

Guest host communication to share progress.

Hello, I have the following situation. A program needs to run on a guest OS and shoud share it's progress with host. What would be the best approach for this.WMCI sockets seem to do the job but I'm...

View Article

VIX 1.11 - ESxi 5.0 - License Issue with Power On operation.

Hi, I'm getting License issue error when I try to Power on a VM machine on my ESXi 5.0 when using VIX 1.11 and Vixcom. Other operation are operating without any issues.I have Ent Plus License. Any...

View Article


vix-perl installation problem

Hi,I'm trying to install vix-perl module on a Windows server with cygwin as build environment.I have unzipped the vix-perl tar in a directory and succesfully executed the 'perl Makefile.PL'...

View Article

Basic Question : Is VIX API only for VMs?

Folks: I think its a basic question. I see that the "VIX API" is listed under Virtual Machine Management section. Does this mean ESX/ESXi management is not supported by VIX API? Please advice. I'm...

View Article


VixVM_WriteVariable() issue: confusing info displayed in VMware Player GUI

I'm using  VixVM_WriteVariable() function in order to change the "memsize" of an encrypted vm.Based on the Vix API (version 1.11) documentation advice, I make use of the flag...

View Article

VIX_E_INTERACTIVE_SESSION_NOT_PRESENT when logged in through Windows 7 Remote...

Greetings, The VIX LoginInGuest() API with the VIX_LOGIN_IN_GUEST_REQUIRE_INTERACTIVE_ENVIRONMENT option does not work when a user is interactively logged in via a Windows 7 (64-bit) Remote Desktop...

View Article


How 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 Article

Problems 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 Article

vix API C# not able read the CPU utilization and memory usage

iam automating the report of the VI server utlilization. Need help to get the CPU ustilization of the server, IP host of the server list and memeory usage of the VI server. I gone through all the...

View Article
Browsing all 34639 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>