Re: Is there a way to programmatically turn on remote registry?

2012-10-24 Thread Kevin Holleran
On Tue, Oct 23, 2012 at 11:44 AM, Kevin Holleran kdaw...@gmail.com wrote: On Tue, Oct 23, 2012 at 11:39 AM, Tim Golden m...@timgolden.me.uk wrote: On 23/10/2012 16:17, Kevin Holleran wrote: I am still having a small implementation problem [code] HKLM = winreg.HKEY_LOCAL_MACHINE

Re: Is there a way to programmatically turn on remote registry?

2012-10-24 Thread Tim Golden
On 24/10/2012 12:40, Kevin Holleran wrote: Here is the full traceback: [output] Scan_NIC_Driver_Info_1.2.py http://Scan_NIC_Driver_Info_1.2.py -i testing_MSK_Server.csv -o MSK_Test_output.csv -u unreachable.csv Parsing input file... Connecting to IP... Traceback (most recent call last):

Re: Is there a way to programmatically turn on remote registry?

2012-10-24 Thread Kevin Holleran
On Wed, Oct 24, 2012 at 7:51 AM, Tim Golden m...@timgolden.me.uk wrote: On 24/10/2012 12:40, Kevin Holleran wrote: Here is the full traceback: Could you confirm what version of Windows is running on the remote machine? Also, could you show the output of the following, please: code import

Re: Is there a way to programmatically turn on remote registry?

2012-10-24 Thread Tim Golden
On 24/10/2012 13:36, Kevin Holleran wrote: Here is the output as you requested. Again thanks for your time help. I hate monopolizing one person's time so much Heh. Everyone else is welcome to chip in :) Ok, try specifying the parameter names. (I remember someone having problems before

Re: Is there a way to programmatically turn on remote registry?

2012-10-24 Thread Kevin Holleran
On Wed, Oct 24, 2012 at 9:11 AM, Tim Golden m...@timgolden.me.uk wrote: On 24/10/2012 13:36, Kevin Holleran wrote: Here is the output as you requested. Again thanks for your time help. I hate monopolizing one person's time so much Heh. Everyone else is welcome to chip in :) Ok,

Re: Is there a way to programmatically turn on remote registry?

2012-10-24 Thread Tim Golden
On 24/10/2012 14:26, Kevin Holleran wrote: On Wed, Oct 24, 2012 at 9:11 AM, Tim Golden m...@timgolden.me.uk Ok, try specifying the parameter names. (I remember someone having problems before caused by mismatched param order): OK, tried that as well as specifying the parameters

Re: Is there a way to programmatically turn on remote registry?

2012-10-23 Thread Tim Golden
On 22/10/2012 21:01, Kevin Holleran wrote: Tim, I am looking here: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BF9F6FB0-C999-4D19-BED0-144F77E2A9D6} Enumerating the keys for a BusType == 5, then grabbing the values of DriverDesc, DriverDate, DriverVersion. So I am doing

Re: Is there a way to programmatically turn on remote registry?

2012-10-23 Thread Kevin Holleran
Tim, I am re-implementing in my script now. I'll let you know how it goes... I just realized that the key that I sent over was completely wrong I am not sure how I even got it as it is the combination of two different keys from two different scripts... must have been working too long and

Re: Is there a way to programmatically turn on remote registry?

2012-10-22 Thread Kevin Holleran
Back at it this morning. The RPC was due to needing to run it under another account (or so I think now...). However, the RemoteRegistry service is not just STOPPED but DISABLED. I am trying to see if there is a call to actually set the state to MANUAL. Then I can star the registry, grab what I

Re: Is there a way to programmatically turn on remote registry?

2012-10-22 Thread Tim Golden
On 22/10/2012 15:51, Kevin Holleran wrote: Back at it this morning. The RPC was due to needing to run it under another account (or so I think now...). However, the RemoteRegistry service is not just STOPPED but DISABLED. I am trying to see if there is a call to actually set the state to

Re: Is there a way to programmatically turn on remote registry?

2012-10-22 Thread Kevin Holleran
Thanks, I will look into that. WMI is enabled, but everything WMI query I wrote ( I am NOT a WMI expert or even close) gave me a bunch of NIC info, but not the info I am after in the registry (driver description, driver date, driver version for the NICs). Thanks for your help. Kevin On

Re: Is there a way to programmatically turn on remote registry?

2012-10-22 Thread Tim Golden
On 22/10/2012 16:38, Kevin Holleran wrote: Thanks, I will look into that. WMI is enabled, but everything WMI query I wrote ( I am NOT a WMI expert or even close) gave me a bunch of NIC info, but not the info I am after in the registry (driver description, driver date, driver version for the

Re: Is there a way to programmatically turn on remote registry?

2012-10-22 Thread Kevin Holleran
Tim, I am looking here: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BF9F6FB0-C999-4D19-BED0-144F77E2A9D6} Enumerating the keys for a BusType == 5, then grabbing the values of DriverDesc, DriverDate, DriverVersion. So I am doing this: try: hKey = _winreg.OpenKey

Is there a way to programmatically turn on remote registry?

2012-10-19 Thread Kevin Holleran
Hi, I have written a script to poll some registry values but remote registry is turned off through GPO on the network I need to run it against. The account running the script is an admin on these boxes. Is there a way for me to turn on remote registry for the duration of the script's runtime?

RE: Is there a way to programmatically turn on remote registry?

2012-10-19 Thread Prasad, Ramit
Kevin Holleran wrote: Hi, I have written a script to poll some registry values but remote registry is turned off through GPO on the network I need to run it against.  The account running the script is an admin on these boxes.  Is there a way for me to turn on remote registry for the

Re: Is there a way to programmatically turn on remote registry?

2012-10-19 Thread Kevin Holleran
Thanks! I think this is getting me on the right track. Now when I attempt to start the RemoteRegistry service I am getting an exception The RPC server is unavailable. However, I am done with this for today so back at it on Monday. Thanks for your help. Kevin On Fri, Oct 19, 2012 at 4:18 PM,