Performance issue when transferring files to the guest operating system of a virtual machine in VMware VIX API 1.12
search cancel

Performance issue when transferring files to the guest operating system of a virtual machine in VMware VIX API 1.12

book

Article ID: 336881

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
When you transfer files to the guest operating system of a virtual machine using VMware VIX API 1.12, you experience these symptoms:
  • VIX file transfer to the guests operating system is very slow.
  • The transfer rate is only 1 Mb/Sec to 2Mb/Sec.


Environment

VMware VIX API 1.11
VMware VIX API 1.12

Cause

This issue occurs due to the design of the VIX API.

Resolution

This is a known issue affecting VMware VIX API 1.12.

Currently, there is no resolution.

To work around this issue:
  1. In the source virtual machine, manually share the file or folder, such as C:\Test, in the network to upload in the guest operating system. This provides the network location of the file, such as \\SourceComputer\Test.

    Other systems in the same network should now be able to access the folder \SourceComputer\Test.

  2. Using PowerShell, run this Invoke-VMScript cmdlet command to copy the required files:

    Invoke-VMScript -ScriptText $automationScript -VM $virtualMachine -GuestUser $guestUsername -GuestPassword $guestPassword -ScriptType Powershell

    For example:

    $automationScript = '\\SourceComputer\test c:\test /s /e'