Page 1 of 1

bulk convert vhd to vmkd

Posted: Mon Feb 15, 2016 12:20 pm
by victorovermars
Hello,
I have a stupid question, but not asking is even more stupid.

I would like to know if anyone has any experience converting vhd volumes to vmdk volumes using the cli.
I have several vhd files I would like to convert to vmdk files.
I'm using the commands below but I don't know how to run them in a batch.

StarV2V.exe if=g:\virtvol1.vhd ot=vmdk_f of=h:\virtvol1.vmdk vmdktype=scsi
StarV2V.exe if=g:\virtvol2.vhd ot=vmdk_f of=h:\virtvol2.vmdk vmdktype=scsi
StarV2V.exe if=g:\virtvol3.vhd ot=vmdk_f of=h:\virtvol3.vmdk vmdktype=scsi

How do I run these lines in a batch. Are the commands I use correct?

Re: bulk convert vhd to vmkd

Posted: Tue Feb 23, 2016 11:46 am
by Vladislav (Staff)
Hi Victor.

You should use console version instead (not StarV2V.exe but StarV2Vc.exe) :)

Just create a .bat file and run it.

Should look something like this:

Code: Select all

C:\Program Files (x86)\StarWind Software\StarWind V2V Image Converter\StarV2Vc.exe if=g:\virtvol1.vhd ot=vmdk_f of=h:\virtvol1.vmdk vmdktype=scsi
C:\Program Files (x86)\StarWind Software\StarWind V2V Image Converter\StarV2Vc.exe if=g:\virtvol2.vhd ot=vmdk_f of=h:\virtvol2.vmdk vmdktype=scsi
C:\Program Files (x86)\StarWind Software\StarWind V2V Image Converter\StarV2Vc.exe if=g:\virtvol3.vhd ot=vmdk_f of=h:\virtvol3.vmdk vmdktype=scsi
I hope it helps :)