From: Richard W.M. Jones Date: Sat, 22 Oct 2011 14:55:48 +0000 (+0100) Subject: virt-win-reg: Document syntax for deleting keys and values (RHBZ#737944). X-Git-Tag: 1.13.24~3 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=21a4cf7ef54a8598126f39023a51ef43415679dc;p=libguestfs.git virt-win-reg: Document syntax for deleting keys and values (RHBZ#737944). NB: This requires hivex >= 1.3.2 before this syntax becomes true. --- diff --git a/tools/virt-win-reg b/tools/virt-win-reg index c9597e7..1063617 100755 --- a/tools/virt-win-reg +++ b/tools/virt-win-reg @@ -640,6 +640,17 @@ to find out is to look at the C key: Similarly, other C 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