On Fri, Jan 18, 2019 at 11:35:44AM -0700, JD wrote:
Hello Richard, I was referred to the utility hivexregedit by a member of the ntfs-3g-devel newsgroup.
I have a quick question about this util.
I have a failed HD of Windows 7, and I want to reinstall Win 7 on a new drive using the same COA key, which I do not have saved anywhere.
I used testdisk to back up the unmountable win7 install partition. Testdisk copied all the files that it could to my linux HD.
Question:
How do I use the utility to show the COA key?
If the key is contained in the Windows Registry, then hivexregedit should be able to display it (you might want to look at ‘virt-win-reg’ however since it wraps hivex so that it can be used directly against a disk image). However, I'm afraid I've no idea if the "COA key" is in the registry, or what is the name of the registry key. Perhaps someone on the libguestfs mailing list will know, but in any case that's not really a hivex question, more of a Windows question. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html