Bug 737944 - virt-win-reg hyphen (delete key) syntax may be wrong, and is not documented
Summary: virt-win-reg hyphen (delete key) syntax may be wrong, and is not documented
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-09-13 13:05 UTC by Richard W.M. Jones
Modified: 2011-10-22 15:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-10-22 15:00:41 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.