StarWind V2V Converter Help : Using configuration file

To use StarWind V2V converted with command line by specifying a path to the configuration file (.cfg) with required commands and parameters, the "-c" argument should be used and path to the configuration file should be specified next to it.

NOTE: By default, the V2V_ConverterConsole.exe is located in the "C:\Program Files\StarWind Software\StarWind V2V Converter" folder. It is recommended to open the Command Prompt with Administrative Privileges.

By default the command line with a specified configuration file should look like below:

"C:\Program Files\StarWind Software\StarWind V2V Converter>V2V_ConsoleConverter.exe" -c "C:\Program Files\StarWind Software\StarWind V2V Converter\V2V_ConverterConsole.cfg"


Parameters for convert command:

in_host_type=<esx/win/local>, default value - local

in_host_address=<ip address/hostname/localhost>, default value - localhost

in_host_port=<port number> (default for esx - 443, for windows - not used)

in_host_username=<username>, default - empty

in_host_password=<password>, default - empty


in_file_name=<path to file on server/physical disk name/logical volume name>


out_host_type=<esx/win/local>, default value - local

out_host_address=<ip address/hostname/localhost>, default value - localhost

out_host_port=<port number> (default for esx - 443, for windows - not used)

out_host_username=<username>, default - empty

out_host_password=<password>, default - empty

out_vm_name=<vm name to disk attach>, required parameter for ESXi


out_file_name=<path to file on server>

out_file_type=<file type>


File types:

ft_vhd_thin - MS VHD thin-provisioned;

ft_vhd_thick  - MS VHD thick-provisioned;

ft_vhdx_thin  - MS VHDX thin-provisioned;

ft_vhdx_thick - MS VHDX thick-provisioned;

ft_vmdk_ws_thin - VMDK thin-provisioned for VMware Workstation;

ft_vmdk_ws_thick - VMDK thick-provisioned for VMware Workstation;

ft_vmdk_esx_thin - VMDK thin-provisioned for VMware ESXi Server;

ft_vmdk_esx - VMDK thick-provisioned for VMware ESXi Server;

ft_vmdk_so -  VMDK stream-optimized;

ft_raw - RAW image;

ft_qcow2 - QCOW2 virtual disk.


There are also some templates to make the creation of the configuration file easier. The parameters are the same as described above:


#Convert local vhd to local vhdx file:

in_host_type=local

in_host_address=localhost

in_host_port=443

in_host_username=

in_host_password=

in_file_name=F:\Virtual-Disk.vhd

out_host_type=local

out_host_address=localhost

out_host_port=443

out_host_username=

out_host_password=

out_file_name=F:\outDisk\V2V-WS19-GUI.vhdx

out_file_type=ft_vhdx_thin

out_vm_name=None

#Convert remote vmdk to remote vmdk VM:

in_host_type=esx

in_host_address=172.16.10.10

in_host_port=443

in_host_username=username

in_host_password=Password123

in_file_name=[ESX_DS3_RAID10] VM-ESXi-Prod-Dev-07.vmdk

out_host_type=esx

out_host_address=172.16.10.20

out_host_port=443

out_host_username=username

out_host_password=Password123

out_file_name=[ESX_DS5_SW] VM-ESXi-Prod-Dev-17.vmdk

out_file_type=ft_vmdk_esx_thin

out_vm_name=VM-ESXi-Prod-Dev-17

#Convert remote vhdx to remote vhdx file:

in_host_type=win

in_host_address=172.16.20.10

in_host_port=443

in_host_username=.\admin

in_host_password=Password123

in_file_name=E:\Virtual Hard Disks+MyDisk-1+.vhdx

out_host_type=win

out_host_address=172.16.0.240

out_host_port=443

out_host_username=.\admin

out_host_password=Password123

out_file_name=E:\Virtual Hard Disks\MyDisk-2.vhdx

out_file_type=ft_vhdx_thin

out_vm_name=None

#Convert local physical disk 0 to remote esx VM:

in_file_name=\\?\PhysicalDrive0

out_host_type=esx

out_host_address=172.16.10.10

out_host_username=username

out_vm_name=NameVM

out_file_type=ft_vmdk_esx_thin

out_host_password=Password123

out_file_name=[V2V_70-181-HDD] NameVM/NameVM-Disk-01.vmdk