Re: [python-win32] unusual network load when querying a remote registry over wmi

2010-02-07 Thread Eli Sandler
I'm sorry that I have been misunderstood. As the conversation goes on (the for loop in the code) the list of keys in the query sent to the remote computers grows in length. I would expect that each query will contain only one key (the key I query about), but it seems to aggregate all the previou

Re: [python-win32] unusual network load when querying a remote registry over wmi

2010-02-04 Thread Eli Sandler
> However I can't see any particular reason why each new query should > contain > all the previous ones. Can you show an example of your network trace? > > TJG Here a sample of the captured stream, from somewhere at the relative beginning. %.. ..'`...=.W5.#M..Y.

[python-win32] unusual network load when querying a remote registry over wmi

2010-02-04 Thread Eli Sandler
Hi, I have a curious problem. I use Tim Golden’s module for WMI, and I use the ‘StdRegProv’ to query a remote registry over WMI. I get an unusual network load for this procedure. Using a packet capture, I saw that each new query contains all the previous ones. Do I use the module in a wro

[python-win32] Problems retrieving SACL of registry key from remote machine

2009-12-23 Thread Eli Sandler
Hi, I have a problem retrieving SACL of a registry key from a remote machine. It fails with the exception: (14, 'RegGetKeySecurity', 'Not enough storage is available to complete this operation.') Here is the code snippet: logon_type = win32security.LOGON32_LOGON_INTERACTIVE default_provi