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

IO Redirection

 I am mainly using the Vix API through vmrun scripting interface.     Is there a way to redirect guest std(in|out|err)  from/to the host OS?  I would like to capture the output of the programs I run in...

View Article


Image may be NSFW.
Clik here to view.

RuntimeFault: Database temporarily unavailable or has network problems.

 RuntimeFault: Database temporarily unavailable or has network problems.     I always received that message when creating new Administrator from local users in Linux or  adding user permission on a...

View Article


memory leaks

 I'm running vmworkstation 6.0 with Bounds Checker and seeing an enormous amount of memory leaks when I exit out.  A lot of them having to do with "DictLL_UnmarshalLine," in dictl.c,...

View Article

RevertToSnapshot() returning VIX_E_FILE_ALREADY_LOCKED

I am trying to use RevertToSnapshot() from VIX 1.7 in a C# program to revert to a snapshot and I keep getting error 15 (VIX_E_FILE_ALREADY_LOCKED). The program is connecting to a Windows XP VM within...

View Article

Vmrun.exe and UNC Paths

 Greetings,   Are UNC paths to .vmx fully supported by vmrun (version 1.8.1)?   vmrun list will returns 0 running vms if they were loaded and launched using the UNC path to the vmx config file.  Thank...

View Article


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

CopyFileFromHostToGuest - INTERNAL ERROR: A file was not found

Hey, I am trying to Copy files into a VMWare image hosted in ESX using VIX (C# Wrapper around the COM API), but I can't quite get it right. Conceptual Something like:  IVMWareVirtualHost host = new...

View Article

VMRUN error - unable to execute VMRUN commands

Hello all, I recently just downloaded and installed a copy of VMWARE Workstation V.6.5.1 and quite new at using it.  I encountered a problem when trying to run a VMWARE instance using the DOS command...

View Article


vmrun does not work with Workstation 7.1.2

Running Workstation 7.1.2 on Windows 7 Enterprise 64-bit laptop. Any command from vmrun in either the Workstation directory or VIX 10.0.1 directory gives an error message. For example: vmrun.exe -T ws...

View Article


WindowXP 64-bit VM doesn't work with VIX API 1.8.1

When I try to run my VIX API callls against a WindowsXP 64-bit system I get the errors below. However, if I run the same calls against WindowsXP 32-bit, it works fine. Is WindowsXP 64bit not supported?...

View Article

RunProgramInGuest

Hi friends: I try to execute a program (*.exe) that is a script made for me. This program at the end create a file. I execute it manually and it finish and create the file successfully, but if I...

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

Unable to connect host. This operation is not supported with the current license

I am using a free license for ESXi 4.1 and trying to use vmrun 1.10.3 to start the VMs up.But I got the above ERROR. Can anyone confirm me that I need to pay a lincese for this operation? Free license...

View Article


Problem linking against latest version of VixAllProducts.lib

I've researched various posts but none of the suggested workarounds seem to work. I am using VS 2010, linking against this library works fine in 1.10.3.Does anyone have any pointers? By the way, I get...

View Article

Insufficient permissions on the guest operation system

I am getting this weird message when using VIX to try and open a host using a VMX (using VMWareTasks library). I have tried 2 different users that have the same set of roles applied to them (exactly...

View Article


unable to connect to host using VIX API with Perl

Hi The envrionment we have is Vsphere with VCenter 4.1. I am attemping to make a connectiion to vcenter using VIX API with Perl.(End goal being able to create a vm on a node). I am not successful with...

View Article

Sample Code to test VIX install

#include "vix.h"#include <stdlib.h>#include <stdio.h>VixHandle hostHandle = VIX_API_VERSION;VixHandle jobHandle = VIX_INVALID_HANDLE;VixError err;jobHandle =...

View Article


Connection fails with perl VIX but works with C

Hi,I'm new to the VIX SDK, and i'm willing to manage my  VM with VIX.I'm more accustomed to perl. Tu get my hands on it i tryed to use the sample host connection program which failed : Unrecognized...

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

issues getting the VM to "notice" runtime changes I've made via the VIX API?

Hello there!  I appear to have run into an interesting quirk in some automated testing I'm setting up using the VIX VM Perl API, and was wondering if anyone had seen anything similar and/or could offer...

View Article
Browsing all 34639 articles
Browse latest View live


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