Need help for cmd disk to Vhdx

VM image converter (VMDK, VHD, VHDX, IMG, RAW, QCOW and QCOW2), P2V migrator

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Post Reply
badak
Posts: 4
Joined: Thu Dec 24, 2020 8:19 am

Thu Dec 24, 2020 8:22 am

Hi everyone

i try to create a commande line for convert a windows physical disk to a simple VHDX file on my USB disk, someone can help me and give some samples ?

thank you
yaroslav (staff)
Staff
Posts: 2340
Joined: Mon Nov 18, 2019 11:11 am

Thu Dec 24, 2020 8:54 am

Hi,

Welcome to StarWind Forum. I have no samples, but here is a help page that might be helpful https://www.starwindsoftware.com/v2v-he ... rface.html.
badak
Posts: 4
Joined: Thu Dec 24, 2020 8:19 am

Thu Dec 24, 2020 9:22 am

Thank you for your answer but of course i have already checked the help page.
yaroslav (staff)
Staff
Posts: 2340
Joined: Mon Nov 18, 2019 11:11 am

Thu Dec 24, 2020 9:55 am

Try V2V_ConverterConsole.exe convert in_file_name="\\?\PhysicalDisk1" out_file_name="d:\disk.vhdx" out_file_type=ft_vhdx_thick
badak
Posts: 4
Joined: Thu Dec 24, 2020 8:19 am

Thu Dec 24, 2020 10:14 am

unfortunately, i have always the same error on 2 different computers "Error create input image 25" ........... :-( some idea ?

C:\Program Files\StarWind Software\StarWind V2V Converter>V2V_ConverterConsole.exe convert in_file_name="\\?\PhysicalDisk0" out_file_name="e:\disk.vhdx" out_file_type=ft_vhdx_thick
Opening log file 'logs\V2VConsole_Log-20201224-111341.log'.
Error create input image 25

***********
The log file name: 'logs\V2VConsole_Log-20201224-111341.log' (PID 3608)
12/24 11:13:41.704 235c Facility ???INFO: main: SetDllDirectory: C:\Program Files\StarWind Software\StarWind V2V Converter\lib
12/24 11:13:41.708 235c Facility ???INFO: main: File Version: 9.0.0.202
12/24 11:13:41.708 235c Facility ???INFO: RunConsole: Version MajorVersion 10, MinorVersion 0, BuildNumber 19042
12/24 11:13:41.708 235c Facility ???INFO: RunConsole: V2V_ConverterConsole.exe convert in_file_name="\\?\PhysicalDisk0" out_file_name="e:\disk.vhdx" out_file_type=ft_vhdx_thick
12/24 11:13:41.709 235c Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: in_file_name=\\?\PhysicalDisk0
12/24 11:13:41.709 235c Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: out_file_name=e:\disk.vhdx
12/24 11:13:41.709 235c Facility ???INFO: CCommandLineManager::AddParametersForConvertCommand: out_file_type=ft_vhdx_thick
12/24 11:13:41.720 235c Facility ???WARNING: LocalDisk::CreateInputImage: Extension -
12/24 11:13:41.722 235c Facility ???ERROR: RunConsole: Error create input image - 25
***********
yaroslav (staff)
Staff
Posts: 2340
Joined: Mon Nov 18, 2019 11:11 am

Thu Dec 24, 2020 11:57 am

Greetings,

That was a sample command. Please make sure to put the right variables (i.e., disk name and disk path) into it.
You can also try conversion through GUI.
badak
Posts: 4
Joined: Thu Dec 24, 2020 8:19 am

Sat Dec 26, 2020 9:43 am

ok i found, error was in the disk name, sorry for this...
thank you very much :)
yaroslav (staff)
Staff
Posts: 2340
Joined: Mon Nov 18, 2019 11:11 am

Sat Dec 26, 2020 4:30 pm

You are always welcome :)
Post Reply