SOLVED: _winreg.DeleteValue - Permission denied ...

Harald Schneider h_schneider at marketmix.com
Sun Sep 29 08:20:50 EDT 2002


Thanks a lot Dave! It was right before my eyes ...

Bye,
Harald

> Perhaps you need to open the registry key with write permissions, e.g.:
>
> key = _winreg.OpenKey(_winreg.HKEY_LOCAL_MACHINE, \
>                       'SOFTWARE\\TEST\\SUBTEST', \
>                       0, _winreg.KEY_ALL_ACCESS)
>
> (Also note that you should use double backslashes in your strings or use
> raw strings)
>
> HTH,
> Dave
>
>





More information about the Python-list mailing list