[issue44046] When writing to the Registry using winreg, it currently allows you to write ONLY to HKEY_CURRENT_USERS.

Shreyan Avigyan report at bugs.python.org
Thu May 6 02:16:29 EDT 2021


Shreyan Avigyan <shreyan.avigyan at gmail.com> added the comment:

Ok. I tested it. And I'm now completely sure that you're not running in Administrator mode. I'll give you the steps to solve this problem but first of all where are you running this code from, IDLE, Python or any other IDE? How to run in admin mode depends on where are you running your code from.

(You can also try Eryk's method. The method I used is a temporary workaround while Eryk's is the correct one.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44046>
_______________________________________


More information about the Python-bugs-list mailing list