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 a mounted volume under Linux.
I would be willing to code a library if none exists. Therefore, any docs or internals on the registry would be handy too.
Any help, much appriciated.
OK, so you're after a hive file editor?
I wrote a winregistry
module that does this (for both NT and win9x hives). It's not really ready for the public but worked quite well with the data I was using at the time. I'm not sure what state I left it in and I haven't tested it with Win7 hives, but maybe we could get it fixed up for release? If you're interested I could probably dump it in a source control somewhere to work on.
The document I worked from was ntpasswd's well-known WinReg.txt, however I found many flaws in it (can also chuck you my annotations on that). Since then these documents have been produced, which at first glance may cover matters better.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With