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

Dahlstrom, Roger rdahlstrom at directedge.com
Fri Dec 5 19:55:59 CET 2008


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 for later, modify it, then re-insert it in to the registry.  What's different with saving and restoring, or is it just the neater API?

-----Original Message-----
From: python-win32-bounces+rdahlstrom=directedge.com at python.org [mailto:python-win32-bounces+rdahlstrom=directedge.com at python.org] On Behalf Of Tim Roberts
Sent: Friday, December 05, 2008 1:43 PM
To: 'Python-Win32 List'
Subject: Re: [python-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 as I can remember, I didn't have any special permissions for that.
>

You are quite correct.  It's only those two specific functions
(RegSaveKey and RegRestoreKey) that need special privileges.  It just so
happens that's what Tim G was talking about.

So, we're all in violent agreement...

--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.

_______________________________________________
python-win32 mailing list
python-win32 at python.org
http://mail.python.org/mailman/listinfo/python-win32


DISCLAIMER:
This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and
may contain legally privileged and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and 
any attachments thereto, is strictly prohibited. If you have received this in error, please immediately notify 
me and permanently delete the original and any copy of any e-mail and any printout thereof. 
E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept 
liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission.

NOTICE REGARDING PRIVACY AND CONFIDENTIALITY
Direct Edge ECN LLC may, at its discretion, monitor and review the content of all e-mail communications.

www.directedge.com


More information about the python-win32 mailing list