<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>VMware Communities : Unanswered Threads - VIX API</title>
    <link>http://communities.vmware.com/community/developer/forums/automationapi?view=discussions&amp;filter=open</link>
    <description>Unanswered Discussion Threads in VIX API</description>
    <language>en</language>
    <pubDate>Tue, 24 Nov 2009 08:07:04 GMT</pubDate>
    <generator>Clearspace 1.10.12 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-11-24T08:07:04Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>RevertToSnapshot  error vmrun</title>
      <link>http://communities.vmware.com/thread/243954</link>
      <description>Hi,&lt;br /&gt;
&lt;p /&gt;
When I run the command: &lt;br /&gt;
vmrun -T server -h "http_address" -u userHost -p passwordHost revertToSnapshot "file.vmx" snapshot_name&lt;br /&gt;
&lt;p /&gt;
I get the following error:&lt;br /&gt;
&lt;br /&gt;
One of the parameters was not valid.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
my version is VMware-vix-1.8.1-207905.exe&lt;br /&gt;
What can I do? Please Help me!</description>
      <pubDate>Tue, 24 Nov 2009 08:07:04 GMT</pubDate>
      <author>ffc518</author>
      <guid>http://communities.vmware.com/thread/243954</guid>
      <dc:date>2009-11-24T08:07:04Z</dc:date>
      <clearspace:dateToText>1 day, 15 hours ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>64-bit app against x86 VIX</title>
      <link>http://communities.vmware.com/thread/243828</link>
      <description>I put together a simple 64bit app that tries to connect to a host using x86 VIX1.6.2.  However, this does not work.  &lt;br /&gt;
&lt;br /&gt;
What are some possible solutions?&lt;br /&gt;
&lt;br /&gt;
ref : &lt;a class="jive-link-external" href="http://www.dnjonline.com/article.aspx?ID=jun07_access3264"&gt;http://www.dnjonline.com/article.aspx?ID=jun07_access3264&lt;/a&gt;</description>
      <pubDate>Mon, 23 Nov 2009 14:00:19 GMT</pubDate>
      <author>fixitchris</author>
      <guid>http://communities.vmware.com/thread/243828</guid>
      <dc:date>2009-11-23T14:00:19Z</dc:date>
      <clearspace:dateToText>2 days, 10 hours ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Pb stopping a guest using vmrun</title>
      <link>http://communities.vmware.com/thread/243311</link>
      <description>&lt;br /&gt;
Hi, &lt;br /&gt;
&lt;p /&gt;
 I've installed VMware-VIX-1.7.0-186713.x86_64.bundle on a RHEL 5.4 x86-64 Linux box.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
I've managed to use vmrun to list all VMs :&lt;br /&gt;
&lt;p /&gt;
vmrun -T vc -h &lt;a class="jive-link-external" href="https://hereismyadressip/sdk"&gt;https://hereismyadressip/sdk&lt;/a&gt; -u jylenhof -p hereismypassword list&lt;br /&gt;
Total running VMs: 101&lt;br /&gt;
&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=s0184%3Astorage1"&gt;s0184:storage1&lt;/a&gt; S0127/S0127.vmx&lt;br /&gt;
&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=VmVolume3"&gt;VmVolume3&lt;/a&gt; S0136 - Test Linux/S0136 - Test Linux.vmx&lt;br /&gt;
&amp;lt;snip&amp;gt;&lt;br /&gt;
&lt;p /&gt;
 &lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=VMware_Autonome_02"&gt;VMware_Autonome_02&lt;/a&gt; SV0188 - Serveur de Chat/SV0188 - Serveur de Chat.vmx&lt;br /&gt;
&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=VMware_Autonome_02"&gt;VMware_Autonome_02&lt;/a&gt; SMTP2 - Relais Mail/SMTP2 - Relais Mail.vmx&lt;br /&gt;
&lt;p /&gt;
But when I try to use it to stop a VM, the status reported is not the real one (my guest is powered on) :&lt;br /&gt;
&lt;p /&gt;
&lt;strike&gt;root@sv0220 fence_vmware&lt;/strike&gt;# vmrun -T vc -h &lt;a class="jive-link-external" href="https://hereismyipaddress/sdk"&gt;https://hereismyipaddress/sdk&lt;/a&gt; -u jylenhof -p hereismypassword stop "&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=VmVolume1"&gt;VmVolume1&lt;/a&gt; sv0221 - Maquette FTP/sv0221 - Maquette FTP.vmx"&lt;br /&gt;
Error: The virtual machine is not powered on: &lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=VmVolume1"&gt;VmVolume1&lt;/a&gt; sv0221 - Maquette FTP/sv0221 - Maquette FTP.vmx&lt;br /&gt;
&lt;strike&gt;root@sv0220 fence_vmware&lt;/strike&gt;#&lt;br /&gt;
&lt;p /&gt;
Nothing is written on the vcenter side. &lt;br /&gt;
&lt;p /&gt;
And when I try to start this already started vm, it says that it cannot connect to the virtual machine... &lt;br /&gt;
&lt;p /&gt;
&lt;strike&gt;root@sv0220 fence_vmware&lt;/strike&gt;# vmrun -T vc -h &lt;a class="jive-link-external" href="https://hereismyipaddress/sdk"&gt;https://hereismyipaddress/sdk&lt;/a&gt; -u jylenhof -p hereismypassword start "&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=VmVolume1"&gt;VmVolume1&lt;/a&gt; sv0221 - Maquette FTP/sv0221 - Maquette FTP.vmx"&lt;br /&gt;
Error: Cannot connect to the virtual machine&lt;br /&gt;
&lt;strike&gt;root@sv0220 fence_vmware&lt;/strike&gt;#&lt;br /&gt;
&lt;p /&gt;
On the vcenter side, I've this message :&lt;br /&gt;
&lt;p /&gt;
XXX VirtualMachine.powerOn.label not found XXX&lt;br /&gt;
sv0221 - Maquette FTP&lt;br /&gt;
The attempted operation cannot be performed in the current state  Powered  on).&lt;br /&gt;
BANQUE-ACCORD\jylenhofV1000.banque-accord.com&lt;br /&gt;
19/11/2009 17:03:38&lt;br /&gt;
&lt;p /&gt;
Please advice what's wrong with my commands or if there's something wrong anywhere else ?  (I can provide more information if asked precisely)&lt;br /&gt;
&lt;p /&gt;
Regards,</description>
      <pubDate>Thu, 19 Nov 2009 16:10:39 GMT</pubDate>
      <author>jylenhof</author>
      <guid>http://communities.vmware.com/thread/243311</guid>
      <dc:date>2009-11-19T16:10:39Z</dc:date>
      <clearspace:dateToText>6 days, 7 hours ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>rest api</title>
      <link>http://communities.vmware.com/thread/243052</link>
      <description>&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;p /&gt;
I was looking for some example of how to use VMware rest api for fetching of all virtual machines, or all hosts, or virtual machines of specific host, and I did not find any.&lt;br /&gt;
&lt;p /&gt;
The example in class: com.vmware.vim.rest.sample.RestAppDemo does not show much more then hello world, or alt least it looks to me this way.&lt;br /&gt;
&lt;p /&gt;
Also I was unable to find a list of available URL's which can be used. I know that rest client is using managed object browser as rest service provider, but just by browsing it I was unable to find the URL I need.&lt;br /&gt;
&lt;p /&gt;
E.g. this URL would  fetch some info about the ESX server: &lt;br /&gt;
&lt;p /&gt;
 &lt;a class="jive-link-external" href="https://"&gt;https://&lt;/a&gt;&amp;lt;server&amp;gt;/mob/?moid=ServiceInstance&amp;#38;doPath=content.about&lt;br /&gt;
&lt;p /&gt;
 but where can I find any API for rest calls like this (I found this one in class RestAppDemo) or example that is not trivial. Maybe an example to turn on virtual machine?&lt;br /&gt;
&lt;p /&gt;
Can anyone give me some hint, I've been Google-ing for a few days and did not find anything that could help.&lt;br /&gt;
&lt;p /&gt;
Thanks in advance</description>
      <pubDate>Wed, 18 Nov 2009 10:55:59 GMT</pubDate>
      <author>mdinic</author>
      <guid>http://communities.vmware.com/thread/243052</guid>
      <dc:date>2009-11-18T10:55:59Z</dc:date>
      <clearspace:dateToText>1 week, 13 hours ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>How to monitor VM is normally running or facing a problem.</title>
      <link>http://communities.vmware.com/thread/242586</link>
      <description>&lt;br /&gt;
First of all, I wrote my question as document by mistake, so I submit again here. &lt;br /&gt;
&lt;p /&gt;
I have a question how a remote program can monitor VM is normally running or not on VMware.&lt;br /&gt;
&lt;p /&gt;
My environment is VMware ESX 4.0 and VIX API 1.7.&lt;br /&gt;
My C++ program can successfully access VMware from remote workstation, monitor power state of VM, power on or shutdown VM. And I want to monitor VM health state in order to confirm VM is normally running, that is power state of VM is running and also VM is not in hang condition.&lt;br /&gt;
&lt;p /&gt;
In case of Hyper-V of Microsoft, VM object, Msvm_ComputerSystem, has HealthState and OperationStatus properties. So it is possible to monitor VM is normally running by periodically monitoring those properties, I think.&lt;br /&gt;
&lt;p /&gt;
In case of VMware, VM object has not such a property. So if anyone has an idea to know health state of VM, please let me know.&lt;br /&gt;
&lt;p /&gt;
I have an idea to confirm VM health by periodically writing and reading variable to VM as follows, but I don't know this is effective or not.&lt;br /&gt;
############################################################################&lt;br /&gt;
BOOL writeReadPropertiesToVM(VixHandle vmHandle, BOOL* vmOK)&lt;br /&gt;
{&lt;br /&gt;
BOOL status = FALSE;&lt;br /&gt;
VixError err = VIX_OK;&lt;br /&gt;
VixHandle jobHandle = VIX_INVALID_HANDLE;&lt;br /&gt;
char *readValue = NULL;&lt;br /&gt;
&lt;p /&gt;
jobHandle = VixVM_WriteVariable(vmHandle,&lt;br /&gt;
VIX_VM_GUEST_VARIABLE,&lt;br /&gt;
"myTestVariable",&lt;br /&gt;
"newValue",&lt;br /&gt;
0, // options&lt;br /&gt;
NULL, // callbackProc&lt;br /&gt;
NULL); // clientData);&lt;br /&gt;
&lt;p /&gt;
err = VixJob_Wait(jobHandle, VIX_PROPERTY_NONE);&lt;br /&gt;
if (VIX_OK != err)&lt;br /&gt;
{&lt;br /&gt;
// Handle the error...&lt;br /&gt;
const char* errorString = Vix_GetErrorText(err, NULL);&lt;br /&gt;
printf("VixVM_WriteVariable, status = 0x0%x(%s).\n", err, errorString);&lt;br /&gt;
goto abort;&lt;br /&gt;
}&lt;br /&gt;
printf("VixVM_WriteVariable succeeded.n");&lt;br /&gt;
&lt;br /&gt;
jobHandle = VixVM_ReadVariable(vmHandle,&lt;br /&gt;
VIX_VM_GUEST_VARIABLE,&lt;br /&gt;
"myTestVariable",&lt;br /&gt;
0, // options&lt;br /&gt;
NULL, // callbackProc&lt;br /&gt;
NULL); // clientData);&lt;br /&gt;
err = VixJob_Wait(jobHandle, &lt;br /&gt;
VIX_PROPERTY_JOB_RESULT_VM_VARIABLE_STRING,&lt;br /&gt;
&amp;#38;readValue,&lt;br /&gt;
VIX_PROPERTY_NONE);&lt;br /&gt;
if (VIX_OK != err)&lt;br /&gt;
{&lt;br /&gt;
// Handle the error...&lt;br /&gt;
const char* errorString = Vix_GetErrorText(err, NULL);&lt;br /&gt;
printf("VixVM_ReadVariable, status = 0x0%x(%s).\n", err, errorString);&lt;br /&gt;
goto abort;&lt;br /&gt;
}&lt;br /&gt;
printf("VixVM_ReadVariable succeeded.\n");&lt;br /&gt;
*vmOK = TRUE;&lt;br /&gt;
&lt;p /&gt;
status = TRUE;&lt;br /&gt;
&lt;p /&gt;
abort:&lt;br /&gt;
Vix_FreeBuffer(readValue);&lt;br /&gt;
Vix_ReleaseHandle(jobHandle);&lt;br /&gt;
return status;&lt;br /&gt;
&lt;p /&gt;
}&lt;br /&gt;
&lt;p /&gt;
Thanks and regards,&lt;br /&gt;
&lt;p /&gt;
Shigemi</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vmware</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix_api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">guest</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">hangs</category>
      <pubDate>Mon, 16 Nov 2009 01:30:05 GMT</pubDate>
      <author>Shigemi</author>
      <guid>http://communities.vmware.com/thread/242586</guid>
      <dc:date>2009-11-16T01:30:05Z</dc:date>
      <clearspace:dateToText>1 week, 23 hours ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>What do i need to use the VIX?</title>
      <link>http://communities.vmware.com/thread/241488</link>
      <description>Hello!&lt;br /&gt;
&lt;br /&gt;
My questions:&lt;br /&gt;
1. Supported guest OS?&lt;br /&gt;
2. What do i need to install in guest OS?&lt;br /&gt;
&lt;br /&gt;
I tried to use VIX on Solaris 10 (i use Vmware Workstation 7.0 on Windows). In guest OS installed vmware tools (version from WS6.5).&lt;br /&gt;
&lt;br /&gt;
vmrun -T ws -gu root -gw ******** "full_path_to_vmx_file" "cmd_in_guest_os"&lt;br /&gt;
Error: This operation is not supported on this guest&lt;br /&gt;
&lt;br /&gt;
why?</description>
      <pubDate>Mon, 09 Nov 2009 13:36:46 GMT</pubDate>
      <author>eXeC001er</author>
      <guid>http://communities.vmware.com/thread/241488</guid>
      <dc:date>2009-11-09T13:36:46Z</dc:date>
      <clearspace:dateToText>2 weeks, 14 hours ago</clearspace:dateToText>
      <clearspace:messageCount>5</clearspace:messageCount>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>Uninstalling legacy installation... This version of "VMware VIX API" is incompatible with this operating system. Please install the "x86_64" version of this program instead.</title>
      <link>http://communities.vmware.com/thread/241353</link>
      <description>&lt;br /&gt;
get this error when trying to install workstation 7 after removing workstation RC1.&lt;br /&gt;
&lt;p /&gt;
Uninstalling legacy installation...&lt;br /&gt;
This version of "VMware VIX API" is incompatible with this operating system.&lt;br /&gt;
Please install the "x86_64" version of this program instead.&lt;br /&gt;
&lt;p /&gt;
kernel 2.6.27.29-0.1 &lt;br /&gt;
&lt;p /&gt;
 I am using a x64 Opensuse 11.1 install.&lt;br /&gt;
&lt;p /&gt;
i have tried to install both32 bit and 64 &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">workstation_7</category>
      <pubDate>Mon, 09 Nov 2009 02:20:51 GMT</pubDate>
      <author>sbuhk</author>
      <guid>http://communities.vmware.com/thread/241353</guid>
      <dc:date>2009-11-09T02:20:51Z</dc:date>
      <clearspace:dateToText>2 weeks, 2 days ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>"Invalid user name or password for the guest OS" error in vmrun runProgramInGuest Operation</title>
      <link>http://communities.vmware.com/thread/241295</link>
      <description>&lt;br /&gt;
