I am looking for a Python API (or a C API as I am willing to bind) for editing Windows registries from XP to 7 from within a Linux system.
The Windows target will be
I think you are out of luck, as I couldn't find any such lib. when I need such thing some years back(to change a windows image file). Also writing it yourself isn't easy and I also couldn't find any MS document describing the format.
here are some links which come up in google search and describe format partially http://www.sentinelchicken.com/research/registry_format/ http://home.eunet.no/pnordahl/ntpasswd/WinReg.txt