Frequently Asked Questions about the Repackager

Why do I receive the "Error during virtual machine configuration: shared folders" while the Repackager tries to connect to my Hyper-V VM?

ImportantVerify if the machines are on the same subnet and if they can ping each other, for example. Additionally, check if the machines are enrolled in the domain and ensure there are no policies preventing the creation of new users. This is important because Repackager tries to create a new user under which we share the necessary folders to be accessed from the VM.

Although you were able to connect to the Hyper-V server, make a new profile and select the VM, the connection to the virtual machine may still fail if:

  • Make sure there is a TCP/IP network connection between Hyper-V host machine and the client VM.
  • Check the setting of your Hyper-V VM and make sure you have Standard Checkpoint option set and all the Integration Services options set (Hearthbeat and Data Exchange are mandatory); also check on your client VM and make sure that the Hyper-V Integration Services are running.
  • Make sure you create a checkpoint of the VM where the user is already logged in and where AI Remote Tools are already installed - get the osprovision.exe from C:\Program Files (x86)\Caphyon\Advanced Installer 21.7.1\bin (host machine) and install them on the VM; use this checkpoint to run repackaging operations. The path to the osprovision.exe may be subject to version installed on the host machine.
  • Before creating a checkpoint make sure you have Windows OS update to date; this will prevent background updates from running silently when the VM is powered on to run repackaging operations.
  • At repackaging time if you get any Repackager errors when connecting to VM, then please manually open the VM from Hyper-V Manager and make sure you have successfully logged in the VM.

How can I specify the share user to be used for VM connection?

In the vm profile you can specify the user from the Host OS to be used for sharing. Ensure this username already exists on the Host OS before establishing the connection with the Repackager. The user will be used for sharing mechanism between the Host and Guest OS.

Vm profile options

Whyo do I receive "Cannot connect to virtualization server" error when the Repackager tries to connect to a VMware workstation?

There are some cases when our Repackager fails to connect to a WMware workstation, the user getting "Cannot connect to virtualization server" error message.

This issue could be triggered by a problem with the VIX config file:

C:\Program Files (x86)\VMware\VMware VIX\vixwrapper-config.txt

The user should check for a valid VIX configuration. For example, let's suppose the user has the workstation version 15.5.0. The config file should also contain the following lines:

# Workstation 15.5.0
ws        19  vmdb  15.5.0 Workstation-15.0.0
player    19  vmdb  15.5.0 Workstation-15.0.0
            

Important"Workstation-15.0.0" entry of the above config file should be a valid subfolder of "C:\Program Files (x86)\VMware\VMware VIX\" folder. This should not be changed to "Workstation-15.5.0" unless it exists in the folder.