Hi all,&lt;br /&gt;
&lt;p /&gt;
i have this script&lt;br /&gt;
&lt;p /&gt;
&lt;i&gt;"%ProgramFiles(x86)%\vmware\VMware VIX\vmrun.exe" -T ws revertToSnapshot "C:\_virtual-machines\vmware virtual machines\windows xp hry\windows xp hry.vmx" "testovani instalace 3"&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;"%ProgramFiles(x86)%\vmware\VMware VIX\vmrun.exe" -T ws start "C:\_virtual-machines\vmware virtual machines\windows xp hry\windows xp hry.vmx"&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;"%ProgramFiles(x86)%\vmware\VMware VIX\vmrun.exe" -T ws -gu user -gp aaaa copyFileFromHostToGuest "C:\_virtual-machines\vmware virtual machines\windows xp hry\windows xp hry.vmx" E:\lgo\software\tes4-oblivion-isles\_actual\Output\lgooblivionshiveringislesczech100.exe c:\temp\lgooblivionshiveringislesczech100.exe&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;"%ProgramFiles(x86)%\vmware\VMware VIX\vmrun.exe" -T ws -gu user -gp aaaa runProgramInGuest "C:\_virtual-machines\vmware virtual machines\windows xp hry\windows xp hry.vmx" -activeWindow -interactive c:\temp\lgooblivionshiveringislesczech100.exe /silent&lt;/i&gt;&lt;br /&gt;
&lt;p /&gt;
all operations is ok but last operation is write this error message: Invalid user name or password for the guest OS&lt;br /&gt;
&lt;p /&gt;
i am not understand this. if you see for console output:&lt;br /&gt;
&lt;p /&gt;
&lt;i&gt;E:\lgo\software\tes4-oblivion-isles\_actual&amp;gt;"C:\Program Files (x86)\vmware\VMware VIX\vmrun.exe" -T ws&lt;/i&gt;&lt;br /&gt;
+ -gu user -gp aaaa copyFileFromHostToGuest "C:\_virtual-machines\vmware virtual machines\windows+&lt;br /&gt;
+ xp hry\windows xp hry.vmx" E:\lgo\software\tes4-oblivion-isles\_actual\Output\lgooblivionshiveringisl+&lt;br /&gt;
&lt;i&gt;esczech100.exe c:\temp\lgooblivionshiveringislesczech100.exe&lt;/i&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;i&gt;E:\lgo\software\tes4-oblivion-isles\_actual&amp;gt;"C:\Program Files (x86)\vmware\VMware VIX\vmrun.exe" -T ws&lt;/i&gt;&lt;br /&gt;
+ -gu user -gp aaaa runProgramInGuest "C:\_virtual-machines\vmware virtual machines\windows xp hr+&lt;br /&gt;
&lt;i&gt;y\windows xp hry.vmx" -activeWindow -interactive c:\temp\lgooblivionshiveringislesczech100.exe /silent&lt;/i&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;i&gt;Error: Invalid user name or password for the guest OS&lt;/i&gt;&lt;br /&gt;
&lt;p /&gt;
first guest operation is run ok and second with same username and password not run for username and password problems &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/sad.gif" alt=":(" /&gt;&lt;br /&gt;
&lt;p /&gt;
host: windows vista ultimate english x64 sp2&lt;br /&gt;
guest: windows xp professional sp3&lt;br /&gt;
vmproduct: vmware workstation 7 rtm&lt;br /&gt;
&lt;p /&gt;
Any idea for this problem? &lt;br /&gt;
thanks for any help&lt;br /&gt;
&lt;p /&gt;
michal zobec</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vmrunprograminguest</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">error</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">windows</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">workstation_7</category>
      <pubDate>Sun, 08 Nov 2009 02:32:11 GMT</pubDate>
      <author>michal zobec</author>
      <guid>http://communities.vmware.com/thread/241295</guid>
      <dc:date>2009-11-08T02:32:11Z</dc:date>
      <clearspace:dateToText>2 weeks, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>How do you VixPropertyList_AllocPropertyList in VixCOM (or how to open an encrypted VM)?</title>
      <link>http://communities.vmware.com/thread/241041</link>
      <description>&lt;br /&gt;
I've added support to VixCOM 1.8 to VMWareTasks (Player, etc.), but I can't figure out how to allocate a new property list from C# via VIXCOM to support encrypted virtual machines. I want this code basically in C#. Ideas?&lt;br /&gt;
&lt;p /&gt;
err = VixPropertyList_AllocPropertyList(hostHandle,&lt;br /&gt;
                                        &amp;#38;propertyHandle,&lt;br /&gt;
                                        VIX_PROPERTY_VM_ENCRYPTION_PASSWORD,&lt;br /&gt;
                                        "vmPassword",&lt;br /&gt;
                                        VIX_PROPERTY_NONE);&lt;br /&gt;
if (err != VIX_OK) {&lt;br /&gt;
   // Handle the error...&lt;br /&gt;
   goto abort;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
// Open the virtual machine:&lt;br /&gt;
jobHandle = VixHost_OpenVM(hostHandle,&lt;br /&gt;
                           "c:&lt;br clear="all" /&gt;Virtual Machines\\vm1&lt;br clear="all" /&gt;win2000.vmx",&lt;br /&gt;
                           VIX_VMOPEN_NORMAL,&lt;br /&gt;
                           propertyHandle,&lt;br /&gt;
                           NULL, // callbackProc&lt;br /&gt;
                           NULL); // clientData</description>
      <pubDate>Fri, 06 Nov 2009 00:00:02 GMT</pubDate>
      <author>dblock</author>
      <guid>http://communities.vmware.com/thread/241041</guid>
      <dc:date>2009-11-06T00:00:02Z</dc:date>
      <clearspace:dateToText>2 weeks, 6 days ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Problem with revertToSnapshot</title>
      <link>http://communities.vmware.com/thread/238898</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
&lt;h6&gt;When I run the command:  &lt;/h6&gt;
&lt;blockquote&gt;&lt;span style="color:#ff6600"&gt;vmrun -T server -h "http_address" -u userHost -p passwordHost  revertToSnapshot  "file.vmx" snapshot_name&lt;/span&gt;&lt;/blockquote&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;h6&gt;I get the following error:&lt;/h6&gt;
&lt;br /&gt;
&lt;span style="color:#ff6600"&gt;One of the parameters was not valid.&lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
What can I do? Please Help me!&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
 Thank, mic</description>
      <pubDate>Tue, 27 Oct 2009 14:00:02 GMT</pubDate>
      <author>mic21</author>
      <guid>http://communities.vmware.com/thread/238898</guid>
      <dc:date>2009-10-27T14:00:02Z</dc:date>
      <clearspace:dateToText>4 weeks, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Problem with revertToSnapshot</title>
      <link>http://communities.vmware.com/thread/238897</link>
      <description>Hi,&lt;br /&gt;
&lt;br /&gt;
&lt;h6&gt;When I run the command:  &lt;/h6&gt;
&lt;blockquote&gt;&lt;span style="color:#ff6600"&gt;vmrun -T server -h "http_address" -u userHost -p passwordHost  revertToSnapshot  "file.vmx" snapshot_name&lt;/span&gt;&lt;/blockquote&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;h6&gt;I get the following error:&lt;/h6&gt;
&lt;br /&gt;
&lt;span style="color:#ff6600"&gt;One of the parameters was not valid.&lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
What can I do? Please Help me!&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
 Thank, mic</description>
      <pubDate>Tue, 27 Oct 2009 13:59:56 GMT</pubDate>
      <author>mic21</author>
      <guid>http://communities.vmware.com/thread/238897</guid>
      <dc:date>2009-10-27T13:59:56Z</dc:date>
      <clearspace:dateToText>3 weeks, 5 days ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>unable to copy file from host to guestVM - "Error: Invalid user name or password for the guest OS"</title>
      <link>http://communities.vmware.com/thread/235764</link>
      <description>&lt;br /&gt;
I'm trying to copy a file from an ESX host to a linuxVM running on it&lt;br /&gt;
&lt;p /&gt;
C:\Program Files\VMware\VMware VIX&amp;gt;vmrun -T esx -h &lt;a class="jive-link-external" href="https://10.55.1.16/sdk"&gt;https://10.55.1.16/sdk&lt;/a&gt; -u root -p *** -gu user -gp *** copyFileFromHostToGuest "&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=QA-NAS-01"&gt;QA-NAS-01&lt;/a&gt; VM/vm.vmx" /root/file /root/file&lt;br /&gt;
&lt;p /&gt;
the command returns  "Error: Invalid user name or password for the guest OS"&lt;br /&gt;
&lt;p /&gt;
opening the console of that machine, I'm able to login with user/*** to the linux shell (linux VM, which has no SSH access) &lt;br /&gt;
&lt;p /&gt;
Any ideas ?&lt;br /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
Zeevik</description>
      <pubDate>Thu, 08 Oct 2009 14:41:14 GMT</pubDate>
      <author>zeevik</author>
      <guid>http://communities.vmware.com/thread/235764</guid>
      <dc:date>2009-10-08T14:41:14Z</dc:date>
      <clearspace:dateToText>1 month, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>7</clearspace:messageCount>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>vix 1.7 installer crashes</title>
      <link>http://communities.vmware.com/thread/234872</link>
      <description>I am trying to resolve this issue and it has me baffled.&lt;br /&gt;
&lt;br /&gt;
The installer gets to the EULA, I hit enter to begin installing and it just dies. No error message, no indication it did anything, just exits.&lt;br /&gt;
&lt;br /&gt;
Has anyone else experienced this?</description>
      <pubDate>Fri, 02 Oct 2009 22:48:32 GMT</pubDate>
      <author>JonathanHansen</author>
      <guid>http://communities.vmware.com/thread/234872</guid>
      <dc:date>2009-10-02T22:48:32Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>7</clearspace:messageCount>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>Programmatically Connecting/Disconnecting Removable Devices using VIX API?</title>
      <link>http://communities.vmware.com/thread/234682</link>
      <description>&lt;br /&gt;
Is it somehow possible to connect/disconnect removable devices using the VIX API?&lt;br /&gt;
&lt;p /&gt;
Or is there another mechanism how I might archieve that using my own tool/script?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks</description>
      <pubDate>Thu, 01 Oct 2009 22:10:17 GMT</pubDate>
      <author>julzen</author>
      <guid>http://communities.vmware.com/thread/234682</guid>
      <dc:date>2009-10-01T22:10:17Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>VIX_SERVICEPROVIDER_VMWARE_WORKSTATION error</title>
      <link>http://communities.vmware.com/thread/234592</link>
      <description>&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;p /&gt;
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:&lt;br /&gt;
&lt;p /&gt;
vmrun -T ws -gu user -gp passwordrunProgramInHost "C:\vms\W7.vmx" -interactive "C:\test\test.cmd"&lt;br /&gt;
&lt;p /&gt;
 and i get the following error:&lt;br /&gt;
&lt;p /&gt;
 Error: Service type VIX_SERVICEPROVIDER_VMWARE_WORKSTATION was specified, but not installed&lt;br /&gt;
&lt;p /&gt;
 Can anyone help me with this error, it would be most appreciated!&lt;br /&gt;
&lt;p /&gt;
 Thanks &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt; &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Thu, 01 Oct 2009 15:29:38 GMT</pubDate>
      <author>sarahi</author>
      <guid>http://communities.vmware.com/thread/234592</guid>
      <dc:date>2009-10-01T15:29:38Z</dc:date>
      <clearspace:dateToText>1 month, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>there is a way to obtain, CPU and Memory usage from the virtual Machine</title>
      <link>http://communities.vmware.com/thread/233693</link>
      <description>&lt;br /&gt;
there is a way to obtain, CPU and Memory usage from the virtual Machine usink Vix Api.&lt;br /&gt;
&lt;p /&gt;
Regards. &lt;br /&gt;
&lt;p /&gt;
I'm using  C# wrapper.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">memory</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">cpu</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <pubDate>Fri, 25 Sep 2009 20:25:56 GMT</pubDate>
      <author>ghosther</author>
      <guid>http://communities.vmware.com/thread/233693</guid>
      <dc:date>2009-09-25T20:25:56Z</dc:date>
      <clearspace:dateToText>2 months, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Where could i get a beta version?</title>
      <link>http://communities.vmware.com/thread/231616</link>
      <description>I'm trying to use VIX with vmware player, as in this article : &lt;a class="jive-link-external" href="http://www.vmware.com/beta/workstation/vix-api/vix_player_technote.pdf"&gt;http://www.vmware.com/beta/workstation/vix-api/vix_player_technote.pdf&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
But the link to download is broken.&lt;br /&gt;
&lt;br /&gt;
Some one can say where do I can find this beta version?&lt;br /&gt;
&lt;p /&gt;
Thanks!</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">player</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">beta</category>
      <pubDate>Tue, 15 Sep 2009 14:41:07 GMT</pubDate>
      <author>IsaacLeal</author>
      <guid>http://communities.vmware.com/thread/231616</guid>
      <dc:date>2009-09-15T14:41:07Z</dc:date>
      <clearspace:dateToText>2 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Possible is it that VixHost_Connect() complete a connection through a session ID, not the username and password?</title>
      <link>http://communities.vmware.com/thread/230194</link>
      <description>What I want to realize is that accomplish a interaction with the vm on some ESX host under my VC. Because of  the unreachable of ESX host username and password, I can only get the session from the VC, then how can I reach the vm with VIX?&lt;br /&gt;
&lt;p /&gt;
I have some try, just initialize the username with session ID and  password NULL, then I get such error: CRITICAL **: gvmomi_session_connect: assertion `cnxParams' failed, anyone have ideas? &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks in advance.</description>
      <pubDate>Mon, 07 Sep 2009 08:36:33 GMT</pubDate>
      <author>brinews</author>
      <guid>http://communities.vmware.com/thread/230194</guid>
      <dc:date>2009-09-07T08:36:33Z</dc:date>
      <clearspace:dateToText>2 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Is there a way to retrieve performance statistics in VIX API?</title>
      <link>http://communities.vmware.com/thread/229260</link>
      <description>I am going to use VIX API to control VMs host in ESX servers in my automation system. Is there a way to get the statistics for ESX and storage? I'd like to use them to determine if the action is allowed, for example, it won't power on any VMs if CPU usage is more than 70%.</description>
      <pubDate>Wed, 02 Sep 2009 02:19:04 GMT</pubDate>
      <author>levinpeng</author>
      <guid>http://communities.vmware.com/thread/229260</guid>
      <dc:date>2009-09-02T02:19:04Z</dc:date>
      <clearspace:dateToText>2 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>vmrun: revertToSnapshot gives "A file by that name does not exist" error</title>
      <link>http://communities.vmware.com/thread/228864</link>
      <description>Hello. I'm having a problem with vmrun.exe (so I guess I'm not 100% convinced if it's the correct thread), as in the post title. I've used version 6.5.1 of vmrun.exe, and today I've installed v1.7 of VIX (it was advertised on the forum, above thread list), tagged as "e.x.p build-186713", but the problem remains.&lt;br /&gt;
&lt;br /&gt;
I'm listing the image's snapshot list by using listSnapshots (%VMX% is the path to the .vmx file):&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
C:\Program Files (x86)\VMware\VMware VIX&amp;gt;vmrun -T ws -gu Test -gp test listSnapshots %VMX% r1&lt;br /&gt;
Total snapshots: 1&lt;br /&gt;
r1&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
and then I'm trying to revert the snapshot:&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;
C:\Program Files (x86)\VMware\VMware VIX&amp;gt;vmrun -T ws -gu Test -gp test revertToSnapshot %VMX% r1&lt;br /&gt;
Error: A file by that name does not exist&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
I can revert to this snapshot ("r1") with VMWare Workstation GUI with no problems. When I start the virtual machine, and then I'll try to revert to the snapshot using vmrun.exe, the machine will stop, vmrun.exe will run for 2-3 secs, and it'll dump the same error as above.&lt;br /&gt;
&lt;br /&gt;
Funny thing is, it doesn't work with only one image - I have several virtual machines, with serveral different versions of Windows, and everything works on them (listing snapshots and reverting to them).&lt;br /&gt;
&lt;br /&gt;
I enclose the dump of directory contents, with file names and their sizes, as I saw on other (unanswered) thread that someone requested it, so I guess it could be important.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">reverttosnapshot</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vmrun</category>
      <pubDate>Mon, 31 Aug 2009 08:37:22 GMT</pubDate>
      <author>antekone</author>
      <guid>http://communities.vmware.com/thread/228864</guid>
      <dc:date>2009-08-31T08:37:22Z</dc:date>
      <clearspace:dateToText>2 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Technology Exchange Developer Day - VIX API Applications and Scripts for Managing Guest Environments</title>
      <link>http://communities.vmware.com/thread/226917</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
We are happy to announce about our hands-on demo at Technology Exchange Developer Day 2009, VIX API Applications and Scripts for Managing Guest Environments&lt;br /&gt;
&lt;br /&gt;
Presenter: Matt Lamantia&lt;br /&gt;
&lt;br /&gt;
Demo ID: DS-03&lt;br /&gt;
&lt;br /&gt;
Time: 3:45 - 4:45 AM&lt;br /&gt;
&lt;br /&gt;
Abstract:&lt;br /&gt;
We will show examples of how the VIX API can be used to develop tools for managing guest environments&lt;br /&gt;
in VMware products. Included will be a domonstration of prrof-of-concept tools that monitor processes and&lt;br /&gt;
transfer files to multiple guests simultaneously. We will also show a Perl script that combines vSphere&lt;br /&gt;
Web Services SDK and VIX SDK to re-size a virtual disk and then the filesystem above it on the fly.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">technology</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">technology_exchange</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">developer_day</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix_api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">applications</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">scripts</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">manging</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">guest</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">environment</category>
      <pubDate>Wed, 19 Aug 2009 01:26:52 GMT</pubDate>
      <author>navadavuluri</author>
      <guid>http://communities.vmware.com/thread/226917</guid>
      <dc:date>2009-08-19T01:26:52Z</dc:date>
      <clearspace:dateToText>3 months, 3 days ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Technology Exchange Developer Day - VIX API Applications and Scripts for Managing Guest Environments</title>
      <link>http://communities.vmware.com/thread/226916</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
We are happy to announce about our hands-on demo at Technology Exchange Developer Day 2009, VIX API Applications and Scripts for Managing Guest Environments&lt;br /&gt;
&lt;br /&gt;
Presenter: Matt Lamantia&lt;br /&gt;
&lt;br /&gt;
Demo ID: DS-03&lt;br /&gt;
&lt;br /&gt;
Time: 4:45 - 5:45 PM&lt;br /&gt;
&lt;br /&gt;
Abstract:&lt;br /&gt;
We will show examples of how the VIX API can be used to develop tools for managing guest environments &lt;br /&gt;
in VMware products. Included will be a domonstration of prrof-of-concept tools that monitor processes and &lt;br /&gt;
transfer files to multiple guests simultaneously. We will also show a Perl script that combines vSphere &lt;br /&gt;
Web Services SDK and VIX SDK to re-size a virtual disk and then the filesystem above it on the fly.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">technology</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">technology_exchange</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">developer_day</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix_api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">applications</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">scripts</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">manging</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">guest</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">environment</category>
      <pubDate>Wed, 19 Aug 2009 01:21:06 GMT</pubDate>
      <author>navadavuluri</author>
      <guid>http://communities.vmware.com/thread/226916</guid>
      <dc:date>2009-08-19T01:21:06Z</dc:date>
      <clearspace:dateToText>3 months, 2 days ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>using vestris starting from aspnet</title>
      <link>http://communities.vmware.com/thread/226585</link>
      <description>&amp;lt;!--&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=if+gte+mso+9"&gt;if gte mso 9&lt;/a&gt;&amp;gt;&amp;lt;xml&amp;gt;&lt;br /&gt;
Normal&lt;br /&gt;
0&lt;br /&gt;
false&lt;br /&gt;
false&lt;br /&gt;
false&lt;br /&gt;
EN-US&lt;br /&gt;
X-NONE&lt;br /&gt;
X-NONE&lt;br /&gt;
MicrosoftInternetExplorer4&lt;br /&gt;
&amp;lt;/xml&amp;gt;&amp;lt;!&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=endif"&gt;endif&lt;/a&gt;--&amp;gt;&amp;lt;!--&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=if+gte+mso+9"&gt;if gte mso 9&lt;/a&gt;&amp;gt;&amp;lt;xml&amp;gt;&lt;br /&gt;
&amp;lt;/xml&amp;gt;&amp;lt;!&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=endif"&gt;endif&lt;/a&gt;--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=if+gte+mso+10"&gt;if gte mso 10&lt;/a&gt;&amp;gt;&lt;br /&gt;
&amp;lt;style&amp;gt;&lt;br /&gt;
/* Style Definitions */&lt;br /&gt;
table.MsoNormalTable {mso-style-name:"Tabla normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;!&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=endif"&gt;endif&lt;/a&gt;--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=if+gte+mso+9"&gt;if gte mso 9&lt;/a&gt;&amp;gt;&amp;lt;xml&amp;gt;&lt;br /&gt;
Normal&lt;br /&gt;
0&lt;br /&gt;
false&lt;br /&gt;
false&lt;br /&gt;
false&lt;br /&gt;
EN-US&lt;br /&gt;
X-NONE&lt;br /&gt;
X-NONE&lt;br /&gt;
MicrosoftInternetExplorer4&lt;br /&gt;
&amp;lt;/xml&amp;gt;&amp;lt;!&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=endif"&gt;endif&lt;/a&gt;--&amp;gt;&amp;lt;!--&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=if+gte+mso+9"&gt;if gte mso 9&lt;/a&gt;&amp;gt;&amp;lt;xml&amp;gt;&lt;br /&gt;
&amp;lt;/xml&amp;gt;&amp;lt;!&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=endif"&gt;endif&lt;/a&gt;--&amp;gt;&lt;br /&gt;
&amp;lt;!--&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=if+gte+mso+10"&gt;if gte mso 10&lt;/a&gt;&amp;gt;&lt;br /&gt;
&amp;lt;style&amp;gt;&lt;br /&gt;
/* Style Definitions */&lt;br /&gt;
table.MsoNormalTable {mso-style-name:"Tabla normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;!&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=endif"&gt;endif&lt;/a&gt;--&amp;gt;&lt;br /&gt;
&lt;p /&gt;
Hi, I&amp;rsquo;m trying to power on a virtual machine starting from a&lt;br /&gt;
the web application, that&amp;rsquo;s say, using ASP.NET. The problem is that I run the&lt;br /&gt;
application from internet explorer doesn&amp;rsquo;t work but if I run one from the&lt;br /&gt;
visual studio works. I think that it could be problems of permits but I&lt;br /&gt;
impersonate the user of the application and neither it works. Here I send the&lt;br /&gt;
code.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
 using System;&lt;br /&gt;
using System.Collections.Generic;&lt;br /&gt;
using System.Linq;&lt;br /&gt;
using System.Web;&lt;br /&gt;
using System.Web.UI;&lt;br /&gt;
using System.Web.UI.WebControls;&lt;br /&gt;
using Vestris.VMWareLib;&lt;br /&gt;
using VixCOM;&lt;br /&gt;
&lt;br /&gt;
namespace VixWebApplication&lt;br /&gt;
{&lt;br /&gt;
    public partial class _Default : System.Web.UI.Page&lt;br /&gt;
    {&lt;br /&gt;
        protected void Page_Load(object sender, EventArgs e)&lt;br /&gt;
        {&lt;br /&gt;
&lt;br /&gt;
        }&lt;br /&gt;
&lt;br /&gt;
        protected void Button1_Click(object sender, EventArgs e)&lt;br /&gt;
        {&lt;br /&gt;
            // declare a virtual host&lt;br /&gt;
            VMWareVirtualHost virtualHost = new VMWareVirtualHost();&lt;br /&gt;
&lt;br /&gt;
            // connect to a local (VMWare Workstation) virtual machine&lt;br /&gt;
            virtualHost.ConnectToVMWareWorkstation();&lt;br /&gt;
&lt;br /&gt;
            // open an existing virtual machine&lt;br /&gt;
            VMWareVirtualMachine virtualMachine = virtualHost.Open(@"D:\Shared\My Virtual Machines\Windows XP Professional\winxppro.vmx");&lt;br /&gt;
&lt;br /&gt;
            // power on this virtual machine&lt;br /&gt;
            virtualMachine.PowerOn(Constants.VIX_VMPOWEROP_NORMAL /*| Constants.VIX_VMPOWEROP_LAUNCH_GUI*/, 180);&lt;br /&gt;
&lt;br /&gt;
            // login to the virtual machine&lt;br /&gt;
            virtualMachine.LoginInGuest("mila", "mila");&lt;br /&gt;
&lt;br /&gt;
        }&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
When&lt;br /&gt;
I run the application starting from the browser I obtain this error &amp;ldquo;Cannot&lt;br /&gt;
connect to the virtual machine&amp;rdquo; but I run the application from visual studio&lt;br /&gt;
works fine, that&amp;rsquo;s to say, the virtual machine power on.&lt;br /&gt;
&lt;p /&gt;
+Cannot&lt;br /&gt;
connect to the virtual machine+ &lt;br /&gt;
&lt;p /&gt;
*Description:*An unhandled exception occurred during the execution of the&lt;br /&gt;
current web request. Please review the stack trace for more information about&lt;br /&gt;
the error and where it originated in the code. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Exception Details:&lt;/b&gt; Vestris.VMWareLib.VMWareException:&lt;br /&gt;
Cannot connect to the virtual machine&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Source Error:&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;table class="jive-wiki-table"&gt;
&lt;tr&gt;
&lt;td&gt;Line 29: &lt;br /&gt;
&lt;p /&gt;
			Line 30: //&lt;br /&gt;
			power on this virtual machine&lt;br /&gt;
&lt;p /&gt;
			Line 31:&lt;br /&gt;
			virtualMachine.PowerOn(Constants.VIX_VMPOWEROP_NORMAL /*|&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;br clear="left" /&gt;
			Constants.VIX_VMPOWEROP_LAUNCH_GUI*/, 180);&lt;br /&gt;
&lt;p /&gt;
			Line 32: &lt;br /&gt;
&lt;p /&gt;
			Line 33: //&lt;br /&gt;
			login to the virtual machine|&lt;br /&gt;
&lt;p /&gt;
&lt;b&gt;Source File:&lt;/b&gt; C:\Inetpub\wwwroot\VixWebApplication\VixWebApplication\Default.aspx.cs &lt;b&gt;Line:&lt;/b&gt; 31 &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Stack Trace:&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;table class="jive-wiki-table"&gt;
&lt;tr&gt;
&lt;td&gt;[VMWareException:&lt;br /&gt;
			Cannot connect to the virtual machine]&lt;br /&gt;
&lt;p /&gt;
			Vestris.VMWareLib.VMWareInterop.Check(UInt64&lt;br /&gt;
			errCode) +66&lt;br /&gt;
&lt;p /&gt;
			Vestris.VMWareLib.VMWareJob.Wait(Int32&lt;br /&gt;
			timeoutInSeconds) +47&lt;br /&gt;
&lt;p /&gt;
			Vestris.VMWareLib.VMWareVirtualMachine.PowerOn(Int32&lt;br /&gt;
			powerOnOptions, Int32 timeoutInSeconds) +78&lt;br /&gt;
&lt;p /&gt;
			VixWebApplication._Default.Button1_Click(Object&lt;br /&gt;
			sender, EventArgs e) in&lt;br /&gt;
			C:\Inetpub\wwwroot\VixWebApplication\VixWebApplication\Default.aspx.cs:31&lt;br /&gt;
&lt;p /&gt;
			System.Web.UI.WebControls.Button.OnClick(EventArgs&lt;br /&gt;
			e) +111&lt;br /&gt;
&lt;p /&gt;
			System.Web.UI.WebControls.Button.RaisePostBackEvent(String&lt;br /&gt;
			eventArgument) +110&lt;br /&gt;
&lt;p /&gt;
			System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String&lt;br /&gt;
			eventArgument) +10&lt;br /&gt;
&lt;p /&gt;
			System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler&lt;br /&gt;
			sourceControl, String eventArgument) +13&lt;br /&gt;
&lt;p /&gt;
			System.Web.UI.Page.RaisePostBackEvent(NameValueCollection&lt;br /&gt;
			postData) +36&lt;br /&gt;
&lt;p /&gt;
			System.Web.UI.Page.ProcessRequestMain(Boolean&lt;br /&gt;
			includeStagesBeforeAsyncPoint&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;
&lt;br clear="left" /&gt;</description>
      <pubDate>Mon, 17 Aug 2009 19:51:13 GMT</pubDate>
      <author>oslinda</author>
      <guid>http://communities.vmware.com/thread/226585</guid>
      <dc:date>2009-08-17T19:51:13Z</dc:date>
      <clearspace:dateToText>3 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Disconnecting NIC in guest Programmatically</title>
      <link>http://communities.vmware.com/thread/226060</link>
      <description>&lt;br /&gt;
Hello, I am currently in search of a way to programmatically disconnect the guest's NIC. I have looked in several different places for a possible solution but I have come up practically empty handed. I am wondering if I can do this with VIX API? I was looking at VixVM_WriteVariable as a possibilty. Besides VIX, I also looked at vmware-cmd as a possibilty but from what I understand it was kind of replaced by vmrun, but vmrun doesn't have a disconnectdevice like vmware-cmd does.&lt;br /&gt;
&lt;p /&gt;
Any help is greatly appreciated. Thank you!&lt;br /&gt;
&lt;p /&gt;
 ~Jasson</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vmrun</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">nic</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">api</category>
      <pubDate>Thu, 13 Aug 2009 23:34:55 GMT</pubDate>
      <author>jmcmorris</author>
      <guid>http://communities.vmware.com/thread/226060</guid>
      <dc:date>2009-08-13T23:34:55Z</dc:date>
      <clearspace:dateToText>3 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>CRITICAL **: file ..\..\..\gobject\gobject.c: line 1737: assertion `G_IS_OBJECT (object)' failed</title>
      <link>http://communities.vmware.com/thread/225454</link>
      <description>I've got a C# console app that uses VIX 1.6.2 (to connect to ESXi v3.5.0&lt;br /&gt;
Sometimes during a call to Connect, the text:&lt;br /&gt;
&lt;ul&gt;

&lt;ul&gt;
&lt;li&gt;(MyConsoleApp.exe:5508): CRITICAL **: file ..\..\..\gobject\gobject.c: line 1737: assertion `G_IS_OBJECT (object)' failed&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;br /&gt;
Gets output to the console window. I'm guessing this is being output by some internal library that VIX uses; maybe an author of that library accidentally left an assertion in the release version of their code.&lt;br /&gt;
&lt;br /&gt;
Anyway, does anybody know what this is or if there's a solution to make it go away? The connection fails if I see this message, but it usually succeeds after 4 or 5 retries.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">c#</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">connect</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">error</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <pubDate>Tue, 11 Aug 2009 08:34:00 GMT</pubDate>
      <author>ScottLangham</author>
      <guid>http://communities.vmware.com/thread/225454</guid>
      <dc:date>2009-08-11T08:34:00Z</dc:date>
      <clearspace:dateToText>3 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Problem loading vix.dll</title>
      <link>http://communities.vmware.com/thread/224511</link>
      <description>I am using the VMWare Tasks library to try and automate some VMs for testing. However when my C# program (32-bit) tries to load vix.dll it seems to fail. Running vmrun.exe from the VixCOM directory works.&lt;br /&gt;
&lt;br /&gt;
In procmon I can see vmrun.exe try to load winmm.dll, oleacc.dll, mpr.dll, msasn1.dll, winspool.drv in C:\Program Files (x86)\VMware\VMware VIX\VIServer-2.0.0\32bit\ which all fail. It then continues on to load other DLLs and runs ok.&lt;br /&gt;
&lt;br /&gt;
My program also attempts to load these DLLs in C:\Program Files (x86)\VMware\VMware VIX\VIServer-2.0.0\32bit\, fails and then continues on to load them in C:\Windows\SysWOW64.&lt;br /&gt;
&lt;br /&gt;
The vmware-vixWrapper.log file looks like this for my program:&lt;br /&gt;
&lt;br /&gt;
Jul 30 12:16:38.631: app| Log for VixWrapper pid=5844 version=1 build=build-156745 option=Release&lt;br /&gt;
Jul 30 12:16:38.636: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:38.637: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:38.637: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:38.639: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:38.647: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws-2\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:38.651: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:38.651: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:38.655: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:38.656: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:38.659: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws-2\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:38.660: app| Loading Vix implementation library C:\Program Files (x86)\VMware\VMware VIX\\VIServer-2.0.0\32bit\vix.dll&lt;br /&gt;
Jul 30 12:16:38.669: app| failed to load library C:\Program Files (x86)\VMware\VMware VIX\\VIServer-2.0.0\32bit\vix.dll (193)&lt;br /&gt;
Jul 30 12:16:38.669: app| No Vix library found for provider 10 revision -1&lt;br /&gt;
&lt;br /&gt;
and the file for vmrun.exe looks like this:&lt;br /&gt;
&lt;br /&gt;
Jul 30 12:16:14.802: app| Log for VixWrapper pid=3460 version=1 build=build-156745 option=Release&lt;br /&gt;
Jul 30 12:16:14.812: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:14.813: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:14.814: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:14.814: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:14.823: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws-2\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:14.827: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:14.827: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:14.828: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:14.828: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:14.832: app| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws-2\32bit\vix.dll'&lt;br /&gt;
Jul 30 12:16:14.833: app| Loading Vix implementation library C:\Program Files (x86)\VMware\VMware VIX\\VIServer-2.0.0\32bit\vix.dll&lt;br /&gt;
&lt;br /&gt;
Any help would be appreciated!</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">c#</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">error</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <pubDate>Wed, 05 Aug 2009 01:27:05 GMT</pubDate>
      <author>LukeQuinane</author>
      <guid>http://communities.vmware.com/thread/224511</guid>
      <dc:date>2009-08-05T01:27:05Z</dc:date>
      <clearspace:dateToText>3 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>XML error on calling VixHost_Connect</title>
      <link>http://communities.vmware.com/thread/224328</link>
      <description>&lt;br /&gt;
Hello when I call the VixHost_Connect function I get this error:&lt;br /&gt;
&lt;p /&gt;
 vimServiceVersions.xml:1: parser error : Space required after the Public Identifier&lt;br /&gt;
&amp;lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&amp;gt;&lt;br /&gt;
                                                 ^&lt;br /&gt;
vimServiceVersions.xml:1: parser error : SystemLiteral " or ' expected&lt;br /&gt;
&amp;lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&amp;gt;&lt;br /&gt;
                                                 ^&lt;br /&gt;
vimServiceVersions.xml:1: parser error : SYSTEM or PUBLIC, the URI is missing&lt;br /&gt;
&amp;lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&amp;gt;&lt;br /&gt;
                                                 ^&lt;br /&gt;
vimServiceVersions.xml:9: parser error : Opening and ending tag mismatch: hr line 7 and body&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
       ^&lt;br /&gt;
vimServiceVersions.xml:9: parser error : Opening and ending tag mismatch: body line 4 and html&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
              ^&lt;br /&gt;
vimServiceVersions.xml:10: parser error : Premature end of data in tag html line 2&lt;br /&gt;
&lt;br /&gt;
^&lt;br /&gt;
vimService.wsdl:1: parser error : Space required after the Public Identifier&lt;br /&gt;
&amp;lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&amp;gt;&lt;br /&gt;
                                                 ^&lt;br /&gt;
vimService.wsdl:1: parser error : SystemLiteral " or ' expected&lt;br /&gt;
&amp;lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&amp;gt;&lt;br /&gt;
                                                 ^&lt;br /&gt;
vimService.wsdl:1: parser error : SYSTEM or PUBLIC, the URI is missing&lt;br /&gt;
&amp;lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&amp;gt;&lt;br /&gt;
                                                 ^&lt;br /&gt;
vimService.wsdl:9: parser error : Opening and ending tag mismatch: hr line 7 and body&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
       ^&lt;br /&gt;
vimService.wsdl:9: parser error : Opening and ending tag mismatch: body line 4 and html&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
              ^&lt;br /&gt;
vimService.wsdl:10: parser error : Premature end of data in tag html line 2&lt;br /&gt;
&lt;br /&gt;
^&lt;br /&gt;
noname.xml:1: parser error : Space required after the Public Identifier&lt;br /&gt;
&amp;lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&amp;gt;&lt;br /&gt;
                                                 ^&lt;br /&gt;
noname.xml:1: parser error : SystemLiteral " or ' expected&lt;br /&gt;
&amp;lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&amp;gt;&lt;br /&gt;
                                                 ^&lt;br /&gt;
noname.xml:1: parser error : SYSTEM or PUBLIC, the URI is missing&lt;br /&gt;
&amp;lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"&amp;gt;&lt;br /&gt;
                                                 ^&lt;br /&gt;
noname.xml:9: parser error : Opening and ending tag mismatch: hr line 7 and body&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
       ^&lt;br /&gt;
noname.xml:9: parser error : Opening and ending tag mismatch: body line 4 and html&lt;br /&gt;
&amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;&lt;br /&gt;
              ^&lt;br /&gt;
noname.xml:10: parser error : Premature end of data in tag html line 2&lt;br /&gt;
&lt;br /&gt;
^&lt;br /&gt;
&lt;p /&gt;
System: CentOS 5.3 x86_64 with VMware Server 2.0 (lats version for x86_64)&lt;br /&gt;
&lt;p /&gt;
running the same code(after recompiling) on an 32 Bit CentOS 5.3 with  VMware Server 2.0 (lat tversion for32 Bit) it will work.&lt;br /&gt;
&lt;p /&gt;
What goes wrong?</description>
      <pubDate>Tue, 04 Aug 2009 06:05:24 GMT</pubDate>
      <author>Bart_Simpson</author>
      <guid>http://communities.vmware.com/thread/224328</guid>
      <dc:date>2009-08-04T06:05:24Z</dc:date>
      <clearspace:dateToText>3 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Can removable devices connect or disconnect with VIX API?</title>
      <link>http://communities.vmware.com/thread/223862</link>
      <description>Hi, &lt;br /&gt;
&lt;br /&gt;
I want to be able to connect a USB device (currently being connected to the host) to the guest with command-line or program. &lt;br /&gt;
&lt;br /&gt;
Is this possible in some way?&lt;br /&gt;
&lt;br /&gt;
Menu -&amp;gt; VM -&amp;gt; Removable Devices -&amp;gt; &lt;i&gt;Connect USB Device or Disconnect USB Device&lt;/i&gt; &lt;br /&gt;
&lt;p /&gt;
I want to be albe to execute this command in some way. &lt;br /&gt;
&lt;p /&gt;
if it is impossible, I want to answer that is word "It's impossible" &lt;br /&gt;
&lt;p /&gt;
help me, please.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">usb</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">removable</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">devices</category>
      <pubDate>Fri, 31 Jul 2009 01:41:34 GMT</pubDate>
      <author>SAMSAMC</author>
      <guid>http://communities.vmware.com/thread/223862</guid>
      <dc:date>2009-07-31T01:41:34Z</dc:date>
      <clearspace:dateToText>3 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Throwing vmodl.fault.RequestCanceled without actually having cancelled a request</title>
      <link>http://communities.vmware.com/thread/223288</link>
      <description>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 the Perl portion of the API, and generally speaking, it's good to go.&lt;br /&gt;
&lt;br /&gt;
The reason I'm here is that I'm having an intermittent failure of the system that makes no sense (as best I can tell). The system is primarily used to manage a pair of virtual machines that I'm using to run a virus testing sandbox, with my Perl script running a process that boils down to:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Grab infected file, copy it over to clean virtual machine A&lt;/li&gt;
&lt;li&gt;Start tcpdump on the host OS (which requires me to fork off a child process so it doesn't block)&lt;/li&gt;
&lt;li&gt;Run the infected file on virtual machine A (clean virtual machine B is just sitting there so that it can be infected, and I can capture the traffic going over the network)&lt;/li&gt;
&lt;li&gt;Wait 5 minutes&lt;/li&gt;
&lt;li&gt;Kill the tcpdump process (no further fork, just a syscall)&lt;/li&gt;
&lt;li&gt;Revert both virtual machines to their clean, pre-infected state&lt;/li&gt;
&lt;li&gt;Loop back to the start with another file.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
It works well for about 2-3 days, before my Perl script hangs during the process of reverting the second virtual machine. At that point, my hostd.log shows the following:&lt;br /&gt;
&lt;br /&gt;
&lt;strike&gt;2009-07-22 14:42:14.684 'Vmomi' 3064437648 info&lt;/strike&gt; Activation &lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=N5Vmomi10ActivationE%3A0xcdcaf20"&gt;N5Vmomi10ActivationE:0xcdcaf20&lt;/a&gt; : Invoke done &lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=waitForUpdates"&gt;waitForUpdates&lt;/a&gt; on &lt;strike&gt;vmodl.query.PropertyCollector:ha-property-collector&lt;/strike&gt;&lt;br /&gt;
&lt;strike&gt;2009-07-22 14:42:14.685 'Vmomi' 3064437648 info&lt;/strike&gt; Throw vmodl.fault.RequestCanceled&lt;br /&gt;
&lt;strike&gt;2009-07-22 14:42:14.685 'Vmomi' 3064437648 info&lt;/strike&gt; Result:&lt;br /&gt;
(vmodl.fault.RequestCanceled) {&lt;br /&gt;
   dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   msg = ""&lt;br /&gt;
}&lt;br /&gt;
&lt;strike&gt;2009-07-22 14:42:14.686 'Vmomi' 3064437648 info&lt;/strike&gt; Activation &lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=N5Vmomi10ActivationE%3A0xd111108"&gt;N5Vmomi10ActivationE:0xd111108&lt;/a&gt; : Invoke done &lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=waitForUpdates"&gt;waitForUpdates&lt;/a&gt; on &lt;strike&gt;vmodl.query.PropertyCollector:ha-property-collector&lt;/strike&gt;&lt;br /&gt;
&lt;strike&gt;2009-07-22 14:42:14.686 'Vmomi' 3064437648 info&lt;/strike&gt; Throw vmodl.fault.RequestCanceled&lt;br /&gt;
&lt;strike&gt;2009-07-22 14:42:14.686 'Vmomi' 3064437648 info&lt;/strike&gt; Result:&lt;br /&gt;
(vmodl.fault.RequestCanceled) {&lt;br /&gt;
   dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   msg = ""&lt;br /&gt;
}&lt;br /&gt;
&lt;strike&gt;2009-07-22 14:42:14.686 'Vmomi' 3064437648 info&lt;/strike&gt; Activation &lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=N5Vmomi10ActivationE%3A0xd06a6d8"&gt;N5Vmomi10ActivationE:0xd06a6d8&lt;/a&gt; : Invoke done &lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=waitForUpdates"&gt;waitForUpdates&lt;/a&gt; on &lt;strike&gt;vmodl.query.PropertyCollector:ha-property-collector&lt;/strike&gt;&lt;br /&gt;
&lt;strike&gt;2009-07-22 14:42:14.687 'Vmomi' 3064437648 info&lt;/strike&gt; Throw vmodl.fault.RequestCanceled&lt;br /&gt;
&lt;strike&gt;2009-07-22 14:42:14.687 'Vmomi' 3064437648 info&lt;/strike&gt; Result:&lt;br /&gt;
(vmodl.fault.RequestCanceled) {&lt;br /&gt;
   dynamicType = &amp;lt;unset&amp;gt;,&lt;br /&gt;
   msg = ""&lt;br /&gt;
}&lt;br /&gt;
&lt;strike&gt;2009-07-22 14:42:14.701 'PropertyProvider' 3064437648 verbose&lt;/strike&gt; RecordOp REMOVE: sessionList, ha-sessionmgr&lt;br /&gt;
&lt;strike&gt;2009-07-22 14:42:14.702 'ha-eventmgr' 3064437648 info&lt;/strike&gt; Event 3653 : User akirk logged out&lt;br /&gt;
&lt;strike&gt;2009-07-22 14:42:14.702 'PropertyProvider' 3064437648 verbose&lt;/strike&gt; RecordOp ASSIGN: latestEvent, ha-eventmgr&lt;br /&gt;
&lt;br /&gt;
Obviously, I'm not manually issuing a cancellation request of any kind, since the goal is to just let my script run as long as it has files to process (which is essentially infinitely, given the amount of data I'm trying to look at). Is there any other reason such a request might be issued? Do I need to do a host disconnect and reconnect on each iteration of my loop? Or can VMware Server and/or VIX just not handle a long-running loop like that well?</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">perl</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">loop</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">requestcanceled</category>
      <pubDate>Tue, 28 Jul 2009 15:23:28 GMT</pubDate>
      <author>schnarff</author>
      <guid>http://communities.vmware.com/thread/223288</guid>
      <dc:date>2009-07-28T15:23:28Z</dc:date>
      <clearspace:dateToText>4 months, 4 hours ago</clearspace:dateToText>
      <clearspace:messageCount>7</clearspace:messageCount>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>How can i reconfigure a VM using VIX API</title>
      <link>http://communities.vmware.com/thread/222106</link>
      <description>&lt;br /&gt;
Hi,,&lt;br /&gt;
&lt;p /&gt;
I want to reconfigure VM  using VIX API, let say i want to change memory share and cpu share in VM consider it as a X, and i want to remove one nic from. How to achieve this using VIX API.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thank &amp;#38; Regards,&lt;br /&gt;
&lt;p /&gt;
HelpmeforLinux.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">api</category>
      <pubDate>Tue, 21 Jul 2009 11:53:41 GMT</pubDate>
      <author>helpmeforvmware</author>
      <guid>http://communities.vmware.com/thread/222106</guid>
      <dc:date>2009-07-21T11:53:41Z</dc:date>
      <clearspace:dateToText>4 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>CopyDatastoreFile_Task strange behaviour</title>
      <link>http://communities.vmware.com/thread/222079</link>
      <description>&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;p /&gt;
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 just with ESX servers not virtual center. Then I tried to use  CopyDatastoreFile_Task. CopyDatastoreFile_Task works fine with copying files in general, but it has strange behaviour when VM disk files ".vmdk" should be copied. When copying vmdk files it just creates very smallfile in destination - I think that it is some kind of reference to original file. Why it is so?&lt;br /&gt;
&lt;p /&gt;
Following code is used in perl script to do the copy.&lt;br /&gt;
&lt;p /&gt;
my $service_content = Vim::get_service_content();&lt;br /&gt;
my $file_mgr = Vim::get_view(mo_ref =&amp;gt; $service_content-&amp;gt;fileManager);&lt;br /&gt;
$file_mgr-&amp;gt;waitForTask($file_mgr-&amp;gt;CopyDatastoreFile_Task(sourceName =&amp;gt; $SourceName,sourceDatacenter =&amp;gt; $SourceDatacenter,destinationName =&amp;gt; $DestName,destinationDatacenter =&amp;gt; $DestDatacenter));&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
I also tried to move the file using MoveDatastoreFile_Task - it renamed source file dummy.vmdk to dummy-flat.vmdk, but in destination it again created very small file dummy.vmdk. But after that I was able to copy dummy-flat.vmdk with CopyDatastoreFile_Task. Can somebody explain this strange behaviour? Is there something wrong in those perl lines above? Files with extentions vmx, vmsd, vmxf I was able to copy successfuly.&lt;br /&gt;
&lt;p /&gt;
Regards,&lt;br /&gt;
&lt;p /&gt;
Roberts</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vi_sdk</category>
      <pubDate>Tue, 21 Jul 2009 10:24:14 GMT</pubDate>
      <author>r123</author>
      <guid>http://communities.vmware.com/thread/222079</guid>
      <dc:date>2009-07-21T10:24:14Z</dc:date>
      <clearspace:dateToText>4 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Session Update! VIX APIs - Managing and Automating Guest OS</title>
      <link>http://communities.vmware.com/thread/221625</link>
      <description>&lt;b&gt;Sessions # DE-02&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Session Abstract:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The VIX APIs provide an easy-to-use, high-level&lt;br /&gt;
programming interface that combines virtual machine management operations with&lt;br /&gt;
actions in the guest operating system, such as running programs and copying&lt;br /&gt;
files to and from the guest. Users can leverage VIX to write scripts and&lt;br /&gt;
programs in C, Perl, C# or Visual Basic, and use a simple command-line tool for&lt;br /&gt;
writing shell scripts. This session will provide an overview of the VIX API,&lt;br /&gt;
along with detailed examples and demonstrations. &lt;br /&gt;
&lt;br /&gt;
{youtube} &lt;a class="jive-link-external" href="http://www.youtube.com/watch?v=pJQtcNE39m4"&gt;http://www.youtube.com/watch?v=pJQtcNE39m4&lt;/a&gt; {youtube}&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;b&gt;Learn about our speakers:&lt;/b&gt;&lt;br /&gt;
&lt;img src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/6356/lamantia.jpeg" alt="http://communities.vmware.com/servlet/JiveServlet/downloadImage/6356/lamantia.jpeg" class="jive-image"  /&gt; &lt;br /&gt;
Matt LaMantia is the manager of the VIX API team at VMware, focusing on enabling users and &lt;br /&gt;
independent software vendors to interface with VMware's platform offerings. Prior to working at VMware, &lt;br /&gt;
he was on the J2EE Server team at Art Technology Group and the speech recognizer team at &lt;br /&gt;
Dragon Systems, Inc. He received his MS in engineering management at MIT in 2006 and a BA in &lt;br /&gt;
computer science from Harvard in 1994.&lt;br /&gt;
&lt;br /&gt;
&lt;img src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/6357/richards.jpeg" alt="http://communities.vmware.com/servlet/JiveServlet/downloadImage/6357/richards.jpeg" class="jive-image"  /&gt; &lt;br /&gt;
Matt Richards is a senior software engineer for VMware, where he is the engineering lead for the &lt;br /&gt;
VIX API. While at VMware, he has worked on areas including platform scalability, product security, &lt;br /&gt;
and API and protocol design. He received his BS in computer science from Stanford University.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vmworld</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">technology</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">exchange</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">developer</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">day</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">event</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">apis</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">automation</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">manging</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">guest</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">os</category>
      <pubDate>Fri, 17 Jul 2009 16:23:18 GMT</pubDate>
      <author>navadavuluri</author>
      <guid>http://communities.vmware.com/thread/221625</guid>
      <dc:date>2009-07-17T16:23:18Z</dc:date>
      <clearspace:dateToText>4 months, 2 hours ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Can't connect to ESX 3.5u4 or 4.0 using VIX 1.6.2</title>
      <link>http://communities.vmware.com/thread/221500</link>
      <description>&lt;br /&gt;
Going by the documentation here &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vix-api/vix16_reference/lang/com/functions/Connect.html"&gt;http://www.vmware.com/support/developer/vix-api/vix16_reference/lang/com/functions/Connect.html&lt;/a&gt; I've been trying to connect to ESX in several instances.  I've tried ESX 3.5 u2, u4 and ESX 4.0.  In every single case, I can't connect In the manner described in the documentation, namely:&lt;br /&gt;
&lt;p /&gt;
-using VixCOM.Constants.VIX_SERVICEPROVIDER_VMWARE_VI_SERVER;&lt;br /&gt;
&lt;p /&gt;
-using &lt;a class="jive-link-external" href="https://hostname:port/sdk"&gt;https://hostname:port/sdk&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
I have, however, been able to connect using VixCOM.Constants.VIX_SERVICEPROVIDER_DEFAULT, and using only the direct hostname (ie esx10.example.com) for the hostname value.&lt;br /&gt;
&lt;p /&gt;
The problem, however, is that even once I'm connected using SERVICEPROVIDER_DEFAULT, I can't open any VM's.  I've tried opening them with datastore paths, absolute paths, and relative paths.  Nothing works.&lt;br /&gt;
&lt;p /&gt;
Does anybody know what's going on here and how I can get connected to ESX and open a VM?  All of this code worked perfectly on VMware Server.&lt;br /&gt;
&lt;p /&gt;
 I really appreciate any help that anyone can give.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">esx</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">connect</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">error</category>
      <pubDate>Thu, 16 Jul 2009 19:38:59 GMT</pubDate>
      <author>jimirving</author>
      <guid>http://communities.vmware.com/thread/221500</guid>
      <dc:date>2009-07-16T19:38:59Z</dc:date>
      <clearspace:dateToText>4 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Any infos on the new 1.6.2 Version?</title>
      <link>http://communities.vmware.com/thread/221129</link>
      <description>Hello all,&lt;br /&gt;
&lt;p /&gt;
I just stumpled on VMware-vix-1.6.2-156745.exe available on the VMware Server 2 download page. The package's date: 30/3/2009, product version: 2.0.1 build-156745&lt;br /&gt;
Unfortunately, I could not find a changelog or something like that anywhere. &lt;br /&gt;
The VIX API landing page still claims that VMware-vix-1.6.2-127388.exe (03/12/2008, product version: 2.0.0 build-127388) is the most recent version of the VIX API.&lt;br /&gt;
&lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vix-api/"&gt;http://www.vmware.com/support/developer/vix-api/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Can anyone point me to a changelog?&lt;br /&gt;
&lt;br /&gt;
Thanks in advance.&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Patrick</description>
      <pubDate>Wed, 15 Jul 2009 09:34:22 GMT</pubDate>
      <author>patrickschneider</author>
      <guid>http://communities.vmware.com/thread/221129</guid>
      <dc:date>2009-07-15T09:34:22Z</dc:date>
      <clearspace:dateToText>4 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Host Connect Problems [Vix-Perl]</title>
      <link>http://communities.vmware.com/thread/220798</link>
      <description>&lt;br /&gt;
Hi, &lt;br /&gt;
&lt;br /&gt;
My code (shown below) is producing the following error:&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;b&gt;Failed to get property type for 3010 on handle 16799219.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;HostConnect() failed, 22003, GetErrorText(22003)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Retrieving Host Handle...%&lt;/b&gt;  &lt;br /&gt;
&lt;p /&gt;
Code: &lt;a class="jive-link-external" href="http://www.pastie.org/544455"&gt;http://www.pastie.org/544455&lt;/a&gt; &lt;br /&gt;
&lt;p /&gt;
The above is the module, and to test it I just made a normal .plx file that included the module,  and&lt;br /&gt;
&lt;p /&gt;
&lt;b&gt;vm( '/home/josh/vmware/SLES 10.2/SLES10.2.vmx' , 'start' );&lt;/b&gt; &lt;br /&gt;
&lt;p /&gt;
 ...which should run the subroutine start, and use the path specified, but as shown above, I get that instead.&lt;br /&gt;
&lt;p /&gt;
 All help is greatly appreicated &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt;.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
-Josh</description>
      <pubDate>Mon, 13 Jul 2009 18:35:37 GMT</pubDate>
      <author>luskjh</author>
      <guid>http://communities.vmware.com/thread/220798</guid>
      <dc:date>2009-07-13T18:35:37Z</dc:date>
      <clearspace:dateToText>4 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>How to get/answer question via VIX API?</title>
      <link>http://communities.vmware.com/thread/219943</link>
      <description>&lt;br /&gt;
What I'm trying to do is to create virtual machines using C program with VIX API. First I create a VM as template. Then I copy all files of the first VM and do some neccessary modificaitons on the copy. After that, I use VIX API to regiester the new VM. From the web interface, I can see registration is successful. At last, I try to use VIX API to power on the new VM. The power on process hangs up in the middle way, and from the web interface, I can see it appears a "?" mark on the new VM, I click the "?" mark, and get a question to ask if I copied or moved the VM file since it detects uuid conflit. After I choose "I copied it", the uuid of the new VM is updated and the new VM get successfully powered on.&lt;br /&gt;
&lt;p /&gt;
 My question is that if it's possible to let my C program automatically answer the question via VIX API or some other mechanism? I want to automatically create new VMs based on the template VM.&lt;br /&gt;
&lt;p /&gt;
 Thanks in advance.</description>
      <pubDate>Wed, 08 Jul 2009 09:48:55 GMT</pubDate>
      <author>cli4</author>
      <guid>http://communities.vmware.com/thread/219943</guid>
      <dc:date>2009-07-08T09:48:55Z</dc:date>
      <clearspace:dateToText>4 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Error when running vmrun on Linux (vmrun 2.0.1)</title>
      <link>http://communities.vmware.com/thread/219906</link>
      <description>&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;p /&gt;
I tried to use vmrun on Linux (Ubuntu 8) with VMWare Server 2.0 installed (and vmrun 2.0.1 included).&lt;br /&gt;
&lt;p /&gt;
I can browse my server with Web GUI (locally or remotely) with no problem, but when I tried to control it via command line locally (from that Linux itself), I keep getting this error message: &lt;br /&gt;
&lt;p /&gt;
    Error: The specified service provider was not found &lt;br /&gt;
&lt;p /&gt;
 As I also have installed VMWare Server 2.0 on Windows (and vmrun 2.0.0, under VIX directory), I tried to control remotely to that first Linux machine and it works perfectly (needless to say that I can also control my local VMWare Server on my Windows box itself). The documentation and forum I read so far suggest that the vmrun is probably too old, to support -T server (but while my Windows can successfully do it with vmrun 2.0.0, and my Linux has 2.0.1, I'm a bit puzzled in that remark - but if it's the case, where can we download newer vmrun that support "-T server" for Linux?).&lt;br /&gt;
&lt;p /&gt;
 I'm pretty sure, it's not the security problem or wrong syntax (I even tried it as root), as I executed identical command on both machine. But if you're interested to know, the command I tried is:&lt;br /&gt;
&lt;p /&gt;
   vmrun -T server -h &lt;a class="jive-link-external" href="https://10.128.41.27:8333/sdk"&gt;https://10.128.41.27:8333/sdk&lt;/a&gt; -u (username) -p (password) list&lt;br /&gt;
&lt;p /&gt;
 (also have tried to use localhost, its machine name, or 127.0.0.1 on my local Linux with no difference)&lt;br /&gt;
&lt;p /&gt;
Note:&lt;br /&gt;
&lt;p /&gt;
I actually found a workaround to make it works using vmware-vim-cmd, but I found it much more tedious in syntax than vmrun. So, would prefer if I can make vmrun works.&lt;br /&gt;
&lt;p /&gt;
 Thanks for helping.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vmrun</category>
      <pubDate>Wed, 08 Jul 2009 04:00:20 GMT</pubDate>
      <author>ch3nh4n</author>
      <guid>http://communities.vmware.com/thread/219906</guid>
      <dc:date>2009-07-08T04:00:20Z</dc:date>
      <clearspace:dateToText>4 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>How to script/program creation of image from web app</title>
      <link>http://communities.vmware.com/thread/219808</link>
      <description>I have a web app that will need to take an existing VmWare image and create multiple instances of this image on the fly.  I'm guessing I could either do this via an API or VmWare CLI.  Any advice?</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">cli</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">automation</category>
      <pubDate>Tue, 07 Jul 2009 16:06:49 GMT</pubDate>
      <author>vmwaretrial2009</author>
      <guid>http://communities.vmware.com/thread/219808</guid>
      <dc:date>2009-07-07T16:06:49Z</dc:date>
      <clearspace:dateToText>4 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Can I  $ pay $ someone to automate a VMware function?</title>
      <link>http://communities.vmware.com/thread/219205</link>
      <description>&lt;br /&gt;
I just need a simple VMware task automated and I can't figure out how to do it and would be happy to pay someone to code it.&lt;br /&gt;
&lt;p /&gt;
 Call or email&lt;br /&gt;
&lt;p /&gt;
 Mark&lt;br /&gt;
&lt;p /&gt;
&lt;a class="jive-link-email" href="mailto:sales@sosstandbyserver.com"&gt;sales@sosstandbyserver.com&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
480-430-7780</description>
      <pubDate>Fri, 03 Jul 2009 01:15:45 GMT</pubDate>
      <author>mswarbrick77</author>
      <guid>http://communities.vmware.com/thread/219205</guid>
      <dc:date>2009-07-03T01:15:45Z</dc:date>
      <clearspace:dateToText>4 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Emergent : about Guest vmware tools , unattended</title>
      <link>http://communities.vmware.com/thread/219013</link>
      <description>When I copied one Guest os which had contained vmware tools  to another dir, when I start the copied one there's no vmware tools. why?&lt;br /&gt;
If I install the vmware tools again using VixVM_InstallTools() function, I must login the guest again. &lt;br /&gt;
I need Install the vmware tools unattended.&lt;br /&gt;
Please help me !&lt;br /&gt;
&lt;br /&gt;
waiting ......</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">guest</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vmware</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">tools</category>
      <pubDate>Thu, 02 Jul 2009 02:57:34 GMT</pubDate>
      <author>undefine</author>
      <guid>http://communities.vmware.com/thread/219013</guid>
      <dc:date>2009-07-02T02:57:34Z</dc:date>
      <clearspace:dateToText>4 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>How do I script changing from Bridged to NAT?</title>
      <link>http://communities.vmware.com/thread/218768</link>
      <description>&lt;br /&gt;
I want to be able change from Bridged to NAT on a running VM and have it take effect immediately. I need to do this with a script. How can I do it?&lt;br /&gt;
&lt;p /&gt;
My host is Vista. My guest is Server 2003. I am running VMware server 2x</description>
      <pubDate>Tue, 30 Jun 2009 19:47:42 GMT</pubDate>
      <author>mswarbrick77</author>
      <guid>http://communities.vmware.com/thread/218768</guid>
      <dc:date>2009-06-30T19:47:42Z</dc:date>
      <clearspace:dateToText>4 months, 20 hours ago</clearspace:dateToText>
      <clearspace:messageCount>23</clearspace:messageCount>
      <clearspace:replyCount>22</clearspace:replyCount>
    </item>
    <item>
      <title>vmrun + vSphere4 = crash!</title>
      <link>http://communities.vmware.com/thread/217720</link>
      <description>Greetings,&lt;br /&gt;
&lt;br /&gt;
To what degree is vmrun.exe (Vix 1.6.2-127388) supported under vSphere4 (4.0.0, 164009)?  I'm able to invoke a list command and get running VMs from all clusters managed under vCenter, but I'm getting the following crash when I attempt any guest operation:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;

&lt;ul&gt;
&lt;li&gt;ERROR **:file&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;br /&gt;
d:/build/ob/bora-127388/bora/vim/lib/gvmomi/gvmomi/gvmomiSession.c: line&lt;br /&gt;
1253: assertion failed: (NULL ==&lt;br /&gt;
g_hash_table_lookup(session-&amp;gt;priv-&amp;lt;listenerTable,listener))&lt;br /&gt;
aborting...&lt;br /&gt;
&lt;br /&gt;
Is there a vSphere 4-compliant beta version of Vix out there that I can play with?  &lt;br /&gt;
&lt;br /&gt;
As we all know, Vix is all we have to manage in-guest processes, and I have a lot of in-guest processes to manage.&lt;br /&gt;
&lt;br /&gt;
Thank you,&lt;br /&gt;
&lt;p /&gt;
Randy Kreitzman&lt;br /&gt;
MFG Tools/Automation&lt;br /&gt;
Autodesk, Inc.</description>
      <pubDate>Wed, 24 Jun 2009 20:27:20 GMT</pubDate>
      <author>rkreitz</author>
      <guid>http://communities.vmware.com/thread/217720</guid>
      <dc:date>2009-06-24T20:27:20Z</dc:date>
      <clearspace:dateToText>4 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>how to swtich between powered on VMs using vix api</title>
      <link>http://communities.vmware.com/thread/215969</link>
      <description>Hello,&lt;br /&gt;
&lt;br /&gt;
I want to know as there is an option in VMware workstation to swtich between different powered on VMs so is there any function also exit in VIX api which supports this functionality.&lt;br /&gt;
if yes than which one.&lt;br /&gt;
&lt;br /&gt;
best regrads&lt;br /&gt;
papapa</description>
      <pubDate>Tue, 16 Jun 2009 12:01:20 GMT</pubDate>
      <author>papapa</author>
      <guid>http://communities.vmware.com/thread/215969</guid>
      <dc:date>2009-06-16T12:01:20Z</dc:date>
      <clearspace:dateToText>5 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Unable to run programs in visual stidio 2003</title>
      <link>http://communities.vmware.com/thread/215671</link>
      <description>&lt;br /&gt;
Hi,&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
I have installed vmware server 2.0 and vix api 1.6.x. I have successfully compiled the programs(using C)  in visula studio 2003. But im getting wrong results.  The reference tells that  vix api 1.6 will works in visual studio 2005...  I compiled the same program in the env : vmware server 1 and its worked fine. when i copy the exe and run it in my machine it giving the executable file is wrong (both are 32bit windows xp machine)...&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Is there any way to work vix api v1.6  in  visula studio 2003...&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
its very Urgent  &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks in advance&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
REgards,&lt;br /&gt;
&lt;p /&gt;
ilavaa &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Mon, 15 Jun 2009 07:32:25 GMT</pubDate>
      <author>vixapi</author>
      <guid>http://communities.vmware.com/thread/215671</guid>
      <dc:date>2009-06-15T07:32:25Z</dc:date>
      <clearspace:dateToText>5 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Modify Disk Mounting Options from VIX</title>
      <link>http://communities.vmware.com/thread/214612</link>
      <description>&lt;br /&gt;
Hello &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt;&lt;br /&gt;
&lt;p /&gt;
 Is it possible to modify the iso file mounted to a VM with VIX? If so, what function would I use for that? &lt;br /&gt;
&lt;p /&gt;
 Billy3</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">automation</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <pubDate>Tue, 09 Jun 2009 21:26:06 GMT</pubDate>
      <author>BillyONeal</author>
      <guid>http://communities.vmware.com/thread/214612</guid>
      <dc:date>2009-06-09T21:26:06Z</dc:date>
      <clearspace:dateToText>5 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Strange behaviour</title>
      <link>http://communities.vmware.com/thread/213861</link>
      <description>Hi all,&lt;br /&gt;
&lt;br /&gt;
i have some quite strange behaviour here:&lt;br /&gt;
I used autoit to automate a &lt;br /&gt;
setup. I copy the files to the VM and the use this code to run the setup:&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;span style="color:#3366ff"&gt;            VixCOM.IJob job = null;&lt;br /&gt;
            VixCOM.IVM VM = null;&lt;br /&gt;
            VixCOM.IVixLib lib = null;&lt;br /&gt;
&lt;br /&gt;
            lib = new VixCOM.VixLib();&lt;br /&gt;
&lt;br /&gt;
            int[] propertyIDs = new int[1];&lt;br /&gt;
&lt;br /&gt;
            Console.WriteLine("Connecting...");&lt;br /&gt;
            job = lib.Connect(VixCOM.Constants.VIX_API_VERSION, VixCOM.Constants.VIX_SERVICEPROVIDER_VMWARE_WORKSTATION, "", 0, "", "", 0, null, null);&lt;br /&gt;
&lt;br /&gt;
            object results = null;&lt;br /&gt;
            object&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=%5D+resultsArray+%3D+%28object%5B"&gt;] resultsArray = (object[&lt;/a&gt;)results;&lt;br /&gt;
            propertyIDs[0] = VixCOM.Constants.VIX_PROPERTY_JOB_RESULT_HANDLE;&lt;br /&gt;
&lt;br /&gt;
            handleError("Setup Error:", job.Wait(propertyIDs, ref results), lib);&lt;br /&gt;
&lt;br /&gt;
            resultsArray = (object[])results;&lt;br /&gt;
&lt;br /&gt;
            //get our host&lt;br /&gt;
            VixCOM.IHost host = (VixCOM.IHost)resultsArray[0];&lt;br /&gt;
&lt;br /&gt;
            //open VM&lt;br /&gt;
            Console.WriteLine("Opening Virtual Machine");&lt;br /&gt;
            job = host.OpenVM(vmPath, null);&lt;br /&gt;
&lt;br /&gt;
            handleError("OpenVM Error:", job.Wait(propertyIDs, ref results), lib);&lt;br /&gt;
            resultsArray = (object[])results;&lt;br /&gt;
&lt;br /&gt;
            //get VM&lt;br /&gt;
            VM = (VixCOM.IVM)resultsArray[0];&lt;br /&gt;
&lt;br /&gt;
            Console.WriteLine("Logging in user...");&lt;br /&gt;
            job = VM.LoginInGuest("Cord", "cord", VixCOM.Constants.VIX_LOGIN_IN_GUEST_REQUIRE_INTERACTIVE_ENVIRONMENT, null);&lt;br /&gt;
&lt;br /&gt;
            handleError("Login Error:", job.WaitWithoutResults(), lib);&lt;br /&gt;
&lt;br /&gt;
            Console.WriteLine("Logged in...");&lt;br /&gt;
&lt;br /&gt;
//let programToRun be something like C:\temp\autosetup.exe&lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;span style="color:#3366ff"&gt;            Console.WriteLine("Running program: " + programToRun);&lt;br /&gt;
            job = VM.RunProgramInGuest(programToRun, null, 0, null, null);&lt;br /&gt;
&lt;br /&gt;
            handleError("Run Program Error:", job.WaitWithoutResults(), lib); &lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;span style="color:#000000"&gt;On Windows Vista, &lt;/span&gt; i have the following behaviour:&lt;br /&gt;
When this code is run from visual studio, the setup is started and the automated install works. &lt;br /&gt;
When i put this into a ms build task and run it from a build script, the interactive services screen pops up and the automation does not work.&lt;br /&gt;
&lt;p /&gt;
 Do you have an idea what might cause the problem? Since the code is identical and both use VixCOM, i dont get whats going wrong.&lt;br /&gt;
I am using VM Workstation with the latest updates.  &lt;br /&gt;
&lt;p /&gt;
 Thanks for your help!</description>
      <pubDate>Fri, 05 Jun 2009 12:01:01 GMT</pubDate>
      <author>Fluffy08</author>
      <guid>http://communities.vmware.com/thread/213861</guid>
      <dc:date>2009-06-05T12:01:01Z</dc:date>
      <clearspace:dateToText>5 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Where are VIX logs, for WS6.5.1?</title>
      <link>http://communities.vmware.com/thread/212495</link>
      <description>&lt;br /&gt;
I'm trying out the powerOn.c sample program that comes with VIX.  On a host running VMWare Server 2.0, powerOn works fine.  On a (different) host running Workstation 6.5.1, powerOn doesn't work for me (and I do have  #define USE_WORKSTATION).  Trouble is, I'm kinda lost debugging this because while with Server 2.0 I get VIX logs in /var/log/vmware/hostd-4.log, with WS6.5.1 I don't see that file or for that matter any other log file; is there one, and if so what is it called?&lt;br /&gt;
&lt;p /&gt;
Also (and this may be my problem, though I'd still like to know where the log file is), in the VIX example programs, within the #ifdef USE_WORKSTATION block it says '#define  HOSTNAME ""'.  Should I change that, and if so to what?  I've tried 127.0.0.1 as well as the $HOSTNAME environment variable (with and without the domain name appended), but powerOn still doesn't work. &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">logs</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">hostname</category>
      <pubDate>Fri, 29 May 2009 16:58:19 GMT</pubDate>
      <author>strnbrg</author>
      <guid>http://communities.vmware.com/thread/212495</guid>
      <dc:date>2009-05-29T16:58:19Z</dc:date>
      <clearspace:dateToText>6 months, 7 hours ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Cannot Start a VM Using Vmrun</title>
      <link>http://communities.vmware.com/thread/212052</link>
      <description>&lt;br /&gt;
I have VMWare WorkStation 6.5.2 on a Windows XP machine and I am trying to use vmrun to start a virtual machine. Seems like a straightforward task to me but I keep getting the message "Error: The specified service provider was not found." When I experimented with the COM API I got the same message (that was on another machine though).&lt;br /&gt;
&lt;p /&gt;
wmrun -T ws -gu myUserNameOnGuestOS -gp myPasswordOnGuestOS start pathToMyVMXFile &lt;br /&gt;
&lt;p /&gt;
What seems to be the problem here?</description>
      <pubDate>Wed, 27 May 2009 15:14:25 GMT</pubDate>
      <author>Nasu</author>
      <guid>http://communities.vmware.com/thread/212052</guid>
      <dc:date>2009-05-27T15:14:25Z</dc:date>
      <clearspace:dateToText>6 months, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>5</clearspace:messageCount>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>PowerOff after shutdown timeout</title>
      <link>http://communities.vmware.com/thread/211726</link>
      <description>&lt;br /&gt;
I am using VMware server 2.0 for testing end-user Windows applications.  Sometimes, when I try to do a soft shutdown of a guest OS, the shutdown halts.  When this happens via the VI web page, the interface will not allow me to perform a hard power off while it waits indefinitely for the soft shutdown.&lt;br /&gt;
&lt;p /&gt;
 I have a pretty extensive backup script that I have written to shuts down VM's before archiving and compressing them.  Currently, I simply use a blocking synchronous wait (WaitWithoutResults).  I know I can create a timeout wait by just  looping on the VM power status instead.  Before I bother actually modifying the code to do this, I want to ask the simple question.  Can I actually force a hard power off using the VixCOM package if I have already initiated a soft shutdown?  I know I can't using the VI interface; I just want to know if I can programatically.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">backup</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">poweroff</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vbscript</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">wait</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">waitwithoutresults</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vi</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vixcom</category>
      <pubDate>Mon, 25 May 2009 20:21:04 GMT</pubDate>
      <author>kplusalot</author>
      <guid>http://communities.vmware.com/thread/211726</guid>
      <dc:date>2009-05-25T20:21:04Z</dc:date>
      <clearspace:dateToText>4 months, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Enable / disable unity mode from VIX API, not possible?!</title>
      <link>http://communities.vmware.com/thread/209596</link>
      <description>&lt;br /&gt;
Hello!&lt;br /&gt;
&lt;p /&gt;
I was very surprised to see that it is seemingly impossible (i.e. not supported)  to enable/disable Unity mode from the most recent version of the VIX API. Is this really true? (I'm referring to VMware Workstation 6.5.x, but it doesn't seem to be supported in any VMware version anyway)&lt;br /&gt;
&lt;p /&gt;
I've been searching quit a lot, so I sadly believe it is true. :-/ Or isn't it?&lt;br /&gt;
&lt;p /&gt;
 Would you please consider adding support for this in the VIX API? Practically all other possible VMware operations are supported, so this feels quite natural to support, and a very big "hole" to leave out, correct? I for one would need it very much.&lt;br /&gt;
&lt;p /&gt;
 If it is left out for a reason (and thus will continue to be left out) , I would be very interested to hear the explanation for it, since it would be a really useful thing to have.&lt;br /&gt;
&lt;p /&gt;
 Thanks!</description>
      <pubDate>Tue, 12 May 2009 17:28:52 GMT</pubDate>
      <author>VMwareRules</author>
      <guid>http://communities.vmware.com/thread/209596</guid>
      <dc:date>2009-05-12T17:28:52Z</dc:date>
      <clearspace:dateToText>6 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>VIX 1.6.2 Bug Report:  recv error 10054</title>
      <link>http://communities.vmware.com/thread/208533</link>
      <description>&lt;br /&gt;
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:&lt;br /&gt;
&lt;p /&gt;
 SOCKET 3 (1848) recv error 10054: An existing connection was forcibly closed by the remote host&lt;br /&gt;
&lt;p /&gt;
Any known workarounds? &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">automation</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">connect</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">error</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">snapshot</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <pubDate>Tue, 05 May 2009 23:40:14 GMT</pubDate>
      <author>shimonek</author>
      <guid>http://communities.vmware.com/thread/208533</guid>
      <dc:date>2009-05-05T23:40:14Z</dc:date>
      <clearspace:dateToText>6 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>VIX 1.6.2 Bug Report:  recv error 10054</title>
      <link>http://communities.vmware.com/thread/208532</link>
      <description>&lt;br /&gt;
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:&lt;br /&gt;
&lt;p /&gt;
 SOCKET 3 (1848) recv error 10054: An existing connection was forcibly closed by the remote host&lt;br /&gt;
&lt;p /&gt;
Any known workarounds? &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">automation</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">connect</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">error</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">snapshot</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <pubDate>Tue, 05 May 2009 23:40:14 GMT</pubDate>
      <author>shimonek</author>
      <guid>http://communities.vmware.com/thread/208532</guid>
      <dc:date>2009-05-05T23:40:14Z</dc:date>
      <clearspace:dateToText>6 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>VIX 1.6.2 Bug Report:  recv error 10054</title>
      <link>http://communities.vmware.com/thread/208525</link>
      <description>&lt;br /&gt;
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:&lt;br /&gt;
&lt;p /&gt;
 SOCKET 3 (1848) recv error 10054: An existing connection was forcibly closed by the remote host&lt;br /&gt;
&lt;p /&gt;
Any known workarounds? &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">automation</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">connect</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">error</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">snapshot</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <pubDate>Tue, 05 May 2009 23:36:30 GMT</pubDate>
      <author>shimonek</author>
      <guid>http://communities.vmware.com/thread/208525</guid>
      <dc:date>2009-05-05T23:36:30Z</dc:date>
      <clearspace:dateToText>6 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>How to set new IP to the virtual machine</title>
      <link>http://communities.vmware.com/thread/208335</link>
      <description>Hi All,&lt;br /&gt;
&lt;br /&gt;
I am crating new virtual machine using vmware API. I want to set the new ip address to the vm whenever vm is created.&lt;br /&gt;
currently I am hard coding the ip, but moving forward this may cause duplication of IP. Please let me know your thoughts.</description>
      <pubDate>Tue, 05 May 2009 06:53:21 GMT</pubDate>
      <author>chetanb</author>
      <guid>http://communities.vmware.com/thread/208335</guid>
      <dc:date>2009-05-05T06:53:21Z</dc:date>
      <clearspace:dateToText>6 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Snapshot operation does not release host socket</title>
      <link>http://communities.vmware.com/thread/207775</link>
      <description>I am writing a program that allows me to schedule scripts to run in my SLES VMs and create snapshots. The program will run perfectly for several days then crash.&lt;br /&gt;
&lt;br /&gt;
I have noticed that my program leaves a socket open to the server when I perform a snapshot operation. Script operations do not exhibit this behavior. When I close the program after several snapshot operations I see the following in vmware.log on the server. One entry per snapshot. &lt;br /&gt;
&lt;p /&gt;
Apr 07 09:44:29.398: vmx| SOCKET 106 (1808) recv error 10054: An existing connection was forcibly closed by the remote host&lt;br /&gt;
Apr 07 09:44:29.398: vmx| SOCKET 108 (1708) recv error 10054: An existing connection was forcibly closed by the remote host&lt;br /&gt;
Apr 07 09:44:29.398: vmx| SOCKET 110 (1956) recv error 10054: An existing connection was forcibly closed by the remote host&lt;br /&gt;
Apr 07 09:44:29.398: vmx| SOCKET 112 (1868) recv error 10054: An existing connection was forcibly closed by the remote host&lt;br /&gt;
Apr 07 09:44:29.398: vmx| SOCKET 114 (1788) recv error 10054: An existing connection was forcibly closed by the remote host&lt;br /&gt;
&lt;p /&gt;
To verify this was not a programming error on my part I created a test program to compare results. My test code follows. This is the snapshot.c example modified slightly. It exhibits the same behavior as my code. Does anyone know how to close a socket when the program is finished with it? Is this a known bug?&lt;br /&gt;
&lt;p /&gt;
I am linking with vixd.lib using Visual Studio 2008. I have been unable to link VixAllProducts.lib with a MFC project but that's a problem for another day.&lt;br /&gt;
&lt;br /&gt;
void CSRACreateSnapshotDlg::OnBnClickedCreate()&lt;br /&gt;
{&lt;br /&gt;
VixServiceProvider CONNTYPE = VIX_SERVICEPROVIDER_VMWARE_VI_SERVER;&lt;br /&gt;
&lt;p /&gt;
char HOSTNAME&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=50"&gt;50&lt;/a&gt; = "https://servername.domain.local:8333/sdk";&lt;br /&gt;
&lt;p /&gt;
int HOSTPORT = 0;&lt;br /&gt;
&lt;br /&gt;
char USERNAME&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=50"&gt;50&lt;/a&gt; = "servername\serviceaccount";&lt;br /&gt;
&lt;p /&gt;
char PASSWORD = "mysupersecretpassword";&lt;br /&gt;
&lt;p /&gt;
char VMPOWEROPTIONS = VIX_VMPOWEROP_NORMAL;&lt;br /&gt;
&lt;p /&gt;
char VMXPATH_INFO&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=50"&gt;50&lt;/a&gt; = "&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=standard"&gt;standard&lt;/a&gt; SLES_PO/SLES_PO.vmx";&lt;br /&gt;
&lt;p /&gt;
VixError err;&lt;br /&gt;
VixHandle hostHandle = VIX_INVALID_HANDLE;&lt;br /&gt;
VixHandle jobHandle = VIX_INVALID_HANDLE;&lt;br /&gt;
VixHandle vmHandle = VIX_INVALID_HANDLE;&lt;br /&gt;
VixHandle snapshotHandle = VIX_INVALID_HANDLE;&lt;br /&gt;
int numSnapshots;&lt;br /&gt;
&lt;p /&gt;
jobHandle = VixHost_Connect(VIX_API_VERSION,&lt;br /&gt;
CONNTYPE,&lt;br /&gt;
HOSTNAME, // *hostName,&lt;br /&gt;
HOSTPORT, // hostPort,&lt;br /&gt;
USERNAME, // *userName,&lt;br /&gt;
PASSWORD, // *password,&lt;br /&gt;
0, // options,&lt;br /&gt;
VIX_INVALID_HANDLE, // propertyListHandle,&lt;br /&gt;
NULL, // *callbackProc,&lt;br /&gt;
NULL); // *clientData);&lt;br /&gt;
err = VixJob_Wait(jobHandle, &lt;br /&gt;
VIX_PROPERTY_JOB_RESULT_HANDLE, &lt;br /&gt;
&amp;#38;hostHandle,&lt;br /&gt;
VIX_PROPERTY_NONE);&lt;br /&gt;
if (VIX_FAILED(err)) {&lt;br /&gt;
goto abort;&lt;br /&gt;
}&lt;br /&gt;
&lt;p /&gt;
Vix_ReleaseHandle(jobHandle);&lt;br /&gt;
jobHandle = VixVM_Open(hostHandle,&lt;br /&gt;
VMXPATH_INFO,&lt;br /&gt;
NULL, // VixEventProc *callbackProc,&lt;br /&gt;
NULL); // void *clientData);&lt;br /&gt;
err = VixJob_Wait(jobHandle, &lt;br /&gt;
VIX_PROPERTY_JOB_RESULT_HANDLE, &lt;br /&gt;
&amp;#38;vmHandle,&lt;br /&gt;
VIX_PROPERTY_NONE);&lt;br /&gt;
if (VIX_FAILED(err)) {&lt;br /&gt;
goto abort;&lt;br /&gt;
}&lt;br /&gt;
Vix_ReleaseHandle(jobHandle);&lt;br /&gt;
&lt;p /&gt;
err = VixVM_GetNumRootSnapshots(vmHandle, &amp;#38;numSnapshots);&lt;br /&gt;
if (VIX_FAILED(err)) {&lt;br /&gt;
goto abort;&lt;br /&gt;
}&lt;br /&gt;
&lt;p /&gt;
if (numSnapshots == 0) {&lt;br /&gt;
/*&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;If there is not already a snapshot, create a new one, with the&lt;/li&gt;
&lt;li&gt;virtual machine powered on.&lt;/li&gt;
&lt;/ul&gt;
*/&lt;br /&gt;
jobHandle = VixVM_PowerOn(vmHandle,&lt;br /&gt;
VMPOWEROPTIONS,&lt;br /&gt;
VIX_INVALID_HANDLE,&lt;br /&gt;
NULL, // *callbackProc,&lt;br /&gt;
NULL); // *clientData);&lt;br /&gt;
err = VixJob_Wait(jobHandle, VIX_PROPERTY_NONE);&lt;br /&gt;
if (VIX_FAILED(err)) {&lt;br /&gt;
goto abort;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Vix_ReleaseHandle(jobHandle);&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Since the virtual machine is running, passing the &lt;/li&gt;
&lt;li&gt;VIX_SNAPSHOT_INCLUDE_MEMORY flag will make VixVM_CreateSnapshot()&lt;/li&gt;
&lt;li&gt;save the run-time state of the machine, and not just the disk state.&lt;/li&gt;
&lt;/ul&gt;
*/&lt;br /&gt;
jobHandle = VixVM_CreateSnapshot(vmHandle,&lt;br /&gt;
"snapshotName",&lt;br /&gt;
"snapshotDescription",&lt;br /&gt;
VIX_SNAPSHOT_INCLUDE_MEMORY,&lt;br /&gt;
VIX_INVALID_HANDLE,&lt;br /&gt;
NULL, // *callbackProc,&lt;br /&gt;
NULL); // *clientData);&lt;br /&gt;
err = VixJob_Wait(jobHandle, &lt;br /&gt;
VIX_PROPERTY_JOB_RESULT_HANDLE,&lt;br /&gt;
&amp;#38;snapshotHandle,&lt;br /&gt;
VIX_PROPERTY_NONE);&lt;br /&gt;
if (VIX_FAILED(err)) {&lt;br /&gt;
goto abort;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Vix_ReleaseHandle(jobHandle);&lt;br /&gt;
jobHandle = VixVM_PowerOff(vmHandle,&lt;br /&gt;
VIX_VMPOWEROP_NORMAL,&lt;br /&gt;
NULL, // *callbackProc,&lt;br /&gt;
NULL); // *clientData);&lt;br /&gt;
err = VixJob_Wait(jobHandle, VIX_PROPERTY_NONE);&lt;br /&gt;
if (VIX_FAILED(err)) {&lt;br /&gt;
goto abort;&lt;br /&gt;
}&lt;br /&gt;
Vix_ReleaseHandle(jobHandle);&lt;br /&gt;
&lt;br /&gt;
/*&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Release the handle before it gets overwritten when we call&lt;/li&gt;
&lt;li&gt;VixVM_GetRootSnapshot().&lt;/li&gt;
&lt;/ul&gt;
*/&lt;br /&gt;
Vix_ReleaseHandle(snapshotHandle);&lt;br /&gt;
snapshotHandle = VIX_INVALID_HANDLE;&lt;br /&gt;
&lt;p /&gt;
}&lt;br /&gt;
&lt;p /&gt;
err = VixVM_GetRootSnapshot(vmHandle, 0, &amp;#38;snapshotHandle);&lt;br /&gt;
if (VIX_FAILED(err)) {&lt;br /&gt;
goto abort;&lt;br /&gt;
}&lt;br /&gt;
/*&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Here we pass VMPOWEROPTIONS to RevertToSnapshot since we&lt;/li&gt;
&lt;li&gt;took a snapshot of a powered on virtual machine, and the&lt;/li&gt;
&lt;li&gt;virtual machine will then be powered on again when we revert.&lt;/li&gt;
&lt;/ul&gt;
*/&lt;br /&gt;
jobHandle = VixVM_RevertToSnapshot(vmHandle, &lt;br /&gt;
snapshotHandle,&lt;br /&gt;
VMPOWEROPTIONS, // options,&lt;br /&gt;
VIX_INVALID_HANDLE,&lt;br /&gt;
NULL, // *callbackProc,&lt;br /&gt;
NULL); // *clientData);&lt;br /&gt;
err = VixJob_Wait(jobHandle, VIX_PROPERTY_NONE);&lt;br /&gt;
if (VIX_FAILED(err)) {&lt;br /&gt;
goto abort;&lt;br /&gt;
}&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
abort:&lt;br /&gt;
Vix_ReleaseHandle(jobHandle);&lt;br /&gt;
Vix_ReleaseHandle(vmHandle);&lt;br /&gt;
Vix_ReleaseHandle(snapshotHandle);&lt;br /&gt;
&lt;p /&gt;
VixHost_Disconnect(hostHandle);&lt;br /&gt;
}</description>
      <pubDate>Thu, 30 Apr 2009 19:10:07 GMT</pubDate>
      <author>shimonek</author>
      <guid>http://communities.vmware.com/thread/207775</guid>
      <dc:date>2009-04-30T19:10:07Z</dc:date>
      <clearspace:dateToText>6 months, 4 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>How can I get the Display Name of a guest?</title>
      <link>http://communities.vmware.com/thread/207353</link>
      <description>I am wondering how I can get the display name of a guest. Specifically when it's not running? if I use &lt;br /&gt;
jobHandle = VixVM_ReadVariable(VMHandle,VIX_VM_CONFIG_RUNTIME_ONLY,"displayName",0,NULL,NULL);&lt;br /&gt;
that only works if the machine is running.&lt;br /&gt;
&lt;br /&gt;
Some other stuff I would like to be able to pull if possible is the hostname and OS</description>
      <pubDate>Tue, 28 Apr 2009 18:21:41 GMT</pubDate>
      <author>Psychoboy</author>
      <guid>http://communities.vmware.com/thread/207353</guid>
      <dc:date>2009-04-28T18:21:41Z</dc:date>
      <clearspace:dateToText>7 months, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Is there a 64bit ovftool?</title>
      <link>http://communities.vmware.com/thread/207160</link>
      <description>&lt;br /&gt;
I've been using v1.0 of the ovftool on my 32bit W/S.  Now I'm moving to a 64bit.  Is there a version for linux-x86-64?  Or how does one load the needed 32bit VMware libs?&lt;br /&gt;
&lt;p /&gt;
--will</description>
      <pubDate>Mon, 27 Apr 2009 18:43:31 GMT</pubDate>
      <author>wduncanSF</author>
      <guid>http://communities.vmware.com/thread/207160</guid>
      <dc:date>2009-04-27T18:43:31Z</dc:date>
      <clearspace:dateToText>4 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>Can't get a valid host hanle</title>
      <link>http://communities.vmware.com/thread/206677</link>
      <description>&lt;br /&gt;
Every time I try and get a host handle with connect it fails and is 0. no error code. I am connecting to a VMWare Server 2. I tryed VIX_SERVICEPROVIDER_DEFAULT also. Any help would be greatly appreciated.&lt;br /&gt;
&lt;br /&gt;
jobHandle = VixHost_Connect(VIX_API_VERSION,&lt;br /&gt;
VIX_SERVICEPROVIDER_VMWARE_VI_SERVER,&lt;br /&gt;
"https://192.168.0.221:8333/sdk", // hostName&lt;br /&gt;
0, // hostPort&lt;br /&gt;
"testuser", // userName&lt;br /&gt;
"123456", // password,&lt;br /&gt;
0, // options&lt;br /&gt;
VIX_INVALID_HANDLE, // propertyListHandle&lt;br /&gt;
NULL, // callbackProc&lt;br /&gt;
NULL); // clientData&lt;br /&gt;
&lt;br /&gt;
err = VixJob_Wait(jobHandle,&lt;br /&gt;
VIX_PROPERTY_JOB_RESULT_HANDLE,&lt;br /&gt;
&amp;#38;m_handleHost,&lt;br /&gt;
VIX_PROPERTY_NONE);&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">c++</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vmware_server</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vi_sdk</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">connect</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">login</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">error</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">api</category>
      <pubDate>Thu, 23 Apr 2009 21:50:40 GMT</pubDate>
      <author>Psychoboy</author>
      <guid>http://communities.vmware.com/thread/206677</guid>
      <dc:date>2009-04-23T21:50:40Z</dc:date>
      <clearspace:dateToText>7 months, 5 days ago</clearspace:dateToText>
      <clearspace:messageCount>29</clearspace:messageCount>
      <clearspace:replyCount>28</clearspace:replyCount>
    </item>
    <item>
      <title>Host Handle always returning 0</title>
      <link>http://communities.vmware.com/thread/206064</link>
      <description>I'm trying to use the VIX API in C++&lt;br /&gt;
&lt;br /&gt;
The issue is hostHandle always comes back 0. the error code is also 0&lt;br /&gt;
&lt;br /&gt;
here is the source &lt;br /&gt;
&lt;p /&gt;
jobHandle = VixHost_Connect(VIX_API_VERSION,&lt;br /&gt;
VIX_SERVICEPROVIDER_VMWARE_VI_SERVER,&lt;br /&gt;
&lt;a class="jive-link-external" href="http://192.168.0.1:8333/sdk"&gt;http://192.168.0.1:8333/sdk&lt;/a&gt;, // hostName&lt;br /&gt;
0, // hostPort&lt;br /&gt;
"testuser", // userName&lt;br /&gt;
"123456", // password,&lt;br /&gt;
0, // options&lt;br /&gt;
VIX_INVALID_HANDLE, // propertyListHandle&lt;br /&gt;
NULL, // callbackProc&lt;br /&gt;
NULL); // clientData&lt;br /&gt;
&lt;br /&gt;
err = VixJob_Wait(jobHandle,&lt;br /&gt;
VIX_PROPERTY_JOB_RESULT_HANDLE,&lt;br /&gt;
&amp;#38;hostHandle,&lt;br /&gt;
VIX_PROPERTY_NONE);</description>
      <pubDate>Tue, 21 Apr 2009 17:44:33 GMT</pubDate>
      <author>Psychoboy</author>
      <guid>http://communities.vmware.com/thread/206064</guid>
      <dc:date>2009-04-21T17:44:33Z</dc:date>
      <clearspace:dateToText>7 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Fault occuring on use of VIX (Vestris)</title>
      <link>http://communities.vmware.com/thread/204072</link>
      <description>I have an application which runs fine on my local development machine but when I run it within a VM (specifically my VI server) I get a fault and my application blows up. This happens on a call to the VixCOM dll (via the Vestris.VMWareLib wrapper).&lt;br /&gt;
&lt;br /&gt;
    VMWareVirtualHost host = new VMWareVirtualHost();&lt;br /&gt;
&lt;br /&gt;
    host.ConnectToVMWareVIServer(hostName, userName, password);&lt;br /&gt;
&lt;br /&gt;
I've re-installed VIX and this makes no difference; the version I'm using (1.6.2) is the same on both my local dev and virtual VI server machines.&lt;br /&gt;
&lt;br /&gt;
I suspect something weird is happening in one of the threads somewhere in the VixCOM dll but I've no idea where or how as it just causes a fault and dies.&lt;br /&gt;
&lt;br /&gt;
Has anyone else come across this before? Any ideas why it might work fine on my dev machine (XP SP3) but not on my vm (XP SP2)?</description>
      <pubDate>Thu, 09 Apr 2009 11:22:42 GMT</pubDate>
      <author>tl3462</author>
      <guid>http://communities.vmware.com/thread/204072</guid>
      <dc:date>2009-04-09T11:22:42Z</dc:date>
      <clearspace:dateToText>6 months, 4 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>8</clearspace:messageCount>
      <clearspace:replyCount>7</clearspace:replyCount>
    </item>
    <item>
      <title>Does Interactive VixVM_LoginInGuest feature work within VMware Infrastructure?</title>
      <link>http://communities.vmware.com/thread/203856</link>
      <description>Does Interactive VixVM_LoginInGuest feature work with VMware Infrastructure (VMware ESX and VMware ESXi in particular)?&lt;br /&gt;
&lt;br /&gt;
The reason I am asking is that it seems that VMware Infrastructure has the same set of APIs as VMware Workstation according to &lt;a class="jive-link-external" href="http://www.vmware.com/support/developer/vix-api/vix16_reference"&gt;http://www.vmware.com/support/developer/vix-api/vix16_reference&lt;/a&gt;. But when I am starting a program in guest it is started in non-interactive session.&lt;br /&gt;
&lt;br /&gt;
Thanks.</description>
      <pubDate>Wed, 08 Apr 2009 09:27:26 GMT</pubDate>
      <author>dalexeenko</author>
      <guid>http://communities.vmware.com/thread/203856</guid>
      <dc:date>2009-04-08T09:27:26Z</dc:date>
      <clearspace:dateToText>7 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>programmatically Change the Memory and CPU settings.</title>
      <link>http://communities.vmware.com/thread/202914</link>
      <description>&lt;br /&gt;
I am using ESX Server 3.5.0 and would like to automate a few of the images on it. I need to be able to programmatically shut down the machine, change the CPU and memory settings and restart the machine. I have found the API for the shutdown and restart but not the settings changes. How do I do that?</description>
      <pubDate>Thu, 02 Apr 2009 19:12:42 GMT</pubDate>
      <author>jclit</author>
      <guid>http://communities.vmware.com/thread/202914</guid>
      <dc:date>2009-04-02T19:12:42Z</dc:date>
      <clearspace:dateToText>7 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Interactive</title>
      <link>http://communities.vmware.com/thread/201716</link>
      <description>&lt;br /&gt;
Hi all,&lt;br /&gt;
&lt;p /&gt;
i know this question has been posted already in different form, but im really stuck....&lt;br /&gt;
I want to automate a setup via autoit on my VM. I call it like this:&lt;br /&gt;
&lt;p /&gt;
job = VM.LogInGuest("user","password",VixCOM.Constants.VIX_LOGIN_IN_GUEST_REQUIRE_INTERACTIVE_ENVIRONMENT, null);&lt;br /&gt;
job = VM.runProgramInGuest("c:\temp\stuff.exe", null, 0, null, null);&lt;br /&gt;
&lt;p /&gt;
 I want the setup to be run on the virtual desktop, but i always get the window prompting to switch to the secure desktop since an interactive service requires my attention...&lt;br /&gt;
I turned off UAC, but it does not help, i tried to adjust local security policies, but it does not help... It seems im really stuck here.&lt;br /&gt;
I use VMWare Workstation 6.5.1 build -126130, VIX is 1.6.3.5078. &lt;br /&gt;
&lt;p /&gt;
Can someone give me a hint what i am doing wrong?&lt;br /&gt;
&lt;p /&gt;
Thanks alot!</description>
      <pubDate>Thu, 26 Mar 2009 17:19:35 GMT</pubDate>
      <author>Fluffy08</author>
      <guid>http://communities.vmware.com/thread/201716</guid>
      <dc:date>2009-03-26T17:19:35Z</dc:date>
      <clearspace:dateToText>7 months, 4 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Query tools service from within guest OS</title>
      <link>http://communities.vmware.com/thread/201426</link>
      <description>Is the VIX API the right tool to use to query the tools service from within the guest OS?  I've got a friend who wants to find out the host server of his VMs--from the VM.  I told him to try and do it from the server side because that's my expertise, but that's a no-go for some reason.&lt;br /&gt;
&lt;br /&gt;
If VIX isn't the answer, anyone know if this can be done otherwise?&lt;br /&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a class="jive-link-external" href="http://www.vmware.com/communities/vexpert/"&gt;vExpert&lt;/a&gt;, &lt;a class="jive-link-external" href="https://mvp.support.microsoft.com/profile=5547F213-A069-45F8-B5D1-17E5BD3F362F"&gt;PowerShell MVP&lt;/a&gt;, VI Toolkit forum moderator&lt;br /&gt;
Author of the upcoming book: &lt;a class="jive-link-external" href="http://sapienpress.com/vmware.asp"&gt;Managing VMware Infrastructure with PowerShell&lt;/a&gt;&lt;br /&gt;
Co-Host, PowerScripting Podcast (&lt;a class="jive-link-external" href="http://powerscripting.net"&gt;http://powerscripting.net&lt;/a&gt;)&lt;br /&gt;
Need general, non-VMware-related PowerShell Help? Try the forums at &lt;a class="jive-link-external" href="http://powershellcommunity.org"&gt;PowerShellCommunity.org&lt;/a&gt;</description>
      <pubDate>Wed, 25 Mar 2009 12:57:58 GMT</pubDate>
      <author>halr9000</author>
      <guid>http://communities.vmware.com/thread/201426</guid>
      <dc:date>2009-03-25T12:57:58Z</dc:date>
      <clearspace:dateToText>8 months, 5 days ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Spaces In Path To VMX File Causing Problems?</title>
      <link>http://communities.vmware.com/thread/201238</link>
      <description>&lt;br /&gt;
Hello All,&lt;br /&gt;
&lt;p /&gt;
I just set up VMWare Server 2.0 (Build  122589) on an Ubuntu 7.10 box, and am attempting to get started with the VIX Perl API. Unfortunately, I'm stuck very early in the process - specifically, at getting a handle to a VM - and I'm hoping that my issue is as obvious as I suspect.&lt;br /&gt;
&lt;p /&gt;
Basically, I can connect to the host itself, but when I call VMOpen, I'm getting this error:&lt;br /&gt;
&lt;p /&gt;
VMOpen() failed, 9 An error occurred while accessing a file: wrong file type&lt;br /&gt;
&lt;p /&gt;
Here's the code in question:&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;br /&gt;
#!/usr/bin/perl&lt;br /&gt;
&lt;br /&gt;
use VMware::Vix::Simple;&lt;br /&gt;
use VMware::Vix::API::Constants;&lt;br /&gt;
use strict;           &lt;br /&gt;
&lt;br /&gt;
my $err = VIX_OK;     &lt;br /&gt;
my $hostHandle = VIX_INVALID_HANDLE;&lt;br /&gt;
my $vmHandle = VIX_INVALID_HANDLE;&lt;br /&gt;
&lt;br /&gt;
($err, $hostHandle) = HostConnect(VIX_API_VERSION,&lt;br /&gt;
                                  VIX_SERVICEPROVIDER_DEFAULT,&lt;br /&gt;
                                  10.4.11.194, # hostName&lt;br /&gt;
                                  902, # hostPort&lt;br /&gt;
                                  "myuser", # userName&lt;br /&gt;
                                  "mypass", # password&lt;br /&gt;
                                  0, # options&lt;br /&gt;
                                  VIX_INVALID_HANDLE); # propertyListHandle&lt;br /&gt;
&lt;br /&gt;
die "HostConnect() failed, $err ", GetErrorText($err), "\n" if $err != VIX_OK;&lt;br /&gt;
&lt;br /&gt;
($err, $vmHandle) = VMOpen($hostHandle, "/home/vmware/Windows\ XP\ SP2/Windows\ XP\ SP2.vmx");&lt;br /&gt;
&lt;br /&gt;
die "VMOpen() failed, $err ", GetErrorText($err), "\n" if $err != VIX_OK;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;...Do everything in your program...&lt;/li&gt;
&lt;/ol&gt;
HostDisconnect($hostHandle);&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;hr /&gt;
&lt;p /&gt;
&lt;br /&gt;
I suspect  that my problem is the spaces in the path to the VMX file, given that I don't see spaces in anyone else's paths while browsing this forum. If I'm correct, is there some other way of escaping out the spaces that I can use to connect to my existing VMs with spaces in their names? Or will I need to modify them to remove the spaces from their names (if so, how?), or even create new VMs (there's not that much on the machines in question, I'd just prefer to avoid rebuilding if I can)?</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">perl_api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">api</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">connect</category>
      <pubDate>Tue, 24 Mar 2009 13:45:48 GMT</pubDate>
      <author>schnarff</author>
      <guid>http://communities.vmware.com/thread/201238</guid>
      <dc:date>2009-03-24T13:45:48Z</dc:date>
      <clearspace:dateToText>8 months, 6 days ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>How to change a file on guest</title>
      <link>http://communities.vmware.com/thread/200996</link>
      <description>&lt;br /&gt;
Hi&lt;br /&gt;
&lt;p /&gt;
 is there any way to create a file on the guest and add content to him?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Throndorin</description>
      <pubDate>Mon, 23 Mar 2009 11:09:21 GMT</pubDate>
      <author>Throndorin</author>
      <guid>http://communities.vmware.com/thread/200996</guid>
      <dc:date>2009-03-23T11:09:21Z</dc:date>
      <clearspace:dateToText>8 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>stop soft doesn't close Ubuntu guest down gracefully</title>
      <link>http://communities.vmware.com/thread/200835</link>
      <description>&lt;br /&gt;
Hi.&lt;br /&gt;
&lt;p /&gt;
I'm running Workstation v6.5.1 on a 32-bit Windows XP host.&lt;br /&gt;
&lt;p /&gt;
The following script to close down all running guests works, except for one problem:&lt;br /&gt;
&lt;p /&gt;
 for /f "usebackq skip=1" %%i in (`"c:\Program Files\VMware\VMware Workstation\vmrun" list`) do "c:\Program Files\VMware\VMware Workstation\vmrun" stop %%i soft &lt;br /&gt;
&lt;p /&gt;
 When this script stops a 32-bit Ubuntu 8.04 guest, it succeeds, but an open e-mail client in the guest registers a crash condition which it recovers from when the guest is re-started.&lt;br /&gt;
&lt;p /&gt;
This doesn't happen if the Ubuntu guest is shutdown by hand from within the guest; the open e-mail client terminates gracefully and doesn't register a crash condition.&lt;br /&gt;
&lt;p /&gt;
 The lastest VMware-tools are installed in the guest.&lt;br /&gt;
&lt;p /&gt;
 Somehow the 'soft' argument in the script isn't working for this guest.  It should make the shutdown the same as shutting the guest down manually.&lt;br /&gt;
&lt;p /&gt;
 Is this a bug which I should report, or user error?&lt;br /&gt;
&lt;p /&gt;
 Many thanks,&lt;br /&gt;
&lt;p /&gt;
--Pete</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vmrun</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">stop</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">soft</category>
      <pubDate>Sat, 21 Mar 2009 13:16:41 GMT</pubDate>
      <author>peterp49</author>
      <guid>http://communities.vmware.com/thread/200835</guid>
      <dc:date>2009-03-21T13:16:41Z</dc:date>
      <clearspace:dateToText>8 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Linker Error in VS2005</title>
      <link>http://communities.vmware.com/thread/199336</link>
      <description>&lt;br /&gt;
Error    2    error LNK2019: unresolved external symbol __imp__WSAEventSelect@12 referenced in function _PollMapSocketToEvent    e:\My Documents\Visual Studio 2005\Projects\vm_vix\vm_vix\VixAllProducts.lib    1    &lt;br /&gt;
Error    3    error LNK2019: unresolved external symbol __imp__WSACreateEvent@0 referenced in function _PollMapSocketToEvent    e:\My Documents\Visual Studio 2005\Projects\vm_vix\vm_vix\VixAllProducts.lib    1    &lt;br /&gt;
Error    4    error LNK2019: unresolved external symbol __imp__WSAEnumNetworkEvents@12 referenced in function _PollFireAndDequeueSocketEvent    e:\My Documents\Visual Studio 2005\Projects\vm_vix\vm_vix\VixAllProducts.lib    1&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Any one know what should i do? Please give me some suggestions. Thx</description>
      <pubDate>Fri, 13 Mar 2009 06:56:54 GMT</pubDate>
      <author>xiaogelee</author>
      <guid>http://communities.vmware.com/thread/199336</guid>
      <dc:date>2009-03-13T06:56:54Z</dc:date>
      <clearspace:dateToText>8 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>RunProgramInGuest(): A file was not found</title>
      <link>http://communities.vmware.com/thread/199164</link>
      <description>I've used this method RunProgramInGuest() to run various cmd &amp;#38; bat files in the past. &lt;br /&gt;
I'm now trying to run a vbs script passing in the following:&lt;br /&gt;
&lt;br /&gt;
C:\Windows\system32\cscript.exe C:\Scripts\text.vbs&lt;br /&gt;
&lt;br /&gt;
For some reason it continually hits a vix exception saying the file was not found. &lt;br /&gt;
I can confirm the file is there and that this call works, because it runs successfully on the virtual machine when I initiate this call using the command prompt ...&lt;br /&gt;
&lt;br /&gt;
Any ideas as to why I might be experiencing this behavior?</description>
      <pubDate>Thu, 12 Mar 2009 14:49:05 GMT</pubDate>
      <author>downatone</author>
      <guid>http://communities.vmware.com/thread/199164</guid>
      <dc:date>2009-03-12T14:49:05Z</dc:date>
      <clearspace:dateToText>8 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>compiling vix-perl 1.62 for VM Server 2 on ubuntu 8.04 server 32 bit</title>
      <link>http://communities.vmware.com/thread/198537</link>
      <description>&lt;br /&gt;
per the docs i go into the '/usr/lib/vmware-vix/api' direcotry&lt;br /&gt;
--&amp;gt; extract file&lt;br /&gt;
          sudo tar xzvf vix-perl.tar.gz&lt;br /&gt;
--&amp;gt; go into created directory 'vix-perl'&lt;br /&gt;
          cd vix-perl&lt;br /&gt;
--&amp;gt; as sudo user execute 'perl Makefile.PL&lt;br /&gt;
          sudo perl Makefile.PL&lt;br /&gt;
--&amp;gt; as sudo user execute 'make'&lt;br /&gt;
         sudo make&lt;br /&gt;
&lt;p /&gt;
and here it just goes crazy. i get all kinds of 'VixBinding' issues. Nothing i'm looking at is making a lot of sense. THe closest i've come to something helpful via search are some things talking about assumptions made regarding locations of files/libs/tools  for linux that aren't true for ubuntu (or at least this version of ubuntu). &lt;br /&gt;
&lt;p /&gt;
 As a note, i have/had the same problem trying to do this w/ 1.60.</description>
      <pubDate>Tue, 10 Mar 2009 01:37:25 GMT</pubDate>
      <author>imnaydawg</author>
      <guid>http://communities.vmware.com/thread/198537</guid>
      <dc:date>2009-03-10T01:37:25Z</dc:date>
      <clearspace:dateToText>8 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Managing Workstation(s) Through PHP/Apache</title>
      <link>http://communities.vmware.com/thread/198384</link>
      <description>&lt;br /&gt;
Hello Experts&lt;br /&gt;
&lt;p /&gt;
I am brewing on a project where I depend on Ubuntu 8.04 64 bit as host OS, and Windows XP Pro as guest OS in VMWARE Workstation 6.5.&lt;br /&gt;
&lt;p /&gt;
Everything is to be managed through a PHP based web interface. And PHP helper/backend scripts.&lt;br /&gt;
&lt;p /&gt;
 As part of the system, I need to be able to pull status, start, stop, restart VM's from PHP. &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
I guess I need to look into some PERL scripting as well. &lt;br /&gt;
&lt;p /&gt;
But rather than guess, I would appreciate it a lot if someone could give me a few pointers in the right direction.&lt;br /&gt;
&lt;p /&gt;
Anything is appreciated.&lt;br /&gt;
&lt;p /&gt;
Please ask away.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks&lt;br /&gt;
&lt;p /&gt;
/Steffen</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">workstation</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">6.5</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">php</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <pubDate>Mon, 09 Mar 2009 13:24:30 GMT</pubDate>
      <author>s.mortensen</author>
      <guid>http://communities.vmware.com/thread/198384</guid>
      <dc:date>2009-03-09T13:24:30Z</dc:date>
      <clearspace:dateToText>8 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Multithreading in VIX API: more crashes, any news on fixes?</title>
      <link>http://communities.vmware.com/thread/196429</link>
      <description>I've been trying to extend our test automation to parallelize against multiple virtual machines. I am using &lt;a class="jive-link-external" href="http://www.codeplex.com/vmwaretasks"&gt;VMWareTasks&lt;/a&gt;. I make a connection to a different VM on two threads, then use the handle(s) returned, etc. This is a collection of crash messages followed by access violations that I got recently. I'll edit with more as i see them &lt;img class="jive-emoticon" border="0" src="http://communities.vmware.com/images/emoticons/happy.gif" alt=":)" /&gt; &lt;br /&gt;
&lt;p /&gt;
Most of the issues happen on connect or disconnect.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;

&lt;ul&gt;
&lt;li&gt;** (RemoteInstaller.exe:5572): WARNING **: ???: object class `GVmomiSession' has no property named `state'&lt;/li&gt;
&lt;li&gt;** ERROR **: g_type_plugin_*() invalidly modified type GVmomiSession' aborting (popup)&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;br /&gt;
Is there any news on a 1.6.3 that might fix these problems? I'd be really happy to try a beta too.&lt;br /&gt;
&lt;br /&gt;
Thx&lt;br /&gt;
dB.</description>
      <pubDate>Wed, 25 Feb 2009 23:36:32 GMT</pubDate>
      <author>dblock</author>
      <guid>http://communities.vmware.com/thread/196429</guid>
      <dc:date>2009-02-25T23:36:32Z</dc:date>
      <clearspace:dateToText>2 months, 4 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>12</clearspace:messageCount>
      <clearspace:replyCount>11</clearspace:replyCount>
    </item>
    <item>
      <title>runprograminguest and usercontext (ubuntu)</title>
      <link>http://communities.vmware.com/thread/195883</link>
      <description>&lt;br /&gt;
if i run runprograminguest with -gu and -gp the usercontext is't correct&lt;br /&gt;
&lt;p /&gt;
if i run &lt;br /&gt;
&lt;p /&gt;
touch filename&lt;br /&gt;
&lt;p /&gt;
the owner is 27 (which is the uid not the name)&lt;br /&gt;
&lt;p /&gt;
running a program with sudo bringst " uid 27 does not exist in passwd file!&lt;br /&gt;
&lt;p /&gt;
running runprograminguist with user root works fine (but root isn't useable on ubuntu)&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">runprograminguist</category>
      <pubDate>Mon, 23 Feb 2009 14:41:13 GMT</pubDate>
      <author>alclonky</author>
      <guid>http://communities.vmware.com/thread/195883</guid>
      <dc:date>2009-02-23T14:41:13Z</dc:date>
      <clearspace:dateToText>9 months, 4 days ago</clearspace:dateToText>
      <clearspace:messageCount>4</clearspace:messageCount>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>FYI: VIX Versions</title>
      <link>http://communities.vmware.com/thread/193065</link>
      <description>&lt;br /&gt;
I have been developing an app against VIX 1.6.0 for the past couple weeks only to find out that when I deployed it on another machine, along with the installation of VIX 1.6.2, the app would act funny and wasn't completely functional.&lt;br /&gt;
&lt;p /&gt;
 I guess this is just a reminder to all the developers and users out there.  &lt;b&gt;Install the VIX SDK version that the app was developed for...&lt;/b&gt;</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vix</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">versions</category>
      <pubDate>Fri, 06 Feb 2009 23:20:46 GMT</pubDate>
      <author>fixitchris</author>
      <guid>http://communities.vmware.com/thread/193065</guid>
      <dc:date>2009-02-06T23:20:46Z</dc:date>
      <clearspace:dateToText>9 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Segmentation Fault in creating clone.</title>
      <link>http://communities.vmware.com/thread/192489</link>
      <description>&lt;br /&gt;
Hi all I am very new to VIX API, I wanted to create a clone of an existing machine. but I am getting error(Segmentation fault) while creating clone. Could any one of you help me regarding this.&lt;br /&gt;
&lt;p /&gt;
Please find the code that I used :&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
use VMware::Vix::Simple;&lt;br /&gt;
use VMware::Vix::API::Constants;&lt;br /&gt;
&lt;br /&gt;
my $err = VIX_OK;&lt;br /&gt;
my $hostHandle = VIX_INVALID_HANDLE;&lt;br /&gt;
&lt;br /&gt;
($err, $hostHandle) = HostConnect(VIX_API_VERSION,&lt;br /&gt;
                                  VIX_SERVICEPROVIDER_VMWARE_WORKSTATION,&lt;br /&gt;
                                  undef, # hostName&lt;br /&gt;
                                  0, #port number&lt;br /&gt;
                                  "root", # userName&lt;br /&gt;
                                  "root123", # password&lt;br /&gt;
                                  0, # options&lt;br /&gt;
                                  VIX_INVALID_HANDLE); # propertyListHandle&lt;br /&gt;
&lt;p /&gt;
die "HostConnect() failed, $err ", GetErrorText($err), "\n" if $err != VIX_OK;&lt;br /&gt;
&lt;p /&gt;
($err, $vmHandle) = VMOpen($hostHandle,"//apps//Images//BaseImage//BaseImage.vmx");&lt;br /&gt;
&lt;br /&gt;
die "VMOpen() failed, $err ", GetErrorText($err), "\n" if $err != VIX_OK;&lt;br /&gt;
&lt;p /&gt;
($err, $cloneHandle) = VMClone($vmHandle,&lt;br /&gt;
                               "Snapshot_1",&lt;br /&gt;
                               VIX_CLONETYPE_LINKED,&lt;br /&gt;
                               "//apps//Images//Clone_1//Clone_1.vmx",&lt;br /&gt;
                               0, # options&lt;br /&gt;
                               VIX_INVALID_HANDLE); # propertyListHandle&lt;br /&gt;
&lt;br /&gt;
die "VMClone() failed, $err ", GetErrorText($err), "\n" if $err != VIX_OK;&lt;br /&gt;
&lt;br /&gt;
HostDisconnect($hostHandle);&lt;br /&gt;
&lt;br /&gt;</description>
      <pubDate>Wed, 04 Feb 2009 06:21:44 GMT</pubDate>
      <author>VivekDhayalan</author>
      <guid>http://communities.vmware.com/thread/192489</guid>
      <dc:date>2009-02-04T06:21:44Z</dc:date>
      <clearspace:dateToText>9 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>7</clearspace:messageCount>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>How can a guest VM exchange messages with hypervisor in ESXi?</title>
      <link>http://communities.vmware.com/thread/192043</link>
      <description>&lt;p /&gt;
Hello,&lt;br /&gt;
&lt;br /&gt;
I'd like to know how can a guest VM exchange messages with hypervisor in ESXi?&lt;br /&gt;
&lt;br /&gt;
In Xen hypervisors, xenstore can be used to exchange configuration and status information between Vm and hypervisor,&lt;br /&gt;
are there corresponding concepts in ESXi? &lt;br /&gt;
&lt;p /&gt;
 If I wan to set some configuration information such as the hostname and IP address when create a VM, what shall I do? &lt;br /&gt;
&lt;p /&gt;
And also, how can I send some status information, such as memory usage, from the VM to the hypervisor? &lt;br /&gt;
&lt;br /&gt;
Thank you.</description>
      <pubDate>Mon, 02 Feb 2009 02:08:30 GMT</pubDate>
      <author>zijiangning</author>
      <guid>http://communities.vmware.com/thread/192043</guid>
      <dc:date>2009-02-02T02:08:30Z</dc:date>
      <clearspace:dateToText>9 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>How can a Guest VM exchange messages with the Hypervisor in ESXi?</title>
      <link>http://communities.vmware.com/thread/192042</link>
      <description>&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;p /&gt;
I'd like to know hw can a VM exchange messages with the Hypervisor in ESXi? &lt;br /&gt;
&lt;p /&gt;
 With Xen hypevisors XenStore can be used for exchanging the configuration and status information between VM and hypervisor. &lt;br /&gt;
&lt;p /&gt;
Are there corresponding concepts in ESXi? If I want to set some configuration information for the VM at the time of VM creation, for example, the host name and IP address, what shall I do? And also, can I send information from VM to the hypervisor, such as the  memory usage information  at VM runtime?&lt;br /&gt;
&lt;p /&gt;
 Thank you.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Mon, 02 Feb 2009 01:56:54 GMT</pubDate>
      <author>zijiangning</author>
      <guid>http://communities.vmware.com/thread/192042</guid>
      <dc:date>2009-02-02T01:56:54Z</dc:date>
      <clearspace:dateToText>9 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>VIX Expansion</title>
      <link>http://communities.vmware.com/thread/191950</link>
      <description>&lt;br /&gt;
I have come across a few threads here where VIX limitations prevent certain desired functionality.  &lt;br /&gt;
&lt;p /&gt;
I was thinking about developing a client-server application to expand the possibilities of host &amp;lt;--&amp;gt; guest interaction.  The client would run on the host and the server would run on the guest (this approach would utilize VIX to determine the availability of guests and interprocess communication (named pipes) to communicate user defined acitons/commands to the guest).  &lt;a class="jive-link-external" href="http://www.programmersheaven.com/2/Dot-Net-Reflection-Part-2-p2"&gt;Using reflection in .NET I would expose an implementable interface for any developer to code add-ins for the base client/server app.&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
This would allow you (the .NET developer) to come up with specific functionality that is n/a in the VIX SDK; Compile it into a dll; import the dll into the client/server architechture and voila, new functionality/commands are now available through a console/GUI interface that would be part of the base client/server architecture.   &lt;br /&gt;
&lt;p /&gt;
 &lt;b&gt;What do you think?&lt;/b&gt;</description>
      <pubDate>Sat, 31 Jan 2009 22:30:02 GMT</pubDate>
      <author>fixitchris</author>
      <guid>http://communities.vmware.com/thread/191950</guid>
      <dc:date>2009-01-31T22:30:02Z</dc:date>
      <clearspace:dateToText>9 months, 4 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Please Urgent Error Message After Open a Virtual Machine</title>
      <link>http://communities.vmware.com/thread/191263</link>
      <description>&lt;br /&gt;
Hi, I received the message error of snapshot when the red line is executed, follow code bellow pic&lt;br /&gt;
&lt;p /&gt;
&lt;img src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-1155495-5103/vmwError.JPG" alt="vmwError.JPG" width="450" class="jive-image-thumbnail jive-image" onclick="myJiveImage.start(this, 'http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-1155495-5103/vmwError.JPG');return false;"/&gt; &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
void foo()  {&lt;br /&gt;
&lt;p /&gt;
     ulong err = 0;&lt;br /&gt;
&lt;p /&gt;
    object results = null;&lt;br /&gt;
&lt;p /&gt;
    global::VixCOM.VixLibClass __vlib = new global::VixCOM.VixLibClass();&lt;br /&gt;
&lt;p /&gt;
    global::VixCOM.IJob __ijob = __vlib.Connect(global::VixCOM.Constants.VIX_API_VERSION,&lt;br /&gt;
&lt;p /&gt;
   global::VixCOM.Constants.VIX_SERVICEPROVIDER_VMWARE_VI_SERVER,  "https://" + args[0] + ":443/sdk", 0, args[1], args[2], 0, null, null);&lt;br /&gt;
&lt;p /&gt;
   err = __ijob.Wait(new object[] { global::VixCOM.Constants.VIX_PROPERTY_JOB_RESULT_HANDLE }, ref results);&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
   for (int j = 0; j &amp;lt; vmx__Files_P.Length; j++)&lt;br /&gt;
&lt;p /&gt;
   {&lt;br /&gt;
&lt;p /&gt;
        System.Console.Out.WriteLine("Open VM.:{0}", vmx__Files_P[j]);&lt;br /&gt;
&lt;p /&gt;
        __ijob = host.OpenVM(vmx__Files_P[j], null);&lt;br /&gt;
&lt;p /&gt;
       object jobSysCOM = null;&lt;br /&gt;
&lt;p /&gt;
&lt;span style="color:#ff0000"&gt;       err = jb.Wait(new int[] { VixCOM.Constants.VIX_PROPERTY_JOB_RESULT_HANDLE }, ref jobSysCOM);&lt;/span&gt;&lt;br /&gt;
&lt;p /&gt;
      }  &lt;br /&gt;
&lt;p /&gt;
     host.Disconnect();&lt;br /&gt;
&lt;p /&gt;
}</description>
      <pubDate>Wed, 28 Jan 2009 13:19:34 GMT</pubDate>
      <author>sgrmock</author>
      <guid>http://communities.vmware.com/thread/191263</guid>
      <dc:date>2009-01-28T13:19:34Z</dc:date>
      <clearspace:dateToText>10 months, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>VMware Failed to PowerOn C#</title>
      <link>http://communities.vmware.com/thread/191154</link>
      <description>&lt;br /&gt;
Hi, I received the following error when try poweron a vmx file, in attach follow the complete source code.&lt;br /&gt;
&lt;p /&gt;
&lt;img src="http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-1154910-5081/vmwError.JPG" alt="vmwError.JPG" width="450" class="jive-image-thumbnail jive-image" onclick="myJiveImage.start(this, 'http://communities.vmware.com/servlet/JiveServlet/downloadImage/2-1154910-5081/vmwError.JPG');return false;"/&gt; &lt;br /&gt;
&lt;p /&gt;
Tanks</description>
      <pubDate>Tue, 27 Jan 2009 20:01:18 GMT</pubDate>
      <author>sgrmock</author>
      <guid>http://communities.vmware.com/thread/191154</guid>
      <dc:date>2009-01-27T20:01:18Z</dc:date>
      <clearspace:dateToText>3 months, 4 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>19</clearspace:messageCount>
      <clearspace:replyCount>18</clearspace:replyCount>
    </item>
    <item>
      <title>vmware-vmx PID in Server 2</title>
      <link>http://communities.vmware.com/thread/190030</link>
      <description>Hi!&lt;br /&gt;
&lt;br /&gt;
Is there any method in VIX (or any other valid API) to get the PID of a guest?&lt;br /&gt;
&lt;br /&gt;
This was possible with VMControl API (VMControl_VMGetPid), but VMControl &lt;br /&gt;
seems to be removed in Server 2.&lt;br /&gt;
&lt;br /&gt;
Teppo</description>
      <pubDate>Wed, 21 Jan 2009 07:52:01 GMT</pubDate>
      <author>tgc1</author>
      <guid>http://communities.vmware.com/thread/190030</guid>
      <dc:date>2009-01-21T07:52:01Z</dc:date>
      <clearspace:dateToText>10 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>5</clearspace:messageCount>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>RemoveSnapshot Question</title>
      <link>http://communities.vmware.com/thread/188829</link>
      <description>Does RemoveSnapshot function merge (commit) the snapshot data into the VMDK prior to deleting the snapshot?</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">snapshot</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">removesnapshot</category>
      <pubDate>Wed, 14 Jan 2009 02:04:08 GMT</pubDate>
      <author>fixitchris</author>
      <guid>http://communities.vmware.com/thread/188829</guid>
      <dc:date>2009-01-14T02:04:08Z</dc:date>
      <clearspace:dateToText>10 months, 2 hours ago</clearspace:dateToText>
      <clearspace:messageCount>6</clearspace:messageCount>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>Storing Variables in VMX</title>
      <link>http://communities.vmware.com/thread/188001</link>
      <description>Is it possible to permanently store a variables inside the guest's VMX file? (This used to be possible with VMCOM)</description>
      <pubDate>Thu, 08 Jan 2009 17:34:47 GMT</pubDate>
      <author>fixitchris</author>
      <guid>http://communities.vmware.com/thread/188001</guid>
      <dc:date>2009-01-08T17:34:47Z</dc:date>
      <clearspace:dateToText>10 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>VIXCOM Console</title>
      <link>http://communities.vmware.com/thread/187966</link>
      <description>Below is my implementation of VixCOM.</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vixcom</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vb.net</category>
      <pubDate>Thu, 08 Jan 2009 13:47:58 GMT</pubDate>
      <author>fixitchris</author>
      <guid>http://communities.vmware.com/thread/187966</guid>
      <dc:date>2009-01-08T13:47:58Z</dc:date>
      <clearspace:dateToText>10 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>USB connect/disconnect</title>
      <link>http://communities.vmware.com/thread/187949</link>
      <description>Hello!&lt;br /&gt;
&lt;br /&gt;
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.&lt;br /&gt;
&lt;br /&gt;
What I want to do is simple: I want to be able to connect a USB device (currently being connected to the host) to the guest with a script/program. Is this possible in some way? Either with VIX or something else?&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Mattias</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">automation</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">usb</category>
      <category domain="http://communities.vmware.com/tags?communityID=2417">connect</category>
      <pubDate>Thu, 08 Jan 2009 11:02:26 GMT</pubDate>
      <author>brasse</author>
      <guid>http://communities.vmware.com/thread/187949</guid>
      <dc:date>2009-01-08T11:02:26Z</dc:date>
      <clearspace:dateToText>10 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>vmrun interactive services in Vista works inconsistently</title>
      <link>http://communities.vmware.com/thread/187716</link>
      <description>On my Vista machine (say A) when I run:&lt;br /&gt;
vmrun -T esx -h &lt;a class="jive-link-external" href="https://"&gt;https://&lt;/a&gt;&amp;lt;esx_ip&amp;gt;:443/sdk -user root -password &amp;lt;root_pwd&amp;gt; -gu administrator -gp &amp;lt;administrator_pwd&amp;gt; runprogramInGuest "&lt;a class="jive-link-adddocument" href="http://communities.vmware.com/community-document-picker.jspa?communityID=&amp;subject=Data+2"&gt;Data 2&lt;/a&gt; VistaBX86/VistaBX86.vmx" -interactive c:\windows\system32\notepad.exe&lt;br /&gt;
this does not display notepad on desktop. It is instead shown inside "Interactive services dialog".&lt;br /&gt;
&lt;br /&gt;
When I run the same command on another Vista machine (say machine B), it works correctly (i.e notepad is displayed on desktop like it does on NT4/5 OS).&lt;br /&gt;
&lt;br /&gt;
I copied Group policy from the machine B onto the machine A, but this did not help.&lt;br /&gt;
&lt;br /&gt;
Does vmrun -interactive depend on some Windows specific setting, which makes it run on one Vista OS but not on another Vista OS?&lt;br /&gt;
What am I missing?</description>
      <category domain="http://communities.vmware.com/tags?communityID=2417">vmrunprograminguest</category>
      <pubDate>Wed, 07 Jan 2009 08:32:49 GMT</pubDate>
      <author>bhat123</author>
      <guid>http://communities.vmware.com/thread/187716</guid>
      <dc:date>2009-01-07T08:32:49Z</dc:date>
      <clearspace:dateToText>10 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>encounter VIX error: Cannot read the virtual machine configuration file</title>
      <link>http://communities.vmware.com/thread/186904</link>
      <description>&lt;br /&gt;
I use VIX1.6.1 and encounter VIX error "Cannot read the virtual machine configuration file"&lt;br /&gt;
&lt;p /&gt;
Then I try to use vmrun to run below command and get the same error &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
 vmrun -T ws listSnapshots "C:\virtual machines\TMMA2\01_TMMA_Server\Windows Server 2003 Enterprise Edition Eng.vmx"&lt;br /&gt;
&lt;p /&gt;
 VIX error: Cannot read the virtual machine configuration file  &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Does anyone know how to prevent this error? Thanks very much.&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Guile</description>
      <pubDate>Wed, 31 Dec 2008 02:05:37 GMT</pubDate>
      <author>guilechao</author>
      <guid>http://communities.vmware.com/thread/186904</guid>
      <dc:date>2008-12-31T02:05:37Z</dc:date>
      <clearspace:dateToText>10 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>5</clearspace:messageCount>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>Controlling VMWorkstation Visual State</title>
      <link>http://communities.vmware.com/thread/186681</link>
      <description>&lt;br /&gt;
Hi!&lt;br /&gt;
&lt;p /&gt;
 Is there any way to control and manage VM Workstation visual state from other program running at host? Placing VM to fullscreen or windowed mode, minimize window, hide and activate VM window?&lt;br /&gt;
&lt;p /&gt;
 Is it possible?</description>
      <pubDate>Mon, 29 Dec 2008 07:33:06 GMT</pubDate>
      <author>AlexRybin</author>
      <guid>http://communities.vmware.com/thread/186681</guid>
      <dc:date>2008-12-29T07:33:06Z</dc:date>
      <clearspace:dateToText>10 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>AV: Using VIXCOM API against both VMWare workstation and VI server in the same process</title>
      <link>http://communities.vmware.com/thread/186655</link>
      <description>&lt;br /&gt;
It seems that VIXCOM dies when trying to connect to a Workstation after working with a VI connection, and vice-versa. The call to Connect hangs and there's an access violation on another thread. This sounds like a rare use scenario, but I think this hides a real problem in the VIXCOM API implementation. For me, the problem is in unit tests for &lt;a class="jive-link-external" href="http://code.dblock.org/ShowPost.aspx?id=25"&gt;VMWareTasks&lt;/a&gt; since the library works with both Workstation and VI.&lt;br /&gt;
&lt;p /&gt;
Hope this helps debugging.</description>
      <pubDate>Mon, 29 Dec 2008 04:23:31 GMT</pubDate>
      <author>dblock</author>
      <guid>http://communities.vmware.com/thread/186655</guid>
      <dc:date>2008-12-29T04:23:31Z</dc:date>
      <clearspace:dateToText>11 months, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>VIXCOM API bug (?): ListDirectoryInGuest fails and returns different error codes in VI and Workstation for empty directories</title>
      <link>http://communities.vmware.com/thread/186654</link>
      <description>&lt;br /&gt;
I think this is a bug in 1.6.2. ListDirectoryInGuest fails differently in VMWare Workstation and VI (ESX) for listing &lt;b&gt;empty directories&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Workstation: GetNumProperties returns VIX_E_UNRECOGNIZED_PROPERTY when trying to get the number of results.&lt;/li&gt;
&lt;li&gt;VI (ESX): returns 2, probably E_FILE_NOT_FOUND, although in VMWARE errors this is out of memory on job wait.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
I think both are wrong and should fail the job with a specific error code that there're no files or subdirectories in this directory.</description>
      <pubDate>Mon, 29 Dec 2008 04:19:34 GMT</pubDate>
      <author>dblock</author>
      <guid>http://communities.vmware.com/thread/186654</guid>
      <dc:date>2008-12-29T04:19:34Z</dc:date>
      <clearspace:dateToText>11 months, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>VIXCOM API bug (?): unrecognized error code calling GetErrorText before any other function</title>
      <link>http://communities.vmware.com/thread/186646</link>
      <description>&lt;br /&gt;
Not sure where to report VixCOM bugs... I think this is one, although not very serious. If you call VixLib.GetErrorText before calling any other VMWare function (eg. Connect) you get back &lt;b&gt;Unrecognized errcode&lt;/b&gt;. That seems wrong, it should always return the correct result.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Sun, 28 Dec 2008 21:55:29 GMT</pubDate>
      <author>dblock</author>
      <guid>http://communities.vmware.com/thread/186646</guid>
      <dc:date>2008-12-28T21:55:29Z</dc:date>
      <clearspace:dateToText>11 months, 2 days ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Commit a Snapshot (backup)</title>
      <link>http://communities.vmware.com/thread/185876</link>
      <description>&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Is there a way to commit a snapshot with VIX in VMware server 2?&lt;br /&gt;
&lt;p /&gt;
 I am asking because I would like to backup the VMDK as quickly as possible, create snap, release lock on vmdk, copy vmdk, commit snap.&lt;br /&gt;
&lt;p /&gt;
Any other ideas for free back up solutions?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Chris</description>
      <pubDate>Fri, 19 Dec 2008 16:30:16 GMT</pubDate>
      <author>chrismisztur</author>
      <guid>http://communities.vmware.com/thread/185876</guid>
      <dc:date>2008-12-19T16:30:16Z</dc:date>
      <clearspace:dateToText>11 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Using CopyFileFromHostToGuest() with ESX 3.5</title>
      <link>http://communities.vmware.com/thread/185585</link>
      <description>I'm trying to copy a file from either my workstation or from a folder in one of my ESX datastores using CopyFileFromHostToGuest(). I have tried multiple ways of accessing the file that needs to be copied. To copy it from the ESX server datastore I have tried CopyFileFromHostToGuest("[storage1] Folder/filename.txt", "file_path_in_vm", etc...), but that wasn't working. Then I tried to copy a file from my local machine using CopyFileFromHostToGuest("C:\Folder\filename.txt", "file_path_in_vm", etc...), but that didn't work either. Is there something I'm missing? In both cases I am getting a vixError of 4, which means the file is not found. It would be ideal if I could use CopyFileFromHostToGuest() to copy a file on the ESX server to a VM that was running in ESX.</description>
      <pubDate>Wed, 17 Dec 2008 23:50:22 GMT</pubDate>
      <author>eatorres</author>
      <guid>http://communities.vmware.com/thread/185585</guid>
      <dc:date>2008-12-17T23:50:22Z</dc:date>
      <clearspace:dateToText>11 months, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>3</clearspace:messageCount>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Running vmrun on Linux/Windows with ESX</title>
      <link>http://communities.vmware.com/thread/185128</link>
      <description>I know VIX 1.6.2 was just released which now supports ESX 3.5u2+ (I believe).&lt;br /&gt;
&lt;br /&gt;
I know there are some blogs floating out there about how to use "&lt;b&gt;vmrun.exe&lt;/b&gt;" on Windows to manage your Virtual Machines on ESX. I just installed VIX on both Windows and on our VIMA box. I found that "&lt;b&gt;vmrun&lt;/b&gt;" exists on both systems which is great, now I found small discrepancy in running the same exact command on the two hosts and was wondering if I was missing something:&lt;br /&gt;
&lt;br /&gt;
Windows host execution:&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;C:\Program Files\VMware\VMware VIX&amp;gt;vmrun.exe -T -h esx https://a.b.c.d/sdk -u root -p SOME_PASS list
Total running VMs: 1
[san-storage1] TEST-VM/TEST-VM.vmx
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
VIMA (Linux) host execution:&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
&lt;pre class="jive-pre"&gt;&lt;code class="jive-code jive-plain"&gt;vmrun -T esx -h https://a.b.c.d/sdk -u root -p SOME_PASS list
&lt;/code&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;p /&gt;
Nothing is returned and it shows the usage summary, I'm not sure if the syntax is supposed to be different? VIMA can talk to the ESX Host and it's also in VIMA's management.  The ESX Host in question is running latest VMware ESX 3.5u3&lt;br /&gt;
I've tried both Types = (server|esx), the results yield the same, works on Windows but not on Linux&lt;br /&gt;
&lt;br /&gt;
Any idea what the issue might be? &lt;br /&gt;
&lt;br /&gt;
Also on a side note, is there a way we can force the password to be prompted, I've found that if you just do &lt;b&gt;-p&lt;/b&gt; or without &lt;b&gt;-p&lt;/b&gt; that it'll error out. I'm pretty sure people will agree putting the root password in the page is probably not the best idea, especially in clear text. I'm looking at utilizing VIX to automate some tasks and I would like to either pass in the credentials once or store them in a temp cache like how VIMA / VI Perl Toolkit does its authentication.</description>
      <pubDate>Mon, 15 Dec 2008 19:45:09 GMT</pubDate>
      <author>lamw</author>
      <guid>http://communities.vmware.com/thread/185128</guid>
      <dc:date>2008-12-15T19:45:09Z</dc:date>
      <clearspace:dateToText>11 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>7</clearspace:messageCount>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>How can I timeout on wix job wait or terminate the job on a timer safely?</title>
      <link>http://communities.vmware.com/thread/184697</link>
      <description>This question has been &lt;a class="jive-link-message" href="http://communities.vmware.com/message/888986#888986"&gt;asked several months before&lt;/a&gt;, so hopefuly the technology evolved &lt;img src="http://communities.vmware.com/images/emoticons/happy.gif" alt="http://communities.vmware.com/images/emoticons/happy.gif" class="jive-image"  /&gt;&lt;br /&gt;
&lt;br /&gt;
I had someone pull a cable from the ESX server on me during a process that restores a snapshot. I ended up with a client in an infinite IJob Wait. What's the proper way to time all calls out?&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;Some way to have a non blocking wait with a very long timeout via VIX API? (I am using C# / VixCOM) &lt;br clear="all" /&gt;  &lt;br clear="all" /&gt; 	I am doing this: &lt;br clear="all" /&gt;  &lt;br clear="all" /&gt;  &lt;br clear="all" /&gt; 	private static void InternalWait(IJob job, int timeoutInSeconds) &lt;br clear="all" /&gt; 	{ &lt;br clear="all" /&gt; 	 if (timeoutInSeconds == 0) &lt;br clear="all" /&gt; 	 { &lt;br clear="all" /&gt; 	  throw new ArgumentOutOfRangeException("timeoutInSeconds"); &lt;br clear="all" /&gt; 	 } &lt;br clear="all" /&gt; 	 // active wait for the job to finish &lt;br clear="all" /&gt; 	 bool isComplete = false; &lt;br clear="all" /&gt; 	 while (!isComplete &amp;#38;&amp;#38; timeoutInSeconds &amp;gt; 0) &lt;br clear="all" /&gt; 	 { &lt;br clear="all" /&gt; 	  Check(job.CheckCompletion(out isComplete)); &lt;br clear="all" /&gt; 	  if (isComplete) break; &lt;br clear="all" /&gt; 	  Thread.Sleep(1000); &lt;br clear="all" /&gt; 	  timeoutInSeconds--; &lt;br clear="all" /&gt; 	} &lt;br clear="all" /&gt;  &lt;br clear="all" /&gt;  &lt;br clear="all" /&gt; 	if (timeoutInSeconds == 0) &lt;br clear="all" /&gt; 	{ &lt;br clear="all" /&gt; 	 throw new TimeoutException(); &lt;br clear="all" /&gt; 	} &lt;br clear="all" /&gt; 	}&lt;/li&gt;
&lt;li&gt;Manual timer that aborts the thread? I am worried about the consequences and being able to continue or maybe even retry operation.&lt;/li&gt;
&lt;li&gt;Something else?&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
Thx&lt;br /&gt;
dB.</description>
      <pubDate>Fri, 12 Dec 2008 12:22:50 GMT</pubDate>
      <author>dblock</author>
      <guid>http://communities.vmware.com/thread/184697</guid>
      <dc:date>2008-12-12T12:22:50Z</dc:date>
      <clearspace:dateToText>11 months, 2 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>Modify VMDK's with VIX 1.6</title>
      <link>http://communities.vmware.com/thread/183048</link>
      <description>&lt;br /&gt;
Hello,&lt;br /&gt;
&lt;p /&gt;
is there any way to modify VMDK's files using  VIX api 1.6?&lt;br /&gt;
&lt;p /&gt;
I guess currently VDDK is getting used for the same.&lt;br /&gt;
&lt;p /&gt;
Is there are any future plans to incorporate the VDDK into VIX API's set?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thanks,&lt;br /&gt;
&lt;p /&gt;
-AsHwIN</description>
      <pubDate>Wed, 03 Dec 2008 17:56:54 GMT</pubDate>
      <author>Ashwin89</author>
      <guid>http://communities.vmware.com/thread/183048</guid>
      <dc:date>2008-12-03T17:56:54Z</dc:date>
      <clearspace:dateToText>11 months, 3 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>GetProperties doesn't update stale Virtual Machine Handle</title>
      <link>http://communities.vmware.com/thread/182512</link>
      <description>&lt;br /&gt;
I'd like to write some code to monitor Virtual Machine power on and take action once it's powered on. For example:&lt;br /&gt;
&lt;p /&gt;
vmHandle = VixVM_Open(hostHandle, vmPath, NULL, NULL);&lt;br /&gt;
&lt;p /&gt;
do {&lt;br /&gt;
&lt;p /&gt;
    Vix_GetProperties(vmHandle, VIX_PROPERTY_VM_POWER_STATE, &amp;#38;powerstate, VIX_PROPERTY_NONE);&lt;br /&gt;
&lt;p /&gt;
} while (powerstate != VIX_POWERSTATE_POWERED_ON) &lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
However, powerstate is never updated (I've confirmed this by running another instance of the code above). It looks like GetProperties call never goes out to the network to receive updated state of the virtual machine. &lt;br /&gt;
&lt;p /&gt;
Is it possible to force Vix_GetProperties() to get updated state from the VMware host? Or is the only way to accomplish this is to reopen VM handle?&lt;br /&gt;
&lt;p /&gt;
Thank you in advance for any tips/pointers!</description>
      <pubDate>Tue, 02 Dec 2008 03:22:42 GMT</pubDate>
      <author>nextone92</author>
      <guid>http://communities.vmware.com/thread/182512</guid>
      <dc:date>2008-12-02T03:22:42Z</dc:date>
      <clearspace:dateToText>11 months, 4 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>runProgramInGuest -interactive flag in Vista does not work</title>
      <link>http://communities.vmware.com/thread/182492</link>
      <description>&lt;br /&gt;
Greetings,&lt;br /&gt;
&lt;p /&gt;
I'm unable to get runProgramInGuest using the -interactive flag to work properly in a Vista guest.  I've logged in as administrator and am passing in the proper credentials via vmrun: &lt;br /&gt;
&lt;p /&gt;
vmrun -T ws -gu Administrator -gp password runPrgramInGuest "c:\Temp\Test.vmx" -interactive c:\boo\booi.exe&lt;br /&gt;
&lt;p /&gt;
Error: Authentication failure or insufficient permissions in guest operating system&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
If I run without the -interactive flag, the app is started in session 0 and Windows Interactive Services "feature" is invoked.  Has anyone gotten runProgramInGuest to work properly in Vista (where the program is not invoked in session 0)?&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
Thank you,&lt;br /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
&lt;p /&gt;
-Randy</description>
      <pubDate>Mon, 01 Dec 2008 23:57:28 GMT</pubDate>
      <author>rkreitz</author>
      <guid>http://communities.vmware.com/thread/182492</guid>
      <dc:date>2008-12-01T23:57:28Z</dc:date>
      <clearspace:dateToText>11 months, 4 weeks ago</clearspace:dateToText>
      <clearspace:messageCount>2</clearspace:messageCount>
      <clearspace:replyCount>1</clearspace:replyCount>
    </item>
    <item>
      <title>VIX API and VB6 cannot get VixCOM to be read.</title>
      <link>http://communities.vmware.com/thread/181300</link>
      <description>I couldn't install VMWare server 2.0 so I installed 1.08, I understand this could possibly be the cause of my problem.  I can get the script samples to run but they do not do anything, I cannot run the code myself either.  I get an error when running the .wsf file in the samples directory, it says "The handle is not a valid object."  I'm new to all of this so some tips would be greatly appreciated, thanks.</description>
      <pubDate>Mon, 24 Nov 2008 12:54:49 GMT</pubDate>
      <author>dhodge</author>
      <guid>http://communities.vmware.com/thread/181300</guid>
      <dc:date>2008-11-24T12:54:49Z</dc:date>
      <clearspace:dateToText>1 year, 1 day ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
    <item>
      <title>memory leaks</title>
      <link>http://communities.vmware.com/thread/179423</link>
      <description>&lt;br /&gt;
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,  VixWrapper_FindLoadLibrary, Dictionary_Create, Dictionary_Append, and many others. &lt;br /&gt;
&lt;p /&gt;
Also, when debugging and looking at the memory of handles and looking at the memory after calling Vix_ReleaseHandle, I don't see anything change at the memory location.  I would expect to see the memory location change to some random data, NULL, 0xdeaddead, 0xdeadbeef, or something.  It doesn't change, so is there a known bug on the Vix_ReleaseHandle?  &lt;br /&gt;
&lt;p /&gt;
 I would suspect my code more, if it weren't for the fact that when I run a *.vmx without my code, just run vmworkstation 6.0, and look under Windows TaskManager, I can see the memory usage on the *.vmx file increasing and nothing is going except it is running.  &lt;br /&gt;
&lt;p /&gt;
I installed vmworkstation 6.5 as well and still see memory leaks.  &lt;br /&gt;
&lt;p /&gt;
 My question is, are these known leaks by VMWare? &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;</description>
      <pubDate>Thu, 13 Nov 2008 21:03:35 GMT</pubDate>
      <author>voodooRod</author>
      <guid>http://communities.vmware.com/thread/179423</guid>
      <dc:date>2008-11-13T21:03:35Z</dc:date>
      <clearspace:dateToText>1 year, 1 week ago</clearspace:dateToText>
      <clearspace:messageCount>1</clearspace:messageCount>
    </item>
  </channel>
</rss>

