Re: Changing Remote Registry

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

Re: Changing Remote Registry

2009-08-10 Thread Kevin Holleran
On Fri, Aug 7, 2009 at 2:08 PM, Tim Golden 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): >> _winreg.Set

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

Re: Changing Remote Registry

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

Re: Changing Remote Registry

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

Re: Changing Remote Registry

2009-08-07 Thread MRAB
Kevin Holleran wrote: On Fri, Aug 7, 2009 at 10:11 AM, MRAB > 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 to a bunch of remote

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 b

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 ar

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 them