Python Forum

Full Version: [Python3.X] [Windows] Remote Registry Access (like WMI or other)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am facing to a problem, there aren't many sources on the web...

I want to access to the Windows registry of a remote machine. I use the winreg module, but it seems that it doesn't support Active Directory domains.

I found the wmi module, but I don't think it can be very useful.

Have you any idea to gain access to the registry of a remote computer ? Thanks :)

Regards (and sorry for my poor english, I am a f*ckin' french)

Here is my code :
have you tried:
rem_reg = ConnectRegistry("remotename", HKEY_LOCAL_MACHINE)
rem_reg.OpenKey( ...
see: https://docs.python.org/2/library/_winreg.html