R
R
Rishat Sultanov2017-08-29 12:10:06
linux
Rishat Sultanov, 2017-08-29 12:10:06

How to work with windows registry from under Linux?

Good afternoon!
There is such a task to work with the Windows registry for informational purposes.
Now I decided to use Python 3.5 to work with the registry. But since I work from under Linux, I had to install VirtualBox and pulled Win XP there.
Now it is asked. To work with the registry on a virtual machine, I need to do this from under windows xp, or you can directly use the Windows registry from under linux and use python on linux.
Or is there a better way to work?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
longclaps, 2017-08-29
@rishatss

Python works with the registry via WinAPI. Of course, you can raise WinAPI on Linux (this is Wine), but WinAPI will support only one registry - its own, it will not get into the guest Windows. Yes, and a python with access to the Wine registry should be running under Wine))).
So - only from guest Windows.

R
retspen, 2017-09-07
@retspen

Here's another really hardcore solution.
https://github.com/libguestfs/hivex

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question