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

Vestris.VMWareLib.VMWareException: Insufficient permissions in host operating...

Hello, I am unable to execute the host.open(..) command to return a machine object using the VIX API.Code is like this:             string pathToVM = "[csmrauto1a] " + name + "/" + name + ".vmx";...

View Article


Unable to get OS Name from VIX Api

In my ESX Server, there are number of VM’s, I am trying to get the Name of OS from each VM’s using VIX API in Java. Syntax: osName =...

View Article


Unable to get OS from VIX API

I am trying to get OS Name by using VIX API in Java. Syntax :osName = vixVmHandle.readVariable("GuestOS", VixConstants.VIX_VM_CONFIG_RUNTIME_ONLY); in above command I am getting null value in One ESX...

View Article

Executing "vmrun runScriptInGuest" on FreeBSD 8.2 guest

Hello, I would like to use VIX API to run some custom scripts on FreeBSD system. For that purpose I installed VMware Player 4.0 on my Windows 7 x32 host system, and then installed FreeBSD 8.2 guest...

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

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

"Reg.exe Restore" inside guest VM

 Hello,  I've got a batch file that saves registry keys via reg.exe to a hive file on the host, then I copy the hive and another batch file that "adds," the new registry key, changes the permissions on...

View Article


Best Approach to the Problem

 Hi,  I was hoping to get some feedback on the best approach to this problem so than I can worry about the code. I wrote a program that is intended to run inside a VM Guest. If it detects a certain...

View Article


SOLVED: Insufficient permissions in host OS

I'm trying to use VIX to open a VM on a Server 2.0.  If I set the user as an admin on the server I'm able to open the machine just fine.  However if I remove the user from the admin group I get the...

View Article

parse error while running vmrun.exe

 Hi,  I have installed Vmware Server 2.0 in Windows server 2008.  Im trying to connect the host machine using the vix api. it gives the following errors. Previously its working fine. What i have done...

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

USB connect/disconnect

Hello! I'm not sure if this belongs in the VIX section of the forums. If it doesn't please show me where in the forums to post instead. What I want to do is simple: I want to be able to connect a USB...

View Article


VIX 1.6.2 Bug Report: recv error 10054

 I have found that running the snapshot.c sample code against a VMware Server 2 host produces the following error on the host when the program is closed:   SOCKET 3 (1848) recv error 10054: An existing...

View Article

CopyDatastoreFile_Task strange behaviour

 Hello,  I need to copy virtual disks (or files) between datastors in VI. I am using VMware Infrastructure (VI) API from perl. Initialy I tried to use CopyVirtualDisk_Task, but it apeared that it works...

View Article


Throwing vmodl.fault.RequestCanceled without actually having cancelled a request

I'm running VMware Server 2.0.0, Build 122956, and Vix 1.6.2, Build 127388, on an Ubuntu 8.04.03-LTS system. The setup works reasonably well most of the time - I've been able to do VM management via...

View Article

Can removable devices connect or disconnect with VIX API?

Hi,  I want to be able to connect a USB device (currently being connected to the host) to the guest with command-line or program.  Is this possible in some way? Menu -> VM -> Removable...

View Article


Image may be NSFW.
Clik here to view.

VIX_SERVICEPROVIDER_VMWARE_WORKSTATION error

 Hi,  I'm trying to run a script in a 64-bit Windows 7 VM usingthe vmrun command line tool (1.6.0.2073) and the following options:  vmrun -T ws -gu user -gp passwordrunProgramInHost "C:\vms\W7.vmx"...

View Article

ntdll crash

Anybody had ntdll.dll problems while using VIX C API? I don't know for sure my problem is caused by VIX. I have a java application that uses the VIX API through JNI. A few times, while it was running a...

View Article

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


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