summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2011-10-22 15:55:48 +0100
committerRichard W.M. Jones <rjones@redhat.com>2011-10-22 15:55:48 +0100
commit21a4cf7ef54a8598126f39023a51ef43415679dc (patch)
treedff9795b44348b2302f5715e6e044296e5410815 /tools
parente192035bbd6f80262f60565e0a91588848f2a4e3 (diff)
downloadlibguestfs-21a4cf7ef54a8598126f39023a51ef43415679dc.tar.gz
libguestfs-21a4cf7ef54a8598126f39023a51ef43415679dc.tar.xz
libguestfs-21a4cf7ef54a8598126f39023a51ef43415679dc.zip
virt-win-reg: Document syntax for deleting keys and values (RHBZ#737944).
NB: This requires hivex >= 1.3.2 before this syntax becomes true.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/virt-win-reg11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/virt-win-reg b/tools/virt-win-reg
index c9597e7f..10636172 100755
--- a/tools/virt-win-reg
+++ b/tools/virt-win-reg
@@ -640,6 +640,17 @@ to find out is to look at the C<HKLM\SYSTEM\Select> key:
Similarly, other C<Current...> keys in the path may need to
be replaced.
+=head1 DELETING REGISTRY KEYS AND VALUES
+
+To delete a whole registry key, use the syntax:
+
+ [-HKEY_LOCAL_MACHINE\Foo]
+
+To delete a single value within a key, use the syntax:
+
+ [HKEY_LOCAL_MACHINE\Foo]
+ "Value"=-
+
=head1 WINDOWS TIPS
Note that some of these tips modify the guest disk image. The guest