From 21a4cf7ef54a8598126f39023a51ef43415679dc Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Sat, 22 Oct 2011 15:55:48 +0100 Subject: [PATCH] virt-win-reg: Document syntax for deleting keys and values (RHBZ#737944). NB: This requires hivex >= 1.3.2 before this syntax becomes true. --- tools/virt-win-reg | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 -- 1.8.3.1