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

Bug? RevertToSnapshot fails with "file already in use"

 We've had a VMWareTasks thread on this.   Maybe it's a bug in VixCOM: RevertToSnapshot will fail with "file already in use" on VMWare workstation (both 6.x and 7.x) when you pass VIX_VMPOWEROP_NORMAL...

View Article


"Unable to connect to host. Error: The specified version was not found "

 file:///C:/Documents%20and%20Settings/ba/My%20Documents/Soulseek%20Chat%20Logs/Private/eureka.txt     here is my situtation:        workstation 7.0 installed------> vmrun runs pretty well...

View Article


VIX API for vSphere 4.1 is available for download

  VMware VIX API 1.10.1 has been posted for download.  It's available at http://www.vmware.com/go/vix.  This update is required for compatibility with vSphere 4.1.  It is also compatible with:  vSphere...

View Article

[VIX API 1.10.1] Problems while connecting to vmware player 3.1.1

 Hello,  Some days ago a new version of VMWARE Player (3.1.1) was released.  We are using VIX API to start vmware images. The code is .  This code works fine with vmware player 3.1. But with the new...

View Article

Modifying built-in VNC server configuration

I am experimenting with some code where I want to switch on the VNC server inside Workstation 7.1.2 via the VIX API by writing to runtime configuration variables. At the moment just using vmrun to do...

View Article


Extention 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 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

vix api in IVM2.Clone() err

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

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


For snapshot

I want to get a virtual machine all snapshot,But by  VixVM_GetNumRootSnapshots ()  does not get to all。What should I do to get it?

View Article

Getting "VMware Tools are not running in the guest" from VIX, but tools are...

I'm having an issue with a Perl VIX script that I am writing. I am connecting to a VM, I wait for the VMWare tools using VMWaitForToolsInGuest, and then I execute a VBScript. After about 15 minutes, I...

View Article

vifs --get internal error

Hi, I'm getting an internal error 500 from # vifs --server srv2 --username root --password *** -g "[SATA-RAID5] ISO/CentOS-6.2-x86_64-minimal.iso" ./xGET...

View Article

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


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

If you use VMrun on VMware workstation, is it limited to your own host only?

 The documentation for vmrun does not clearly state that you can only use vmrun commands against vmware workstation against a local host, but it seems to imply it because it shows no syntax for listing...

View Article


VIX API question vmrun says a File was not found

  I am trying to send commands directly to my Windows guest OS. Will the vmrun command come back with the information as if it was on the Windows command prompt?   I'm getting an error that the file...

View Article

Issue calling VIX API from vSphere Client

We are calling the VIX APIs from the vSphere Client Plug-in. I am loading the vSPhere Plug-in with vSPhere Client 4.1. When I call VIXHost_Connet for VMWare WOrkstion 7.1.X, I get the below error....

View Article


VIX PERL RunProgramInGuest, environment variables question...

I was wondering why certain environment variables aren't getting set.   One environment variable I need is %USERNAME%.   When I have remotely turn on cmd.exe, and I issue the command: echo %USERNAME%...

View Article

VIX API and Borland Developer Suite 2006 (C++)

Hi,recently i wanted to learn how to deal with the VIX API in C or C++. I tried to compile the sample powerOn.c with my BDS2006 as a C console application and got some errors.First, "stdafx.h" can not...

View Article

VIX 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 Article
Browsing all 34639 articles
Browse latest View live


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