Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
Multiple bugs here, with a surprise (a way to get it to work -- kind of):
- disk2vhd.exe (32-bit), when executed on a 64-bit machine, contains bugs that don't allow it to auto-identify the path of the disk2vhd64.exe (64-bit) binary. Someone's argv parsing code is broken, as it should be as easy as removing the application .exe off the full invocation pathname and replacing it with disk2vhd64.exe (ideally users will keep the executables in the same directory as each other; this is a safe assumption)
- "disk2vhd64.exe C: E:\Backup\test.vhd" fails due to what again appears to be broken argv parsing code. The same goes if using .vhdx file extension. However...
- "disk2vhd64.exe -s C: E:\Backup\test.vhd" WILL work (really!) -- but according to the usage documentation and the GUI when launched, this DISABLES use of VSS, which is a serious problem. The fact this works seems to imply, again, that someone's argv parser is broken
- "disk2vhd64.exe -s C:\ E:\Backup\test.vhdx" -- note the trailing slash on the C: drive path -- will fail. Again, poor argv parsing...
- disk2vhd.chm is completely outdated; there are flags that the actual executables support that are not mentioned in this help file
It's very disappointing how both neglected and broken this utility is. If only it was open-source, someone could come along and submit a PR for it easily...