Bug 737944

Summary: virt-win-reg hyphen (delete key) syntax may be wrong, and is not documented
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: grant_williamson, mbooth, virt-maint, walicki
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-22 15:00:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Richard W.M. Jones 2011-09-13 13:05:17 UTC
Description of problem:

There are two connected issues.  (1) It may be that the
hyphen syntax we use to delete registry keys may in
fact be wrong.  We need to compare this to what Windows
registry tools actually do.  See also:

http://support.microsoft.com/kb/310516

(2) We don't document the regedit format that we accept
anywhere in manual pages.

Version-Release number of selected component (if applicable):

1.13.11

Additional info:

Issue raised by traxmac @ IRC.

Comment 1 Richard W.M. Jones 2011-09-13 13:06:27 UTC
See also:
https://secure.wikimedia.org/wikipedia/en/wiki/Windows_Registry#.REG_files

Comment 2 Richard W.M. Jones 2011-09-13 13:09:45 UTC
Example of what traxmac was trying:
https://bugzilla.redhat.com/attachment.cgi?id=522891

Comment 3 Richard W.M. Jones 2011-10-22 15:00:41 UTC
Our syntax for deleting keys and values was wrong.  I've
pushed commits to hivex and libguestfs that fix it:

http://git.annexia.org/?p=hivex.git;a=commitdiff;h=855df874403b11ea426c5c6fa708e52ab0b2f042
http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=21a4cf7ef54a8598126f39023a51ef43415679dc