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

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


VIX / vmrun.exe command to get current snapshot name (or a way to build my own)?

I need to get the current snapshot name, so that I can revert to it later. Here's the process:1. Power on2. do something (run a program in guest)3. shut down4. snapshot(name)--at this point, I need to...

View Article

VIX API License

Hello, Is it permited to use VIX api in a comercial application and redistribute the runntime DLLs. Is any kind of license required? The end user agreement is not very clear on this. Thanks

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


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


Can we use VIX to add/remove disks from a VM?

Hi All, I'm having a problem, I have a ESX server which as several VMs: A,B,C,D,E etc.On A, I want to add/remove disks to B,C,D,E with VIX APIs (or vmrun commands).Is this possible? Or I have to give...

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

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

vim-cmd vmsvc/snapshot.removeall command took about 20 mins to finish

Experts, I am using command line tool vim-cmd to control my Vsphere clients' snapshots.Because I can not use vim-cmd to identify one snapshot by name, need to provide Index and Level, which I dont...

View Article
Browsing all 34639 articles
Browse latest View live


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