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

VIX API communicating to a FreeBSD VM

Are there any known issues with the VIX API communicating from a windows server with vCenter to a FreeBSD VM to make calls like RunProgramInGuest?

View Article


Editing .VMX file through code

Hi, I am not sure VIX API is the right forum to ask this question. Since VIX API helps to do most of guest operations, I dare to ask here. I work with VMware Workstation and I am looking for a...

View Article


Can we use VIX to get VMNet info from Workstation

Hi, I am using VIX for communicating with VM i.e. to start and run the apps inside VM. I am curious to know , is there any way to get the available VMNet info from Workstation. Usually VMnet0, Vmnet1...

View Article

VIX Illegal instruction (core dumped) on Ubuntu using sample code

Hi, I'm trying to learn VIX but can't even get beyond the first connect call.I get a Illegal instruction (core dumped) in SSL_InitEx () Anyone any ideas? Thanks, Jan // c-program #include...

View Article

Error code 3 VixHost_Connect Issue

VixHandle hostHandle = VIX_INVALID_HANDLE;   VixHandle jobHandle = VIX_INVALID_HANDLE;   VixError err;   // Connect as current user on local host.   jobHandle = VixHost_Connect(VIX_API_VERSION,...

View Article


Call to RunScriptInGuest hangs without executing anything

Hello, I'm automating several things on VM located at a 4.1 ESX host by using vCO vix plug-in and I've found that executing RunScriptInGuest does not run the script nor returns error. The guest is...

View Article

sample code and API for ESX/ESXi kernel mode driver?

Hi, We are new at VMware and I am trying to figure out where is the documentation / sample code / API for the development of a kernel mode driver for a hardware storage solution that we would like to...

View Article

vix api errors

Hello, I wrote this short programme to manage my tiny cloud, which consists of two machines. One is running windows server 2008 with vCenter 5.0 and the second is a ESXi 5.0 host. On the ESXi i have...

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


Cannot execute VIX API command on a Powered On Virtual Machine - vCenter

I cannot execute any VIX API vmrun command once the Virtual Machine is powered on.  The setup is a vCenter server with a number of esx hosts.  I can list all virtual machines, and power the machines...

View Article

VixError 22002: The specified version was not found.

Greetings, I'm trying to use the latest VMWare Player and VIX tools to build an automated testing framework. However, when I call VixHost_Connect, all I get is: VixError 22002: The specified version...

View Article

Image may be NSFW.
Clik here to view.

VSphere 5.5 with Vix 1.12 - Cancelled Operation

We are performing a number of guest operations through Vix (1.12), mainly to execute script files over virtual machines (Windows 2008 R2) hosted on VCenter 5.5 (Esxi hosts 5.5). Some of the blocking...

View Article

vmrun.exe readvariable returns null

i have installed vmware VIX on windows 7 64bit and want to connect and read some virtual machine variables such as net.adapters, but it returns null.my command is :vmrun.exe -h myhost.com -U myusername...

View Article


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

Programming VIX in Python

Hello: I need to program some funtions with VIX API but I need do it in python. For this purpose I need to import dll, etc to python... and call vix functions from a python script... someone can helps...

View Article


How to check for directory existence with vmrun?

Hello, I'm porting an existing VIX interface to use vmrun and I cannot find the way to use the DirectoryExistsInGuest with vmrun. Could be that VMware developers forgot it? Is there a workaround?...

View Article

RunScriptInGuest & Admin Privileges

Hello, I am attempting to use the VIX Java extensions to run scripts in some of my VMs. I can talk, push files, and call scripts, but I've run into an issue. Some of the scripts I wish to run require...

View Article


C# api to do: vmrun copyFileFromHostToGuest - not working.

Hi All, We are trying to run a simple call to copyFileFromHostToGuest    - to a Windows 2008 Server. We hit a snag where we are probably populationg the wrong values in the command-line: E:\Program...

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

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


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