<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: VixVM_RunProgramInGuest vix library in python in VIX API Discussions</title>
    <link>https://communities.vmware.com/t5/VIX-API-Discussions/VixVM-RunProgramInGuest-vix-library-in-python/m-p/2751470#M3904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;Azadifar&lt;/B&gt;​,&lt;/P&gt;&lt;P&gt;vm.login has an optional parameter (require_interactive, default is False)&lt;/P&gt;&lt;P&gt;So if you change the login to this line, it should work:&lt;/P&gt;&lt;P&gt;vm.login(username="User", password="Password", require_interactive=True)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 07 Apr 2018 21:39:47 GMT</pubDate>
    <dc:creator>naim94a</dc:creator>
    <dc:date>2018-04-07T21:39:47Z</dc:date>
    <item>
      <title>VixVM_RunProgramInGuest vix library in python</title>
      <link>https://communities.vmware.com/t5/VIX-API-Discussions/VixVM-RunProgramInGuest-vix-library-in-python/m-p/2751469#M3903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dears&lt;/P&gt;&lt;P&gt;I am new to VIX API, i wrote a new program as follow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;import &lt;/SPAN&gt;vix&lt;/P&gt;&lt;P&gt;host = vix.VixHost()&lt;/P&gt;&lt;P&gt;vm = host.open_vm(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"/home/Somebody/VM/Windows.vmx"&lt;/SPAN&gt;)&lt;SPAN style="color: #808080; font-style: italic;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;vm.login(username=&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"User"&lt;/SPAN&gt;, password=&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"Password"&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;vm.proc_run(&lt;SPAN style="color: #008080; font-weight: bold;"&gt;"&lt;/SPAN&gt;&lt;SPAN style="color: #008080; font-weight: bold;"&gt;C:\\Program Files\\Microsoft Office\\Office14\\WINWORD.EXE"&lt;/SPAN&gt;)&lt;SPAN style="color: #808080; font-style: italic;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;after executing the script, i found that the word application started under vmtoolsd service , so it doesn't start in user space , it runs from&amp;nbsp; service vmtoolsd and i see intractive message is prompted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;How can i execute word as the user i logedin?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808080; font-style: italic;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 04:44:25 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VIX-API-Discussions/VixVM-RunProgramInGuest-vix-library-in-python/m-p/2751469#M3903</guid>
      <dc:creator>Azadifar</dc:creator>
      <dc:date>2018-02-28T04:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: VixVM_RunProgramInGuest vix library in python</title>
      <link>https://communities.vmware.com/t5/VIX-API-Discussions/VixVM-RunProgramInGuest-vix-library-in-python/m-p/2751470#M3904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;B&gt;Azadifar&lt;/B&gt;​,&lt;/P&gt;&lt;P&gt;vm.login has an optional parameter (require_interactive, default is False)&lt;/P&gt;&lt;P&gt;So if you change the login to this line, it should work:&lt;/P&gt;&lt;P&gt;vm.login(username="User", password="Password", require_interactive=True)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 07 Apr 2018 21:39:47 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VIX-API-Discussions/VixVM-RunProgramInGuest-vix-library-in-python/m-p/2751470#M3904</guid>
      <dc:creator>naim94a</dc:creator>
      <dc:date>2018-04-07T21:39:47Z</dc:date>
    </item>
  </channel>
</rss>

