Re: [python-win32] Walking the registry and creating reg files

2008-12-08 Thread Tim Roberts
Dahlstrom, Roger wrote: OK - so if I'm correct in understanding this, let's say hypothetically, I have something like so... HKLM... something something else something else something else If I were to use my operation, and export

Re: [python-win32] Walking the registry and creating reg files

2008-12-05 Thread Tim Golden
Mike Driscoll wrote: We're doing what amounts to a registry session audit here at work, so I need to walk a specific set of subfolders in our registry and get the contents thereof. The subfolders will vary from user to user. I found Tim Golden's excellent registry walking script on his website

Re: [python-win32] Walking the registry and creating reg files

2008-12-05 Thread Mike Driscoll
Tim Roberts wrote: Mike Driscoll wrote: We're doing what amounts to a registry session audit here at work, so I need to walk a specific set of subfolders in our registry and get the contents thereof. The subfolders will vary from user to user. I found Tim Golden's excellent registry walking

Re: [python-win32] Walking the registry and creating reg files

2008-12-05 Thread Tim Golden
Dahlstrom, Roger wrote: If you can read the registry, you can save it without any other special permissions. It is just text. Just export a branch of your own registry and open it with notepad to see the format. I do it all the time, it works fine. You're quite right, Roger, and other

Re: [python-win32] Walking the registry and creating reg files

2008-12-05 Thread Mike Driscoll
Tim Golden wrote: div class=moz-text-flowed style=font-family: -moz-fixedDahlstrom, Roger wrote: If you can read the registry, you can save it without any other special permissions. It is just text. Just export a branch of your own registry and open it with notepad to see the format. I do

Re: [python-win32] Walking the registry and creating reg files

2008-12-05 Thread Dahlstrom, Roger
PROTECTED] On Behalf Of Tim Roberts Sent: Friday, December 05, 2008 12:44 PM To: Python-Win32 List Subject: Re: [python-win32] Walking the registry and creating reg files Dahlstrom, Roger wrote: If you can read the registry, you can save it without any other special permissions. It is just text

Re: [python-win32] Walking the registry and creating reg files

2008-12-05 Thread Tim Roberts
Dahlstrom, Roger wrote: ... Basically what I'm saying is not that you need *no* permissions, just that you don't need any *special* permissions - if you have permission to read it and enumerate the subkeys, that is (at least in my experience, maybe I'm not doing exactly what the request

Re: [python-win32] Walking the registry and creating reg files

2008-12-05 Thread Dahlstrom, Roger
for that. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Friday, December 05, 2008 1:20 PM To: Python-Win32 List Subject: Re: [python-win32] Walking the registry and creating reg files Dahlstrom, Roger wrote: ... Basically what I'm saying

Re: [python-win32] Walking the registry and creating reg files

2008-12-05 Thread Tim Roberts
Dahlstrom, Roger wrote: Well, like I said, I've never done it in Python, and this is going back a bit, so some things might be different, but I'm not talking about RegSaveKey or RegRestoreKey, I'm talking about using EnumKey and CreateKey. As far as I can remember, I didn't have any

Re: [python-win32] Walking the registry and creating reg files

2008-12-05 Thread Dahlstrom, Roger
-win32] Walking the registry and creating reg files Dahlstrom, Roger wrote: Well, like I said, I've never done it in Python, and this is going back a bit, so some things might be different, but I'm not talking about RegSaveKey or RegRestoreKey, I'm talking about using EnumKey and CreateKey. As far

Re: [python-win32] Walking the registry and creating reg files

2008-12-05 Thread Tim Roberts
Dahlstrom, Roger wrote: I think my mistake was assuming that reading the values was going to be sufficient. For all the purposes I've used, it was. For my edification, what's the functional difference? I mean, what I was doing was able to walk the registry, extract information, save it

Re: [python-win32] Walking the registry and creating reg files

2008-12-05 Thread Dahlstrom, Roger
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Friday, December 05, 2008 5:30 PM To: Python-Win32 List Subject: Re: [python-win32] Walking the registry and creating reg files Dahlstrom, Roger wrote: I think my mistake was assuming that reading the values was going

Re: [python-win32] Walking the registry and creating reg files

2008-12-04 Thread Tim Roberts
Mike Driscoll wrote: We're doing what amounts to a registry session audit here at work, so I need to walk a specific set of subfolders in our registry and get the contents thereof. The subfolders will vary from user to user. I found Tim Golden's excellent registry walking script on his

Re: [python-win32] Walking the registry and creating reg files

2008-12-04 Thread Alec Bennett
] Subject: Re: [python-win32] Walking the registry and creating reg files To: Python-Win32 List python-win32@python.org Date: Thursday, December 4, 2008, 6:13 PM Mike Driscoll wrote: We're doing what amounts to a registry session audit here at work, so I need to walk a specific set

Re: [python-win32] Walking the registry and creating reg files

2008-12-04 Thread Tim Roberts
Alec Bennett wrote: Reg files are just text files, so why not just create the text files yourself? Here's a reg file for example: REGEDIT4 [HKEY_LOCAL_MACHINE\SOFTWARE\Gizmoware\Whatever] Name=Yada Number=something Because Mike said he needed to extract sections from the existing