virt-win-reg: get at the Windows Registry in your Windows guests

This is now in libguestfs git and will appear in version 1.0.75 in Fedora shortly.

 $ virt-win-reg MyWinGuest \
   '\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion' \
 Microsoft Windows Server 2003

 $ virt-win-reg MyWinGuest \
   '\HKEY_LOCAL_MACHINE\System\ControlSet001\Control' \

 $ virt-win-reg MyWinGuest \


Filed under Uncategorized

4 responses to “virt-win-reg: get at the Windows Registry in your Windows guests

  1. Kenni Lund

    Nice work rich, do you have any plans on supporting import of .reg files?

    Such a functionality would be a huge help in converting physical Windows machines into virtual machines, without requiring the physical machine to be accessible (which for example is not the case with a dead motherboard).

    This would allow you to just dump the entire physical HDD into a image with dd and then afterwards perform the required procedures with libguestfs to make it bootable, for example:

    The only current alternative I know of, is to manually extract the registry database of the dead disk and “mount” this database into the registry database of another working Windows installation, perform the required changes, unmount it and move it back to the disk/image, after which you can boot it virtually.

    Best Regards

  2. Pingback: virt-inspector now works better with Windows guests « Richard WM Jones

  3. Pingback: GLLUG talk on libguestfs (18th March 2010) « Richard WM Jones

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s