[python-win32] Accessing a Remote Registry....

Tim Golden mail at timgolden.me.uk
Thu Sep 22 14:05:59 CEST 2011


Not that it isn't a useful answer, but the original question
was posed back in April 2008!

   http://mail.python.org/pipermail/python-win32/2008-April/007327.html

TJG

On 22/09/2011 12:54, kirancnair wrote:
>
> You can do something like this:
>
> <code>
> import _winreg
> import wmi
> c = wmi.WMI(computer="XXX.XXX.XXX.XXX", user="devuser",
> password="devpass1!",namespace="root/default").StdRegProv
>
>
> result, names = c.EnumKey (
>    hDefKey=_winreg.HKEY_LOCAL_MACHINE,
>    sSubKeyName="SYSTEM\ControlSet001\Services\MRxDAV"
> )
>
> for item in names:
>      print item
> </code>
>
>
> Tom Moulton-2 wrote:
>>
>> I have found many references to accessing a registry remotely;

[...]




More information about the python-win32 mailing list