[virt-tools-list] "problem" with virt-win-reg

Kenneth Armstrong digimars at gmail.com
Wed Nov 3 18:08:10 UTC 2010


I have a Windows 7 VM that I have exported to an NFS share.  Running
virt-win-reg against it using the following command, I get the
following error (I'm attempting to get the hostname of the server from
the registry):

# virt-win-reg exportedVM
'HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Computername'
ActiveComputerName
hivexsh: cd: subkey 'CurrentControlSet' not found
hivexget failed: 256 at /usr/bin/virt-win-reg line 321.

However, if I grep for CurrentControlSet, it seems to find it just fine:

virt-win-reg exportedVM 'HKEY_LOCAL_MACHINE\SYSTEM\' | grep CurrentControlSet
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware
Profiles\0001\System\CurrentControlSet]
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Hardware
Profiles\0001\System\CurrentControlSet\Control]

..etc...

Am I missing something?

Thanks.

-Kenny




More information about the virt-tools-list mailing list