[Libguestfs] Virt-win-reg gives weird error
Richard W.M. Jones
rjones at redhat.com
Tue Apr 11 17:37:24 UTC 2017
On Tue, Apr 11, 2017 at 02:12:26PM +0300, Keresztes Péter-Zoltán wrote:
> Hello,
>
> I have just compiled the libguestfs version 1.34.2.
>
> When I run virt-win-reg vm-1051-disk-1.qcow2 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce' "Test"="c:\\Users\Administrator\test.bat” I get the following error:
>
> Can't exec "hivexget": No such file or directory at /usr/local/bin/virt-win-reg line 351.
> hivexget failed: -1 at /usr/local/bin/virt-win-reg line 351.
>
> Any idea how to fix it?
Yup, you need to install that program in order to export single keys.
It should be a dependency of virt-win-reg, assuming you installed it
from a distro package. If not then it's part of the hivex package.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
More information about the Libguestfs
mailing list