Re: Changing Remote Registry

2009-08-12 Thread Gabriel Genellina
En Mon, 10 Aug 2009 09:47:19 -0300, Kevin Holleran kdaw...@gmail.com escribió: On Fri, Aug 7, 2009 at 2:08 PM, Tim Golden m...@timgolden.me.uk wrote: Kevin Holleran wrote: hKey = _winreg.OpenKey (keyPath, path, 0, _winreg.KEY_SET_VALUE) value,type = _winreg.QueryValueEx(hKey, item) if (value

Re: Changing Remote Registry

2009-08-10 Thread Kevin Holleran
On Fri, Aug 7, 2009 at 2:08 PM, Tim Golden m...@timgolden.me.uk wrote: Kevin Holleran wrote: Long story short, I am using _winreg to do this. hKey = _winreg.OpenKey (keyPath, path, 0, _winreg.KEY_SET_VALUE) value,type = _winreg.QueryValueEx(hKey, item) if (value == wrongValue):

Changing Remote Registry

2009-08-07 Thread Kevin Holleran
Good morning, I fear the answer to this is that I just cannot do this I wrote a python script that goes out to a bunch of remote machines and queries the registry for some values. Effectively, there have been some software upgrades that have been done as the need arose but we need to do

Re: Changing Remote Registry

2009-08-07 Thread MRAB
Kevin Holleran wrote: Good morning, I fear the answer to this is that I just cannot do this I wrote a python script that goes out to a bunch of remote machines and queries the registry for some values. Effectively, there have been some software upgrades that have been done as the need

RE: Changing Remote Registry

2009-08-07 Thread Kevin Holleran
Good morning, I fear the answer to this is that I just cannot do this I wrote a python script that goes out to a bunch of remote machines and queries the registry for some values. Effectively, there have been some software upgrades that have been done as the need arose but we need to

Re: Changing Remote Registry

2009-08-07 Thread MRAB
Kevin Holleran wrote: On Fri, Aug 7, 2009 at 10:11 AM, MRAB pyt...@mrabarnett.plus.com mailto:pyt...@mrabarnett.plus.com wrote: Kevin Holleran wrote: Good morning, I fear the answer to this is that I just cannot do this I wrote a python script that goes out

Re: Changing Remote Registry

2009-08-07 Thread Kevin Holleran
On Fri, Aug 7, 2009 at 10:46 AM, MRAB pyt...@mrabarnett.plus.com wrote: Kevin Holleran wrote: On Fri, Aug 7, 2009 at 10:11 AM, MRAB pyt...@mrabarnett.plus.commailto: pyt...@mrabarnett.plus.com wrote: Kevin Holleran wrote: Good morning, I fear the answer to this is

Re: Changing Remote Registry

2009-08-07 Thread MRAB
Kevin Holleran wrote: On Fri, Aug 7, 2009 at 10:46 AM, MRAB pyt...@mrabarnett.plus.com mailto:pyt...@mrabarnett.plus.com wrote: Kevin Holleran wrote: On Fri, Aug 7, 2009 at 10:11 AM, MRAB pyt...@mrabarnett.plus.com mailto:pyt...@mrabarnett.plus.com

Re: Changing Remote Registry

2009-08-07 Thread Tim Golden
Kevin Holleran wrote: Long story short, I am using _winreg to do this. hKey = _winreg.OpenKey (keyPath, path, 0, _winreg.KEY_SET_VALUE) value,type = _winreg.QueryValueEx(hKey, item) if (value == wrongValue): _winreg.SetValue(hKey,'',_winreg.REG_SZ,correctValue) When I do this I receive