Win32 Registry Manipulation w/PythonWin?

Tim Daneliuk tundra at tundraware.com
Mon Jul 29 03:10:02 EDT 2002


Tim Daneliuk wrote:
> Tim Daneliuk wrote:

> This is where I run into a problem.  I am having a dickens of a time 
> figuring
> out how to remove just a single value within a key.  I cannot seem to find
> the magic that allows editing of the lowest level leaf nodes of a registry
> entry on an individual basis.  If I try to treat them as *key* Python 
> grumbles
> something to the effect that it cannot find that file at the OpenKey call.
> If I try to use DeleteValue, I get permission denied even though I am 
> running
> with Administrator privileges on a Win2K machine.


Never Mind ;-(  I just figured out that I was not setting the access
control properly when I opened the key which is what was causing the
access denied error.

On a related note, where in the docs are values for KEY_READ, KEY_WRITE,
and so forth, defined?  I cannot seem to find these...


-- 
------------------------------------------------------------------------------
Tim Daneliuk
tundra at tundraware.com




More information about the Python-list mailing list