Bug 737944 - virt-win-reg hyphen (delete key) syntax may be wrong, and is not documented
virt-win-reg hyphen (delete key) syntax may be wrong, and is not documented
Status: CLOSED UPSTREAM
Product: Virtualization Tools
Classification: Community
Component: libguestfs (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Richard W.M. Jones
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-13 09:05 EDT by Richard W.M. Jones
Modified: 2011-10-22 11:00 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-10-22 11:00:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Richard W.M. Jones 2011-09-13 09:05:17 EDT
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 09:06:27 EDT
See also:
https://secure.wikimedia.org/wikipedia/en/wiki/Windows_Registry#.REG_files
Comment 2 Richard W.M. Jones 2011-09-13 09:09:45 EDT
Example of what traxmac was trying:
https://bugzilla.redhat.com/attachment.cgi?id=522891
Comment 3 Richard W.M. Jones 2011-10-22 11:00:41 EDT
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.