Paul <paule...@gmail.com> added the comment:

Eryk:

The whoami process check output shows that my account is in 
BUILTIN\Administrators, which proves that the account I am logged in as local 
Administrator permissions.

As for the OpenKey method, it fails with [WinError 5] Access denied, exactly 
the same way my example also failed, and the reason why these consistently fail 
is because they are pointed to HKLM, essentially replicating the issue that I 
pointed out.  I have also tried different combinations of security flags 
(winreg.KEY_ALL_ACCESS, winreg.KEY_WOW64_64KEY, etc.), but keep getting the 
same results.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue44046>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to